|
1 | | -# gsy_github_app_flutter |
| 1 | + |
2 | 2 |
|
3 | | -Github Application |
| 3 | +## 一款跨平台的开源Github客户端App,提供更丰富的功能,更好体验,旨在更好的日常管理和维护个人Github,提供更好更方便的驾车体验~~Σ( ̄。 ̄ノ)ノ。 |
4 | 4 |
|
5 | | -## Getting Started |
| 5 | +### 同款Weex版本开发中 ( https://github.com/CarGuo/GSYGithubAppFlutterWeex ) |
6 | 6 |
|
7 | | -For help getting started with Flutter, view our online |
8 | | -[documentation](https://flutter.io/). |
| 7 | +``` |
| 8 | +基于React Native开发,适配Android与IOS。 |
9 | 9 |
|
| 10 | +项目的目的是为方便个人日常维护和查阅Github,更好的沉浸于码友之间的互基,Github就是你的家。 |
10 | 11 |
|
| 12 | +项目同时适合react native的练手学习,覆盖了各种框架的使用,与原生的交互等。 |
11 | 13 |
|
12 | | -准备:网络请求库使用dio、flutter-redux、sqflite、css_colors |
| 14 | +随着项目的使用情况和反馈,将时不时根据更新并完善用户体验与功能优化吗,欢迎提出问题。 |
| 15 | +``` |
| 16 | +----- |
13 | 17 |
|
| 18 | +[](https://github.com/CarGuo/GSYGithubAppFlutter/stargazers) |
| 19 | +[](https://github.com/CarGuo/GSYGithubAppFlutter/network) |
| 20 | +[](https://github.com/CarGuo/GSYGithubAppFlutter/issues) |
| 21 | +[](https://github.com/CarGuo/GSYGithubAppFlutter/blob/master/LICENSE) |
14 | 22 |
|
| 23 | +### 编译运行流程 |
15 | 24 |
|
16 | | -在哪里存储字符串? 如何存储不同的语言 |
17 | | -目前,最好的做法是创建一个名为Strings的类 |
18 | | -class Strings{ |
19 | | - static String welcomeMessage = "Welcome To Flutter"; |
20 | | -} |
21 | | -然后在你的代码中,你可以像访问你的字符串一样:new Text(Strings.welcomeMessage) |
| 25 | +1、配置好Flutter开发环境,可参阅 [【搭建环境】](https://flutterchina.club) |
22 | 26 |
|
| 27 | +2、clone代码,执行`Packages get`安装第三方宝 |
23 | 28 |
|
24 | | -welcome -> login |
| 29 | +3、你需要自己在lib/common/config/目录下 创建一个`ignoreConfig.dart`文件,然后输入你申请的Github client_id 和 client_secret。 |
25 | 30 |
|
26 | | -生成序列化模板 |
27 | | -flutter packages pub run build_runner build |
| 31 | + class NetConfig { |
| 32 | + static const CLIENT_ID = "xxxx"; |
| 33 | + |
| 34 | + static const CLIENT_SECRET = "xxxxxxxxxxx"; |
| 35 | + } |
28 | 36 |
|
| 37 | + |
| 38 | + [ 注册 Github APP 传送门](https://github.com/settings/applications/new),当然,前提是你现有一个github账号(~ ̄▽ ̄)~ 。 |
29 | 39 |
|
30 | | -### 配合AutomaticKeepAliveClientMixin可以keep住tab |
| 40 | +4、运行 |
31 | 41 |
|
32 | | -### 如何主动刷新refresh,如何设置appbar上的leading和bottom,如何设置tabbar的live |
33 | 42 |
|
34 | | -https://github.com/flutter/flutter/issues/19030 没有webview,残念 |
| 43 | +### 下载 |
35 | 44 |
|
36 | | -图片浏览 |
| 45 | +#### Apk下载链接:未发布 |
37 | 46 |
|
38 | | -搜索 |
| 47 | +#### Apk二维码 |
39 | 48 |
|
40 | | -commonList的过滤 |
| 49 | +>未发布 |
41 | 50 |
|
42 | | -主页drawer:关于、个人信息 |
43 | 51 |
|
44 | | -动态页面 |
| 52 | +### 示例图片 |
| 53 | + |
| 54 | +<img src="https://github.com/CarGuo/GSYGithubAppFlutter/blob/master/1.jpg" width="426px"/> |
| 55 | + |
| 56 | +<img src="https://github.com/CarGuo/GSYGithubAppFlutter/blob/master/2.jpg" width="426px"/> |
| 57 | + |
| 58 | +<img src="https://github.com/CarGuo/GSYGithubAppFlutter/blob/master/3.jpg" width="426px"/> |
| 59 | + |
| 60 | + |
| 61 | +### 第三方框架 |
| 62 | + |
| 63 | + |
| 64 | +* dio(网络框架) |
| 65 | +* shared_preferences(本地数据缓存) |
| 66 | +* fluttertoast(toast) |
| 67 | +* flutter_redux(redux) |
| 68 | +* device_info(设备信息) |
| 69 | +* connectivity(网络链接) |
| 70 | +* flutter_markdown:(markdown解析) |
| 71 | +* json_annotation(json模板) |
| 72 | +* json_serializable(json模板) |
| 73 | +* iconfont(字库图标) |
| 74 | + |
| 75 | + |
| 76 | +### 进行中: |
| 77 | + |
| 78 | +* IOS未测试 |
| 79 | +* 主页drawer:关于、个人信息 |
| 80 | +* 仓库的: 动态的背景头像|版本|tag| 浏览器打开|下载、复制克隆间接|分享 |
| 81 | +* commonList的过滤 |
| 82 | + |
| 83 | +### 常见问题 |
| 84 | + |
| 85 | +>待发布 |
| 86 | +
|
| 87 | + |
| 88 | +<img src="https://github.com/CarGuo/GSYGithubAppFlutter/blob/master/thanks.jpg" width="426px"/> |
| 89 | + |
| 90 | + |
| 91 | +### 相关文章 |
| 92 | + |
| 93 | +>待发布 |
| 94 | +
|
| 95 | + |
| 96 | +### LICENSE |
| 97 | +``` |
| 98 | +CarGuo/GSYGithubAppFlutter is licensed under the |
| 99 | +Apache License 2.0 |
| 100 | +
|
| 101 | +A permissive license whose main conditions require preservation of copyright and license notices. |
| 102 | +Contributors provide an express grant of patent rights. |
| 103 | +Licensed works, modifications, and larger works may be distributed under different terms and without source code. |
| 104 | +``` |
| 105 | + |
45 | 106 |
|
46 | 107 |
|
47 | | -仓库的: |
48 | | - 动态的背景头像 |
49 | | - 版本、tag |
50 | | - 浏览器打开 |
51 | | - 下载、复制克隆间接 |
52 | | - 分享 |
53 | | - |
54 | | -个人页面的: |
55 | | - 关注 |
56 | | - 组织 |
57 | | - 头像浏览 |
58 | 108 |
|
0 commit comments