Thank you for your interest in contributing to GitHub Stats! 🎉
If you find a bug, please create an issue with:
- A clear title and description
- Steps to reproduce the issue
- Expected behavior
- Actual behavior
- Screenshots (if applicable)
We welcome feature suggestions! Please create an issue with:
- A clear title and description
- Use case and benefits
- Example implementation (if you have ideas)
- Fork the repository
- Create a new branch (
git checkout -b feature/your-feature) - Make your changes
- Ensure code follows the existing style
- Test your changes
- Commit with clear messages (
git commit -m 'Add: feature description') - Push to your branch (
git push origin feature/your-feature) - Open a Pull Request
To add a new theme:
- Edit the appropriate file in
src/utils/themes/:base.ts- General-purpose themes (stats, languages)graph.ts- Graph/heatmap optimized themesbadge.ts- Badge-specific themes
- Test the theme with
?theme=yourtheme - Submit a PR with a screenshot
# Install dependencies
npm install
# Setup database
npm run db:push
# Run in development mode
npm run dev
# Build
npm run build
# Run production build
npm start
# Run in cluster mode (production)
npm run start:cluster- Use TypeScript
- Follow existing naming conventions
- Add comments for complex logic
- Keep functions focused and small
Feel free to open an issue for any questions!
Thank you for contributing! 🙌