Git Contribution Bot is a Python-based tool that generates custom GitHub contribution heatmaps by creating commits with specific dates and patterns. It allows you to "draw" text or art on your GitHub profile's contribution graph.
- Generate GitHub contribution heatmaps with custom text or patterns.
- Fetch existing GitHub contributions to avoid overwriting them.
- Automatically adjust contribution levels based on your existing contributions.
- Control the density of contributions using noise parameters.
- Automatically create and manage a
gh-pagesbranch for commits. - Push commits to a remote repository to update the contribution graph.
- Fully customizable with interactive input.
- Input Text: You provide the text or pattern to be drawn on the GitHub contribution graph.
- Fetch Contributions: The tool fetches your existing GitHub contributions to ensure no overwriting and adjusts contribution levels accordingly.
- Noise and Art Generation: The tool generates noise and combines it with the art (text) to create a final contribution pattern.
- Commits Creation: Commits are created for the missing contributions in the heatmap, with timestamps and messages.
- Push to GitHub: The commits are pushed to the
gh-pagesbranch of your repository, updating your GitHub contribution graph.
-
Clone the repository:
git clone https://github.com/LucianoBWille/gitContributionBot.git cd gitContributionBot -
Install the required dependencies:
pip install -r requirements.txt
-
Ensure you have Git installed and configured on your system.
Run the script and follow the prompts:
python GitBot.py| Parameter | Description |
|---|---|
Text |
The text to draw on the GitHub contribution graph. |
Text Stroke |
The intensity of the text stroke (default: 1). |
Noise Bottom |
The minimum noise value for contributions (default: 1). |
Noise Top |
The maximum noise value for contributions (default: 2). |
GitHub Username |
Your GitHub username to fetch existing contributions. |
python GitBot.pyWhen prompted, enter:
- Text:
HELLO - Text Stroke:
2 - Noise Bottom:
1 - Noise Top:
2 - GitHub Username:
your-username
This will generate a heatmap with the word "HELLO" drawn on it, ensuring no existing contributions are overwritten. The contribution levels will be adjusted based on your current GitHub activity.
Contributions are welcome! Feel free to open issues or submit pull requests to improve the project.
This project is licensed under the MIT License. See the LICENSE file for details.
Start customizing your GitHub contributions with Git Contribution Bot today!