This tool allows you to generate git commits on specific dates. You can draw your commit pattern in a browser interface, then replay those commits into a repository to customize your GitHub contributions graph.
Add your screenshots of the editor, example patterns, and profile result:
-
Download or clone this project:
git clone cd github-trick -
Install dependencies:
npm install -
Create a new GitHub repository via GitHub UI or CLI for the pattern:
-
Start the server:
node main.js -
Wait for all commits to finish (depends on your pattern size).
-
Open the browser interface:
http://localhost:3000, draw your pattern, choose the year, and click Send. -
Push commits to GitHub:
cd repo git remote add origin <your-repo-url> git push origin master(or
maindepending on your default branch)
- The script rewrites commit history by setting the
--datefor each commit. - Invalid dates in the grid are automatically skipped.
- Higher intensity cells mean multiple commits on that day.
- Automatically initialize git and set remote inside the
repofolder. - Automatically push after all commits finish.
- Allow selecting the repo folder from the browser interface.
- Turn it into a desktop app using Tauri or Electron.
- Add a live preview of your commit graph before committing.


