Draw a word into a GitHub contribution graph, for any year.
It works by generating a local git repo full of empty, backdated commits positioned as pixels in a 5x7 font, one column per week / one row per day — the same grid GitHub uses to render your contribution graph. Push it to a public repo and the word shows up on your profile.
Preview for 'WTF' in 2026 (42 active days):
..................#...#.#####.#####..................
..................#...#...#...#......................
..................#...#...#...#......................
..................#.#.#...#...####...................
..................#.#.#...#...#......................
..................#.#.#...#...#......................
...................#.#....#...#......................
Installs git, python3, and gh (GitHub CLI) — needed for auto-push/delete.
macOS / Linux:
./setup.sh
gh auth login
Windows (PowerShell):
.\setup.ps1
gh auth login
Once gh auth login is done, the script auto-detects your GitHub name and
uses your account's noreply email (<id>+<login>@users.noreply.github.com)
for commits — no need to pass --name/--email yourself, and your real
email stays private.
Preview only, no repo created:
python3 github_word_art.py --word WTF --year 2026 --dry-run
Generate the local repo (commits, no push):
python3 github_word_art.py --word WTF --year 2026
Generate and push straight to a new public GitHub repo (asks for confirmation before creating/pushing anything):
python3 github_word_art.py --word WTF --year 2026 --push
Remove it later — deletes the GitHub repo and the local directory (asks for confirmation first):
python3 github_word_art.py --word WTF --year 2026 --delete
| Flag | Description |
|---|---|
--word |
Word to draw. Letters, digits, space, - . ! |
--year |
Target year, e.g. 2026 |
--push |
Create a public repo via gh and push, after confirmation |
--delete |
Delete the repo (GitHub + local) for this word/year, after confirmation |
--dry-run |
Only print the ASCII preview |
--intensity |
Commits per lit day, 1 (light green) to 4 (dark green). Default 3 |
--name, --email |
Override the auto-detected git identity |
--repo-name |
Override the auto-suggested repo name |
--out |
Output directory for the local repo |
--force |
Reuse a non-empty output directory |
- The repo must be public and on its default branch for commits to
count —
--pushhandles both automatically. - The commit email must match a verified email on your GitHub account,
or the contributions won't be attributed to you. The auto-detected
identity handles this; a manually passed
--emailwon't if it's wrong. - A word only fits if it's short enough for the year — each letter takes 6 week-columns (5 + spacing), and a year has ~52-53. Long words will error out with the max width for that year.
- After deleting a repo, GitHub's profile page can take a while (minutes to hours) to stop showing the old contributions — that's server-side caching, not a bug in this tool.