Transform your GitHub contribution graph into pixel art!
Write text, display logos, or create custom designs on your contribution history.
Warning
1. Fork this repository first! This script modifies git history. You need your own copy to use it.
2. GitHub takes 24-48 hours to update! After pushing your commits, the contribution graph won't update immediately. Be patient โ it can take up to 24-48 hours for changes to appear.
3. Use a dedicated repository! Don't run this on important projects. Create a new repo or fork this one.
- ๐ Custom Text - Write any text on your contribution graph
- ๐ฎ Templates - Pre-built designs (Bitcoin, Minecraft)
- ๐จ Gradient Support - Multiple intensity levels for depth
- ๐ Any Year - Target any year from 2008 to present
- ๐ Reset Function - Easily remove pixel art commits
- ๐ฅ๏ธ User-Friendly CLI - Modern command-line interface with colors
git clone git@github.com:ImperialCrise/ASCIIGithubART.git
cd ASCIIGithubART
chmod +x github_pixel_art.sh./github_pixel_art.sh preview --text "HELLO" --year 2020./github_pixel_art.sh generate --text "HELLO" --year 2020
git push origin main --force./github_pixel_art.sh <command> [options]
| Command | Description |
|---|---|
generate |
Generate pixel art commits |
preview |
Preview the design without generating |
reset |
Remove pixel art commits for a specific year |
reset-all |
Clear all git history |
list |
List available templates |
help |
Show help message |
| Option | Description |
|---|---|
-t, --text <TEXT> |
Text to display |
-y, --year <YEAR> |
Target year (e.g., 2016) |
-T, --template <NAME> |
Use a template (bitcoin, minecraft) |
-p, --preview |
Preview only, don't generate |
-f, --force |
Skip confirmation prompts |
-h, --help |
Show help message |
-v, --version |
Show version |
Perfect for celebrating Bitcoin's birth year!
./github_pixel_art.sh generate --template bitcoin --year 2009 โ โ โโโโ โโโ โโโ โโโ โโ โโโ โ โ โ โ โ
โโโ โโโ โโโ โ โ โ โ โ โ โ โโ โโโโ โโโ โโโ
โ โ โ โ โ โ โ โ โ โ โ โ โ โ โโโ โ โ โ โ โ
โโโ โโโ โโโโโ โ โ โ โ โ โ โ โโโโ โโโ โโโ
โ โ โ โ โ โ โ โ โ โ โ โ โ โ โโ โ โ โ โ โ
โโโ โโโ โโโ โ โ โ โ โ โ โ โ โโโโ โโโ โโโ
โ โ โโโโ โโโ โ โโโ โโ โโโ โ โ โ โ โ
Add a tree and terrain next to your text!
./github_pixel_art.sh generate --text "iCrise" --template minecraft --year 2016 โ โโโ โ โโ
โ โโโโโ
โ โ โโ โ โโ โโ โโโโโโโ
โ โ โ โ โ โ โ โโโโโ
โ โ โ โ โ โโโ โ โโ
โ โ โ โ โ โ โ โโ โโ
โ โโโ โ โ โโ โโ โโโโโโโโโโโโโโโโโโโโ
The script supports 4 intensity levels for gradient effects:
| Symbol | Commits | Color |
|---|---|---|
| โ | 25 | Dark green |
| โ | 15 | Medium-dark green |
| โ | 8 | Medium green |
| โ | 3 | Light green |
./github_pixel_art.sh generate --text "CODE" --year 2018./github_pixel_art.sh preview --text "PIXEL" --year 2015./github_pixel_art.sh generate --template bitcoin --year 2009 --force./github_pixel_art.sh reset --year 2016
git push origin main --force./github_pixel_art.sh reset-all --force
git push origin main --force-
Force Push Required: After generating commits, you need to force push:
git push origin main --force
-
Private Contributions: Make sure "Private contributions" is enabled in your GitHub settings to see the graph.
-
Email Matching: Your git email must match your GitHub account email:
git config user.email "your-github-email@example.com" -
Year Calculation: The contribution graph for a year starts on the Sunday before January 1st, so some commits may have dates from the previous year.
| Type | Characters |
|---|---|
| UPPERCASE | A B C D E F G H I J K L M N O P Q R S T U V W X Y Z |
| lowercase | a b c d e f g h i j k l m n o p q r s t u v w x y z |
| Numbers | 0 1 2 3 4 5 6 7 8 9 |
| Symbols | ! . , - _ : / ' " |
| Space | (2 pixels wide) |
./github_pixel_art.sh preview --text "Hello World 2024!" --year 2020- Bash 4.0+
- Git
datecommand (GNU coreutils)
Feel free to open issues or submit pull requests!
MIT License - feel free to use this for your own contribution graphs!
Made with โค๏ธ by ImperialCrise