Draw your GitHub contribution story β one commit at a time.
GitHub Pattern Generator is an open-source web tool that allows you to visually design custom GitHub contribution graph patterns and export them as a pattern.json file. This JSON file can then be used with automated commit scripts to render beautiful patterns on your GitHub contribution graph.
GitHub contribution graphs are like a canvas made of pixels. This project turns that canvas into a pattern editor where you can:
- π±οΈ Click to draw custom contribution patterns
- π― Design shapes, text, or symbols
- π¦ Export the design as a
pattern.jsonfile - π€ Use the JSON file with auto-commit tools to apply the pattern
All of this happens directly in your browser β no setup required.
- π¨ Visual & Intuitive β draw patterns instead of guessing commit dates
- β‘ Fast & Lightweight β built with plain HTML, CSS, and JavaScript
- π Reusable β export patterns as JSON and reuse anytime
- π§© Automation Friendly β perfect for commit automation projects
- π Open Source β customize the UI, add features, or improve performance
Whether you want to create GitHub art, test automation scripts, or just experiment β this tool makes it simple.
The project is hosted using Firebase with CI/CD Pieplines:
π Live Website: https://github-pattern-generator.web.app/
Visit the live demo link or open the project locally in your browser.
- Left Click β Add a contribution block
- Right Click β Remove a contribution block
Design any pattern you like on the contribution grid.
Click on Download pattern.json to export your design.
Use the downloaded pattern.json file in your auto-commit script or any compatible project to generate commits according to your pattern.
- HTML
- CSS
- JavaScript (Vanilla)
No frameworks. No dependencies. Just clean web tech.
This project is open source and built for the community β€οΈ
You are welcome to:
- π¨ Improve the UI/UX and design
- π Fix bugs or edge cases
- π Add new features
- βΏ Improve accessibility or responsiveness
- Fork the repository
- Create a new branch
- Make your changes
- Submit a pull request
All contributions, big or small, are appreciated!
- GitHub contribution art
- Testing auto-commit scripts
- Learning how GitHub graphs work
- Open-source UI/UX practice
This project is licensed under the MIT License β feel free to use, modify, and distribute.
Made with β€οΈ by Aura Farmer
If you find this project useful, consider giving it a β on GitHub!