Skip to content

MengAndJie/GithubClient

 
 

Repository files navigation

ZLGithubClient

ZLGithub TestFlight language CodeSize license commit stars

基于 Github REST V3 APIGithub GraphQL V4 API 开发的Github iOS客户端

安装

基本功能

  1. 搜索开源仓库和开发者
  2. 支持浏览每日/周/月开源仓库和开发者趋势榜单
  3. 支持浏览开源仓库的基本信息,包括code,commits,issues,pull requests等等
  4. 支持fork,watch,star开源仓库
  5. 支持浏览登录用户的公开及私有仓库
  6. 浏览开发者的基本信息,follow开发者
  7. 支持查看follow的开发者和watch的开源repository的最新动态
  8. 简单查阅通知
  9. 在工作台固定收藏的仓库
  10. 在工作台查阅登录用户的issue和pull request

Github OAuth login and Access Token login

Workboard

Notification

Trending

Profile

Search

User Info

Repository Info

View markdown and code

开始项目

  1. 准备开发环境

    • xcode
    • ruby
    • git
  2. 安装bundle

    gem install bundle 
  3. 下载项目源码

    git clone https://github.com/ExistOrLive/GithubClient.git
  4. 切换至 ZLGithubClient/ZLGithubClient 目录下,执行 bundle install,安装依赖的ruby工具,如 cocoapodsfastlane

    cd ZLGithubClient/ZLGithubClient
    
    bundle install 
  5. 执行 bundle exec pod install

    bundle exec pod install 
  6. 在使用源码前,需要 Github 的账户下创建一个 OAuth Application,具体请参考官方文档 Creating an OAuth App; 创建 OAuth Application 后,获得Client IDClient Secret

  7. ZLGithubClient 使用 BuglyFirebase 作为分析工具,因此需要创建对应应用并获取 Bugly App IdGoogleService-Info.plist

  8. GoogleService-Info.plist 拷贝到项目对应目录下;创建 ZLGithubAppKey.h 文件,提供宏定义 ,并拷贝到对应的目录下

  9. 构建工程

常见问题解答

常见问题解答

贡献者 ✨

Thanks goes to these wonderful people (emoji key):


朱猛

💻

longxiaochi

💻

ZXHubs

💻

This project follows the all-contributors specification. Contributions of any kind welcome!

结语

普通的代码千篇一律,优秀的代码万里挑一。开源就如星星之火正在燎原,本项目是开源世界中小小一隅,如果有感兴趣的开发者欢迎加入, 若有意请联系[email protected].

Packages

No packages published

Languages

  • Swift 88.6%
  • Objective-C 5.3%
  • HTML 3.6%
  • Ruby 1.0%
  • CSS 0.9%
  • Python 0.4%
  • Shell 0.2%