How akosdevhu/octogit works
OctoGit is a React Native GitHub mobile client. The main workflow is app startup, token lookup, GitHub data loading, then browsing account, repository, and notification views; actions call GitHub API helpers. Authentication stores tokens securely, with browser OAuth and device flow. The large App.js is a monolithic UI and interaction layer. README capabilities such as editing, releases, gestures, and 2FA are represented as planned/documented rather than confirmed implementations; source excerpts do not expose their full wiring.
Main entry points: App.js App shell · auth.js OAuth & device flow · github.js GitHub API client · index.js App entry
Components 17
Mobile app
- App entry
index.js - App shell
App.js - Account dashboard
App.js - Repository browser
App.js - File editing & uploads
App.js - Release management
App.js - Notifications & gestures
App.js - Repository discovery
App.js - Organizations & gists
App.js - Built-in 2FA
App.js
Authentication
- OAuth & device flow
auth.js - Secure token storage
auth.js - OAuth exchange service
GitHub access
- GitHub API client
github.js
Other components
- Mobile user
- GitHub services
- System browser
Connections 22
- Mobile user → App entry: opens app
index.js - App entry → App shell: registers
index.js - Mobile user → App shell: uses
README.md - App shell → OAuth & device flow: loads token
App.js - App shell → OAuth & device flow: signs out
App.js - OAuth & device flow → Secure token storage: reads / writes
auth.js - OAuth & device flow → System browser: opens login
auth.js - OAuth & device flow → GitHub services: requests device auth
auth.js - OAuth & device flow → OAuth exchange service: exchanges code
auth.js - App shell → GitHub API client: loads account data
App.js - App shell → GitHub API client: creates repository
App.js - App shell → GitHub API client: loads orgs / gists
App.js - GitHub API client → GitHub services: calls API
github.js - App shell → Account dashboard: renders
README.md - App shell → Repository browser: opens
README.md - App shell → Notifications & gestures: presents
README.md - App shell → Repository discovery: supports
App.js - App shell → File editing & uploads: plans
README.md - App shell → Release management: plans
README.md - App shell → Notifications & gestures: plans gestures
README.md - App shell → Organizations & gists: opens lists
App.js - App shell → Built-in 2FA: plans
README.md