nishatrhythm/GitHub-Insights
nishatrhythm/GitHub-Insights has 33 GitHub stars and 16 forks. GitHot measured 0 stars in 24 hours and 0 in 7 days. Last checked 2026-11-22 01:27 UTC. Last push 2026-11-01.
What you can do
- 📊 Comprehensive Stats - Commits, PRs, issues, stars, and more
- 🔥 Streak Tracking - Current and longest contribution streaks with accurate consecutive day detection
- 📈 Contribution Graph - Visual representation of your activity with monthly breakdowns
- 🗣️ Top Languages - Most used programming languages with visual percentages
Measured star growth
- in 24h
- 0
- in 7 days
- 0
- in 15 days
- Collecting history
- in 1 month
- Collecting history
Net star changes over overlapping periods, not daily totals. Missing measurements are left blank. Stars measure attention, not software quality.
About
Generate beautiful, customizable GitHub stats cards for your profile README. Self-hosted alternative with multiple themes, contribution graphs, and streak tracking.
Self-hostedREADME.md
OriginalGitHub Insights
Generate beautiful, customizable GitHub stats cards for your profile README
Live Demo • Features • Usage • Themes • Self-Hosting
Features
- 📊 Comprehensive Stats - Commits, PRs, issues, stars, and more
- 🔥 Streak Tracking - Current and longest contribution streaks with accurate consecutive day detection
- 📈 Contribution Graph - Visual representation of your activity with monthly breakdowns
- 🗣️ Top Languages - Most used programming languages with visual percentages
- 🙈 Language Filtering - Hide specific languages from your stats so percentages only reflect what matters to you
- 🎨 Multiple Themes - 12 beautiful card themes to choose from (GitHub Dark, GitHub Light, Monochrome, Monochrome Light, Radical, Tokyo Night, Dracula, Synthwave, Ocean, Neo Green and more)
- 🌗 Site Theme Toggle - Switch the web UI between Light, Dark, and System mode with persistent preference
- 📥 Download Options - Export your stats card as SVG, PNG, or JPG directly from the UI
- ⚡ Fast & Optimized - Edge runtime with intelligent caching for quick loads
- 📱 Responsive Design - Looks great on any device with a fully mobile-friendly interface
- 🔄 Smart Regeneration UX - The Generate button and a banner highlight automatically when your settings have changed since the last card was generated, and clear automatically if you revert to the previously generated configuration
Usage
Quick Start
Add this to your GitHub profile README:
<p align="center">
<img src="https://yourinsights.vercel.app/api/insight?username=YOUR_USERNAME" alt="GitHub Insights" />
</p>
Replace YOUR_USERNAME with your GitHub username.
Customization Options
| Parameter | Default | Description |
|---|---|---|
username |
Required | Your GitHub username |
theme |
github_dark |
Card theme |
profile |
true |
Show name & username |
header |
true |
Show monthly contribution chart |
summary |
true |
Show summary info (contributions, repos, join date) |
stats |
true |
Show GitHub stats (commits, PRs, issues, stars) |
languages |
true |
Show top programming languages |
streak |
true |
Show streak statistics |
graph |
true |
Show contribution graph |
border |
true |
Show or hide outer card border |
hide_langs |
(none) | Comma-separated list of languages to exclude from the languages section (e.g. HTML,CSS). Remaining language percentages are recalculated automatically. |
Example with All Options
<p align="center">
<img src="https://yourinsights.vercel.app/api/insight?username=YOUR_USERNAME&theme=radical&graph=true&languages=true&streak=true&stats=true&header=true&summary=true&profile=true" alt="GitHub Insights" />
</p>
Hiding Specific Languages
You can exclude certain languages so they don't appear in the languages section and their percentages are redistributed among the remaining ones:
<p align="center">
<img src="https://yourinsights.vercel.app/api/insight?username=YOUR_USERNAME&theme=github_light&languages=true&hide_langs=HTML,CSS" alt="GitHub Insights" />
</p>
Themes
| Theme | Preview |
|---|---|
github_dark (default) |
|
github_light |
|
monochrome |
|
monochrome_light |
|
radical |
|
tokyonight |
|
dracula |
|
synthwave |
|
ocean |
|
neo_green |
Self-Hosting
Prerequisites
- Node.js 20+
- GitHub Personal Access Token
Setup
Clone the repository
git clone https://github.com/nishatrhythm/GitHub-Insights.git cd GitHub-InsightsInstall dependencies
npm installCreate environment file
cp .env.example .env.localAdd your GitHub token
Create a Personal Access Token with the following scopes:
repo(Full control of private repositories)read:user(Read all user profile data)
Add it to
.env.local:GITHUB_TOKEN=your_token_hereRun the development server
npm run dev
Deploy to Diploi
Important: In Diploi, open Deployment Page -> Options -> Next.js -> Environment and add the GITHUB_TOKEN environment variable.
Deploy to Vercel
Important: Add the GITHUB_TOKEN environment variable in your Vercel project settings.
Tech Stack
- Framework: Next.js 16 with App Router
- Runtime: Edge Runtime for optimal performance
- Language: TypeScript for type safety
- Styling: Inline SVG with dynamic theming
- Font: Inter for consistent cross-platform rendering
- API: GitHub GraphQL API v4
- Image Export: Canvas API for PNG/JPG conversion
- Deployment: Vercel with automatic edge caching
Contributing
Contributions are welcome! Feel free to:
- Fork the repository
- Create a feature branch (
git checkout -b feature/amazing-feature) - Commit your changes (
git commit -m 'Add amazing feature') - Push to the branch (
git push origin feature/amazing-feature) - Open a Pull Request
License
This project is licensed under the MIT License - see the LICENSE file for details.
Free and open source
Made with ❤️ by nishatrhythm and other contributors
Explore related projects
Loading…