Git Product home page Git Product logo

carguo / gsygithubapp Goto Github PK

View Code? Open in Web Editor NEW
2.4K 63.0 426.0 8.2 MB

超完整的React Native项目,功能丰富,适合学习和日常使用。GSYGithubApp系列的优势:我们目前已经拥有Flutter、Weex、ReactNative、kotlin 四个版本。 功能齐全,项目框架内技术涉及面广,完成度高,配套文章,适合全面学习,对比参考。开源Github客户端App,更好的体验,更丰富的功能,旨在更好的日常管理和维护个人Github,提供更好更方便的驾车体验Σ( ̄。 ̄ノ)ノ。同款Weex版本 : https://github.com/CarGuo/GSYGithubAppWeex 、同款Flutter版本 : https://github.com/CarGuo/GSYGithubAppFlutter 、原生 kotlin 版本 https://github.com/CarGuo/GSYGithubAppKotlin

Home Page: https://juejin.im/user/582aca2ba22b9d006b59ae68/posts

License: Apache License 2.0

JavaScript 98.15% Java 0.48% Objective-C 0.72% C 0.02% Ruby 0.50% Swift 0.03% Starlark 0.10%
react-native github weex

gsygithubapp's Introduction

一款跨平台的开源Github客户端App,提供更丰富的功能,更好体验,旨在更好的日常管理和维护个人Github,提供更好更方便的驾车体验~~Σ( ̄。 ̄ノ)ノ。在开发学习过程中,提供丰富的同款对比:

基于React Native开发,适配Android与IOS。

项目的目的是为方便个人日常维护和查阅Github,更好的沉浸于码友之间的互基,Github就是你的家。

项目同时适合react native的练手学习,覆盖了各种框架的使用,与原生的交互等。

随着项目的使用情况和反馈,将时不时根据更新并完善用户体验与功能优化吗,欢迎提出问题。

GitHub stars GitHub forks GitHub issues GitHub license

因升级到RN 0.61.3 版本,整个工程模板被重构。

公众号 掘金 知乎 CSDN 简书
GSYTech 点我 点我 点我 点我

公众号

编译运行流程

1、配置好react native开发环境,可参阅 【搭建环境】 | 【React Native开发(一、入门)】

2、clone代码,根目录下执行npm install安装node_modules(太慢建议科学上网或使用淘宝镜像)

3、重点:你需要自己在app/config目录下 创建一个ignoreConfig.js文件,然后输入你申请的Github client_id 和 client_secret。

 export const CLIENT_ID = "xxxx";

 export const CLIENT_SECRET = "xxxx";


 //如果需要上传七牛
 export const ACCESS_KEY = "xxxx";
 export const SECRET_KEY = "xxx";
 export const QN_HOST = "xxxx";
 export const SCOPE = "xxxx";

  注册 Github APP 传送门,当然,前提是你现有一个github账号(~ ̄▽ ̄)~ 。

3、如果使用安全登录(授权登录),那么在上述注册 Github App 的 Authorization callback URL 一栏必须填入 gsygithubapp://authed

4、打开xcode运行或执行react-native run-android

5、重点:请使用github用户名登录,不是邮箱。

下载

Apk二维码

类型 二维码
Apk二维码
IOS暂无下载 残念(╯‵□′)╯︵┻━┻,第三方太贵,没企业证书。

已有ipa,不过不是企业ipa,需要udid,所以目前ios自用╮(╯▽╰)╭

相关文章

示例图片

第三方框架

常见问题

LICENSE

CarGuo/GSYGithubAPP 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.

gsygithubapp's People

Contributors

carguo avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

gsygithubapp's Issues

[Packager] "type":"InternalError","message":"react-packager has encountered an internal error

你好,我运行该项目的时候发生了如下的错误。
这是 npm start的错误

error: bundling failed: Error: While resolving module `react-native-vector-icons/FontAwesome`, the Haste package `react-native-vector-icons` was found. However the module `FontAwesome` could not be found within the package. Indeed, none of these files exist:

  * `/Users/liweijie/dev/webstrome/GSYGithubAPP/node_modules/react-native/local-cli/core/__fixtures__/files/FontAwesome(.native||.android.js|.native.js|.js|.android.json|.native.json|.json)`
  * `/Users/liweijie/dev/webstrome/GSYGithubAPP/node_modules/react-native/local-cli/core/__fixtures__/files/FontAwesome/index(.native||.android.js|.native.js|.js|.android.json|.native.json|.json)`
    at resolveHasteName (/Users/liweijie/dev/webstrome/GSYGithubAPP/node_modules/metro/src/node-haste/DependencyGraph/ModuleResolution.js:385:9)
    at ModuleResolver._resolveDependency (/Users/liweijie/dev/webstrome/GSYGithubAPP/node_modules/metro/src/node-haste/DependencyGraph/ModuleResolution.js:315:37)
    at ModuleResolver.resolveDependency (/Users/liweijie/dev/webstrome/GSYGithubAPP/node_modules/metro/src/node-haste/DependencyGraph/ModuleResolution.js:311:877)
    at ResolutionRequest.resolveDependency (/Users/liweijie/dev/webstrome/GSYGithubAPP/node_modules/metro/src/node-haste/DependencyGraph/ResolutionRequest.js:96:16)
    at DependencyGraph.resolveDependency (/Users/liweijie/dev/webstrome/GSYGithubAPP/node_modules/metro/src/node-haste/DependencyGraph.js:269:4352)
    at /Users/liweijie/dev/webstrome/GSYGithubAPP/node_modules/metro/src/DeltaBundler/traverseDependencies.js:201:36
    at Generator.next (<anonymous>)
    at step (/Users/liweijie/dev/webstrome/GSYGithubAPP/node_modules/metro/src/DeltaBundler/traverseDependencies.js:256:306)
    at /Users/liweijie/dev/webstrome/GSYGithubAPP/node_modules/metro/src/DeltaBundler/traverseDependencies.js:256:536
    at /Users/liweijie/dev/webstrome/GSYGithubAPP/node_modules/metro/src/DeltaBundler/traverseDependencies.js:256:217
 BUNDLE  [android, dev] ./index.js ▓▓▓▓▓▓░░░░░░░░░░ 42.1% (547/843), failed.

8081端口错误

这是虚拟机的error
虚拟机

相关的IP已经设置了,github的对应的token和secret也写入文件中了。
我使用的是react-native-0.52.2版本,不知道是否与之有关系。react版本是16.2.0。
您的版本是比我这个稍低。
现在情况就是一直停留在首页无法进行下一步,好像是无法拉取bundle。
初学RN,谢谢指教。

npm start 问题

####操作步骤

  1. yarn -> 安装成功
  2. react-native run-ios (失败)
  3. 打开 XCode 运行oc项目,可以安装IPA,但是无法加载所有js资源 (失败)
  4. 运行 npm start (失败)
    12356

关于登陆

配置好之后,登陆的账号密码是多少?我试了配置的账号和密码,还是登不上去。

无法登录

你好~请问一下,开启二次验证后不能登录吗?可以怎么解决呢?

编译错误

如图
http://p6v1w91z5.bkt.clouddn.com/1111.png
按readme的方法,也在~/.rncache里加了第三方编译库

登录返回422

登录错误,错误提示如下
"就是不知道是什么错误···"

btw 账号密码没问题

iOS编译错误

如题和图 http://opq90ineu.bkt.clouddn.com/111.png

  • DEST=/Users/macintosh/Library/Developer/Xcode/DerivedData/GSYGithubAPP-chscgatpmvnxkzcyxioglgauycnc/Build/Products/Release-iphoneos/GSYGithubAPP.app
  • [[ Release = \D\e\b\u\g ]]
  • BUNDLE_FILE=/Users/macintosh/Library/Developer/Xcode/DerivedData/GSYGithubAPP-chscgatpmvnxkzcyxioglgauycnc/Build/Products/Release-iphoneos/GSYGithubAPP.app/main.jsbundle
  • node '/Users/macintosh/react native/RNtest/GSYGithubAPP-master/node_modules/react-native/local-cli/cli.js' bundle --entry-file index.js --platform ios --dev false --reset-cache --bundle-output /Users/macintosh/Library/Developer/Xcode/DerivedData/GSYGithubAPP-chscgatpmvnxkzcyxioglgauycnc/Build/Products/Release-iphoneos/GSYGithubAPP.app/main.jsbundle --assets-dest /Users/macintosh/Library/Developer/Xcode/DerivedData/GSYGithubAPP-chscgatpmvnxkzcyxioglgauycnc/Build/Products/Release-iphoneos/GSYGithubAPP.app
    Scanning folders for symlinks in /Users/macintosh/react native/RNtest/GSYGithubAPP-master/node_modules (10ms)
    Scanning folders for symlinks in /Users/macintosh/react native/RNtest/GSYGithubAPP-master/node_modules (81ms)

Unexpected token , in JSON at position 1486

  • [[ false != true ]]
  • [[ ! -f /Users/macintosh/Library/Developer/Xcode/DerivedData/GSYGithubAPP-chscgatpmvnxkzcyxioglgauycnc/Build/Products/Release-iphoneos/GSYGithubAPP.app/main.jsbundle ]]
  • echo 'error: File /Users/macintosh/Library/Developer/Xcode/DerivedData/GSYGithubAPP-chscgatpmvnxkzcyxioglgauycnc/Build/Products/Release-iphoneos/GSYGithubAPP.app/main.jsbundle does not exist. This must be a bug with'
    error: File /Users/macintosh/Library/Developer/Xcode/DerivedData/GSYGithubAPP-chscgatpmvnxkzcyxioglgauycnc/Build/Products/Release-iphoneos/GSYGithubAPP.app/main.jsbundle does not exist. This must be a bug with
  • echo 'React Native, please report it here: https://github.com/facebook/react-native/issues'
    React Native, please report it here: https://github.com/facebook/react-native/issues
  • exit 2

问一个状态管理的问题

我看这个项目里有一部分状态是用redux来管理,有一部分状态又是直接在组件里setState,想问一下这个有什么讲究吗,什么时候用redux来管理状态,什么时候可以直接setState,谢谢~

run ios simulator

Failed to load bundle(http://localhost:8081/index.bundle?platform=ios&dev=true&minify=false) with error:(The resource /Users/liuhuajian/Downloads/GSYGithubAPP-2.0.0/node_modules/[email protected]@react-native/index.js was not found. (null))

__38-[RCTCxxBridge loadSource:onProgress:]_block_invoke.248
RCTCxxBridge.mm:429
___ZL36attemptAsynchronousLoadOfBundleAtURLP5NSURLU13block_pointerFvP18RCTLoadingProgressEU13block_pointerFvP7NSErrorP9RCTSourceE_block_invoke.118
__80-[RCTMultipartDataTask URLSession:streamTask:didBecomeInputStream:outputStream:]_block_invoke
-[RCTMultipartStreamReader emitChunk:headers:callback:done:]
-[RCTMultipartStreamReader readAllPartsWithCompletionCallback:progressCallback:]
-[RCTMultipartDataTask URLSession:streamTask:didBecomeInputStream:outputStream:]
__88-[NSURLSession delegate_streamTask:didBecomeInputStream:outputStream:completionHandler:]_block_invoke
NSBLOCKOPERATION_IS_CALLING_OUT_TO_A_BLOCK
-[NSBlockOperation main]
-[__NSOperationInternal _start:]
__NSOQSchedule_f
_dispatch_call_block_and_release
_dispatch_client_callout
_dispatch_continuation_pop
_dispatch_async_redirect_invoke
_dispatch_root_queue_drain
_dispatch_worker_thread2
_pthread_wqthread
start_wqthread

当我运行iOS模拟器是 , 为什么会出现这样的情况?

npm install error

node_modules\react-native-version-number: Appears to be a git repo or submodule.
npm ERR! git Refusing to remove it. Update manually,
npm ERR! git or move it out of the way first.

":CFBundleIdentifier", Does Not Exist

描述:
react-native run-ios

错误:

The following build commands failed:
CompileC /Users/******/work/GSYGithubAPP/ios/build/Build/Intermediates/imageCropPicker.build/Debug-iphonesimulator/imageCropPicker.build/Objects-normal/x86_64/ImageCropPicker.o ImageCropPicker.m normal x86_64 objective-c com.apple.compilers.llvm.clang.1_0.compiler
(1 failure)

Installing build/Build/Products/Debug-iphonesimulator/GSYGithubAPP.app
An error was encountered processing the command (domain=NSPOSIXErrorDomain, code=2):
Failed to install the requested application
An application bundle was not found at the provided path.
Provide a valid path to the desired application bundle.
Print: Entry, ":CFBundleIdentifier", Does Not Exist

Command failed: /usr/libexec/PlistBuddy -c Print:CFBundleIdentifier build/Build/Products/Debug-iphonesimulator/GSYGithubAPP.app/Info.plist
Print: Entry, ":CFBundleIdentifier", Does Not Exist

附加信息:
版本: react-native 0.50.1
Android 可以 iOS不可以
信息信息: MacOS 10.13.3

登陆不进去

作者,您好,是这样的:
我在使用过程中,输入用户名和和密码会自动消失,剩下的内容是不完整的,不知道这是不是你做的特效,我是靠粘贴账号和密码才登陆成功的。

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.