- 🌍 Universal: Works for any GitHub username
- 🎨 4 Badge Styles: flat, plastic, counter, for-the-badge
- ⚡ Fast: Built with FastAPI
- 💾 Persistent: Database storage (SQLite/PostgreSQL)
- 🚀 Easy to Deploy: Works on any hosting platform
Add to your GitHub profile README:
Styles Available:
| Style | Example |
|---|---|
| Flat (default) | |
| Plastic | |
| Counter | |
| For-the-badge |
💡 Tip: Add
?v=2to bypass GitHub's image cache
git clone https://github.com/siiddhantt/githitbox
cd githitbox
pip install -r requirements.txt
python main.pyVisit http://localhost:3001/docs for API documentation.
GET /badge/{username}?style={style}- Badge imageGET /count/{username}- JSON hit countGET /stats- Global statisticsGET /health- Health check
Environment Variables:
DATABASE_URL- Database connection (defaults to SQLite)
Badge Styles:
flat- Clean, modern (default)plastic- Rounded, glossycounter- Digital display with dark themefor-the-badge- Bold, rectangular
MIT License - free to use for your projects!