Decorate your GitHub profile with awesome trophies!
http://localhost:3000/trophy?username=YOUR_GITHUB_USERNAME
Basic:
With Theme:
Filter by Rank:
Exclude Trophies:
Transparent Background:
- Open your GitHub profile README.md file
- Copy the markdown code from the trophy generator
- Paste it into your README.md
- Commit and push!
The rank system evaluates your GitHub profile across 7 different categories. Each trophy has its own ranking thresholds based on the metric.
- Flat: Clean and simple design
- Dark: For dark mode lovers
- OneDark: Popular code editor theme
- Radical: Bold and colorful
- Gruvbox: Retro developer theme
- Dracula: Dark vampire theme
This project uses Node.js runtime with modern ES modules!
β
Mature ecosystem with npm packages
β
Wide community support
β
Production-ready with excellent performance
β
Built-in testing with node:test
β
Native ES modules support
Build image:
docker build -t github-trophy .Run container:
docker run -p 3000:3000 --env-file .env github-trophyOr with inline token:
docker run -p 3000:3000 -e GITHUB_TOKEN=your_token_here github-trophyStart services:
docker-compose up -dThis will start the GitHub Trophy app on port 3000.
View logs:
docker-compose logs -fStop services:
docker-compose downRebuild:
docker-compose up -d --buildCreate .env file with your GitHub token:
GITHUB_TOKEN=ghp_your_token_here
Or add multiple tokens (comma-separated):
GITHUB_TOKEN=token1,token2,token3
You can deploy this to:
- π³ Docker (local or VPS)
- Vercel
- Heroku
- Railway
- Render
- AWS ECS/EKS
- Google Cloud Run
- Azure Container Instances
After deployment, replace the URL with your production URL.
Run all tests:
npm testRun tests in watch mode:
npm test -- --watchFormat code:
npm run formatLint code:
npm run lintContributions are welcome! Please read our Contributing Guidelines and Code of Conduct before submitting PRs.
- Fork and clone the repository
- Create a
.envfile from.env.example - Add your GitHub token (optional but recommended)
- Run the development server:
npm run dev
- Make your changes and add tests
- Run tests:
npm test - Format code:
npm run format - Submit a PR!
For security issues, please review our Security Policy.
MIT License - see the LICENSE file for details.
- Built with Node.js π
- Powered by GitHub GraphQL API
- Inspired by the amazing GitHub developer community
Made with β€οΈ for GitHub developers
Star β this repo if you found it useful!









