- 基于Google Flutter的开源中国客户端,支持Android和iOS。
- 关于Google Flutter
- 登录(使用osc账号)
- 查看资讯(未登录即可查看)
- 查看、回复、发表、评论动弹(需要登录)
- 动弹小黑屋(需要登录)
- “发现”部分的功能基本上都是用H5实现
- 资讯列表、动弹列表、评论列表支持下拉刷新或分页加载
- 支持主题切换(入口在侧滑菜单-设置-切换主题)
- 动弹中的图片预览暂未实现
- 摇一摇、“我的”页面功能暂时没完成
由于开源中国的openapi只提供了基于webview或浏览器的oauth认证方式,故该项目登录界面使用webview加载OSChina三方认证页面,请放心使用开源中国的账号和密码登录目前该项目支持原生登录页面和WebView方式登录- 受开源中国openapi的限制,获取动弹数据需要登录,由于openapi的资讯接口提供的数据比较简单,故资讯部分采用python爬取的网页数据
- 本项目纯属个人兴趣爱好而写,不是开源中国官方版本,源代码仅供学习交流,实际使用请下载安装开源中国官方APP
The MIT License (MIT)
Copyright (c) 2018 yubo_725
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.