CarGuo/gsy_github_app_flutter
Flutter 超完整的开源项目,功能丰富,适合学习和日常使用。GSYGithubApp系列的优势:我们目前已经拥有Flutter、Weex、ReactNative、kotlin 四个版本。 功能齐全,项目框架内技术涉及面广,完成度高,持续维护,配套文章,适合全面学习,对比参考。跨平台的开源Github客户端App,更好的体验,更丰富的功能,旨在更好的日常管理和维护个人Github,提供更好更方便的驾车体验Σ( ̄。 ̄ノ)ノ。同款Weex版本 : https://github.com/CarGuo/GSYGithubAppWeex 、同款React Native版本 : https://github.com/CarGuo/GSYGithubApp 、原生 kotlin 版本 https://github.com/CarGuo/GSYGithubAppKotlin
go to github downloadEnglish Readme
一款跨平台的开源Github客户端App,提供更丰富的功能,更好体验,旨在更好的日常管理和维护个人Github,提供更好更方便的驾车体验~~Σ( ̄。 ̄ノ)ノ。项目涉及各种常用控件、网络、数据库、设计模式、主题切换、多语言、Redux等。在开发学习过程中,提供丰富的同款对比:
-
简单 Flutter 独立学习项目 ( https://github.com/CarGuo/gsy_flutter_demo )
-
同款Weex版 ( https://github.com/CarGuo/GSYGithubAppWeex )
-
同款ReactNative版 ( https://github.com/CarGuo/GSYGithubApp )
-
同款Android Kotlin版本( https://github.com/CarGuo/GSYGithubAppKotlin )
相关文章
-
GSY新书:《Flutter开发实战详解》上架啦:京东 / 当当 / 电子版京东读书和Kindle
公众号 | 掘金 | 知乎 | CSDN | 简书 |
---|---|---|---|---|
GSYTech | 点我 | 点我 | 点我 | 点我 |
基于Flutter开发,适配 Android 与 iOS。
项目的目的是为方便个人日常维护和查阅Github,更好的沉浸于码友之间的互基,Github就是你的家。
项目同时适合Flutter的练手学习,覆盖了各种框架的使用,与原生的交互等。
随着项目的使用情况和反馈,将时不时根据更新并完善用户体验与功能优化吗,欢迎提出问题。
须知
因为是偏学习项目,所以项目里会有各式各样的模式、库、UI等,请不要介意
1、 TrendPage : 目前采用纯 bloc 的 rxdart(stream) + streamBuilder 模式效果
2、 Scoped Model:目前在 RepositoryDetailPage 出使用
3、 Redux:目前在 MyPage ,UserInfo、Theme、Localization 等上面使用。
4、 LoginPage:另类的 BLoC 模式。
5、 ReposDao.getRepositoryDetailDao 使用 graphQL
列表显示有多个,其中:
1、gsy_pull_load_widget.dart.dart
common_list_page.dart 等使用,搭配 gsy_list_state.dart 使用
2、gsy_pull_new_load_widget.dart.dart
dynamic_page.dart 等使用,搭配 gsy_bloc_list_state.dart 使用
有 iOS 和 Android 两种风格下拉风格支持
3、gsy_nested_pull_load_widget.dart
trend_page.dart 等使用,配置sliver 效果
编译运行流程
1、配置好Flutter开发环境(目前Flutter SDK 版本 3.19),可参阅 【搭建环境】。
2、clone代码,执行Packages get
安装第三方包。(因为某些不可抗力原因,国内可能需要设置代理: 代理环境变量)
3、重点:你需要自己在lib/common/config/目录下 创建一个
ignoreConfig.dart
文件,然后输入你申请的Github client_id 和 client_secret。
class NetConfig {
static const CLIENT_ID = "xxxx";
static const CLIENT_SECRET = "xxxxxxxxxxx";
}
注册 Github APP 传送门,当然,前提是你现有一个github账号(~ ̄▽ ̄)~ 。
4、如果使用安全登录(授权登录),那么在上述注册 Github App 的 Authorization callback URL 一栏必须填入 gsygithubapp://authed
![](http://img.cdn.guoshuyu.cn/register0.png)
![](http://img.cdn.guoshuyu.cn/register1.jpg)
5、运行之前请注意下
1、本地 Flutter SDK 版本 3.19 ; 2、是否执行过
flutter pub get
;3、 网络等问题参考: 如果出现登陆失败或者请求失败
下载
Apk下载链接: Apk下载链接
类型 | 二维码 |
---|---|
Apk二维码 | ![]() |
iOS暂无下载 |
项目结构图
常见问题
-
如果包同步失败,一般都是因为没设置包代理,可以参考:环境变量问题
示例图片
![](http://img.cdn.guoshuyu.cn/showapp1.jpg)
![](http://img.cdn.guoshuyu.cn/showapp2.jpg)
![](http://img.cdn.guoshuyu.cn/showapp3.jpg)
第三方框架
当前 Flutter SDK 版本 3.19
库 | 功能 |
---|---|
dio | 网络框架 |
shared_preferences | 本地数据缓存 |
fluttertoast | toast |
flutter_redux | redux |
device_info | 设备信息 |
connectivity | 网络链接 |
flutter_markdown | markdown解析 |
json_annotation | json模板 |
json_serializable | json模板 |
url_launcher | 启动外部浏览器 |
iconfont | 字库图标 |
share | 系统分享 |
flutter_spinkit | 加载框样式 |
get_version | 版本信息 |
flutter_webview_plugin | 全屏的webview |
sqflite | 数据库 |
flutter_statusbar | 状态栏 |
flutter_svg | svg |
photo_view | 图片预览 |
flutter_slidable | 侧滑 |
flutter_cache_manager | 缓存管理 |
path_provider | 本地路径 |
permission_handler | 权限 |
scope_model | 状态管理和共享 |
lottie | svg动画 |
flare | 路径动画 |
Star History Chart
LICENSE
CarGuo/GSYGithubAppFlutter is licensed under the
Apache License 2.0
A permissive license whose main conditions require preservation of copyright and license notices.
Contributors provide an express grant of patent rights.
Licensed works, modifications, and larger works may be distributed under different terms and without source code.
![](/images/banner-woo.jpg)
excellent projects related to CarGuo/gsy_github_app_flutter recommend downloading
AppFlowy
47859
AppFlowy is an open-source alternative to Notion. You are in charge of your data and customizations. Built with Flutter and Rust.
localsend
33797
An open-source cross-platform alternative to AirDrop
spotube
23772
🎧 Open source Spotify client that doesn't require Premium nor uses Electron! Available for both desktop & mobile!
revanced-manager
15035
💊 Application to use ReVanced on Android
gsy_github_app_flutter
14559
Flutter 超完整的开源项目,功能丰富,适合学习和日常使用。GSYGithubApp系列的优势:我们目前已经拥有Flutter、Weex、ReactNative、kotlin 四个版本。 功能齐全,项目框架内技术涉及面广,完成度高,持续维护,配套文章,适合全面学习,对比参考。跨平台的开源Github客户端App,更好的体验,更丰富的功能,旨在更好的日常管理和维护个人Github,提供更好更方便的驾车体验Σ( ̄。 ̄ノ)ノ。同款Weex版本 : https://github.com/CarGuo/GSYGithubAppWeex 、同款React Native版本 : https://github.com/CarGuo/GSYGithubApp 、原生 kotlin 版本 https://github.com/CarGuo/GSYGithubAppKotlin
dio
12249
A powerful HTTP client for Dart and Flutter, which supports global settings, Interceptors, FormData, aborting and canceling a request, files uploading and downloading, requests timeout, custom adapters, etc.
gopeed
11832
A modern download manager that supports all platforms. Built with Golang and Flutter.
bloc
11441
A predictable state management library that helps implement the BLoC design pattern
getx
9899
Open screens/snackbars/dialogs/bottomSheets without context, manage states and inject dependencies easily with Get.
flame
8846
A Flutter based game engine.
flutter_deer
7595
🦌 Flutter 练习项目(包括集成测试、可访问性测试)。内含完整UI设计图,更贴近真实项目的练习。Flutter practice project (including integration testing and accessibility testing). Contains complete UI design drawings for a more realistic practice project.
fish-redux
7343
An assembled flutter application framework.
ente
6686
Fully open source, End to End Encrypted alternative to Google Photos and Apple Photos
fl_chart
6451
FL Chart is a highly customizable Flutter chart library that supports Line Chart, Bar Chart, Pie Chart, Scatter Chart, and Radar Chart.
pixez-flutter
6360
一个支持免代理直连及查看动图的第三方Pixiv flutter客户端
Flutter-Responsive-Admin-Panel-or-Dashboard
6355
Responsive Admin Panel or Dashboard using Flutter
aidea
6021
AIdea 是一款支持 GPT 以及国产大语言模型通义千问、文心一言等,支持 Stable Diffusion 文生图、图生图、 SDXL1.0、超分辨率、图片上色的全能型 APP。
riverpod
5828
A reactive caching and data-binding framework. Riverpod makes working with asynchronous code a breeze.
pikapika
5463
美观易用且无广告的漫画和游戏客户端,同时支持MacOS,Windows,Android,iOS。
provider
5029
InheritedWidgets, but simple