FlutterOSC

Project Url: yubo725/FlutterOSC
Introduction: 基于 Google Flutter 的开源中国客户端,支持 Android 和 iOS。
More: Author   ReportBugs   
Tags:

注意!项目不再维护,仅供 Flutter 初学者学习交流,且该项目使用的 Flutter 版本和 Dart 版本都较老,某些语法可能已经过时。

Android 扫码下载 APK

  • 请使用手机浏览器扫码下载,不要使用微信或者 qq 扫码

功能

  • [x] 登录(使用 osc 账号)
  • [x] 查看资讯(未登录即可查看)
  • [x] 查看、回复、发表、评论动弹(需要登录)
  • [x] 动弹小黑屋(需要登录)
  • [x] “发现”部分的功能基本上都是用 H5 实现
  • [x] 资讯列表、动弹列表、评论列表支持下拉刷新或分页加载
  • [x] 支持主题切换(入口在侧滑菜单-设置-切换主题)
  • [ ] 动弹中的图片预览暂未实现
  • [ ] 摇一摇、“我的”页面功能暂时没完成

说明

  1. 由于开源中国的 openapi 只提供了基于 webview 或浏览器的 oauth 认证方式,故该项目登录界面使用 webview 加载 OSChina 三方认证页面,请放心使用开源中国的账号和密码登录目前该项目支持原生登录页面和 WebView 方式登录
  2. 受开源中国 openapi 的限制,获取动弹数据需要登录,由于 openapi 的资讯接口提供的数据比较简单,故资讯部分采用 python 爬取的网页数据
  3. 本项目纯属个人兴趣爱好而写,不是开源中国官方版本,源代码仅供学习交流,实际使用请下载安装开源中国官方 APP

截图

iOS

Android

LICENSE

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.

Apps
About Me
GitHub: Trinea
Facebook: Dev Tools