A comprehensive cross-platform mobile app built with React Native that allows users to analyze GitHub profiles with detailed statistics, visualizations, and insights.
- User Input & Validation: Clean username input with GitHub username validation
- Recent Searches: Persistent search history with quick access
- Comprehensive Profile Data: User information, repository statistics, and metrics
- Language Analysis: Interactive pie charts showing programming language distribution
- Repository Insights: Bar charts for most starred and forked repositories
- Contribution Heatmap: Visual representation of contribution activity
- Activity Metrics: Commit patterns, PR statistics, and issue tracking
- Productivity Insights: Development patterns and project management metrics
- Social Metrics: Follower growth, network insights, and engagement
- Repository Quality: Maintainability scores and collaboration patterns
- Historical Trends: Activity over time with trend analysis
- Clean Modern UI: Following platform design guidelines
- Dark/Light Theme: Automatic theme switching based on system preferences
- Responsive Design: Optimized for mobile devices
- Offline Capability: Caching for previously viewed profiles
- Performance Optimized: Background data processing and efficient API usage
- Framework: React Native 0.81.4
- Language: TypeScript
- State Management: React Hooks
- API Integration:
- GitHub REST API v3
- GitHub GraphQL API v4
- Charts: react-native-chart-kit
- Storage: AsyncStorage for caching and persistence
- HTTP Client: Axios with interceptors for rate limiting
src/
├── components/ # Reusable UI components
│ └── Charts.tsx # Data visualization components
├── screens/ # Main app screens
│ ├── UserInputScreen.tsx
│ ├── ProfileOverviewScreen.tsx
│ └── AnalyticsScreen.tsx
├── services/ # API services
│ ├── githubAPI.ts # REST API client
│ └── githubGraphQL.ts # GraphQL client
├── types/ # TypeScript type definitions
│ └── github.ts # GitHub API types
└── utils/ # Utility functions
└── theme.ts # Theme configuration
Note: Make sure you have completed the Set Up Your Environment guide before proceeding.
First, you will need to run Metro, the JavaScript build tool for React Native.
To start the Metro dev server, run the following command from the root of your React Native project:
# Using npm
npm start
# OR using Yarn
yarn startWith Metro running, open a new terminal window/pane from the root of your React Native project, and use one of the following commands to build and run your Android or iOS app:
# Using npm
npm run android
# OR using Yarn
yarn androidFor iOS, remember to install CocoaPods dependencies (this only needs to be run on first clone or after updating native deps).
The first time you create a new project, run the Ruby bundler to install CocoaPods itself:
bundle installThen, and every time you update your native dependencies, run:
bundle exec pod installFor more information, please visit CocoaPods Getting Started guide.
# Using npm
npm run ios
# OR using Yarn
yarn iosIf everything is set up correctly, you should see your new app running in the Android Emulator, iOS Simulator, or your connected device.
This is one way to run your app — you can also build it directly from Android Studio or Xcode.
Now that you have successfully run the app, let's make changes!
Open App.tsx in your text editor of choice and make some changes. When you save, your app will automatically update and reflect these changes — this is powered by Fast Refresh.
When you want to forcefully reload, for example to reset the state of your app, you can perform a full reload:
- Android: Press the R key twice or select "Reload" from the Dev Menu, accessed via Ctrl + M (Windows/Linux) or Cmd ⌘ + M (macOS).
- iOS: Press R in iOS Simulator.
You've successfully run and modified your React Native App. 🥳
- If you want to add this new React Native code to an existing application, check out the Integration guide.
- If you're curious to learn more about React Native, check out the docs.
If you're having issues getting the above steps to work, see the Troubleshooting page.