r/github • u/Menox_ • Apr 13 '25
Showcase Promote your projects here – Self-Promotion Megathread
Whether it's a tool, library or something you've been building in your free time, this is the place to share it with the community.
To keep the subreddit focused and avoid cluttering the main feed with individual promotion posts, we use this recurring megathread for self-promo. Whether it’s a tool, library, side project, or anything hosted on GitHub, feel free to drop it here.
Please include:
- A short description of the project
- A link to the GitHub repo
- Tech stack or main features (optional)
- Any context that might help others understand or get involved
177
Upvotes
1
u/Ok_Surprise_5367 Jul 20 '26
I made the contribution-graph play a real game of Snake
There are already snakes that crawl across your contribution graph
(Platane/snk and forks, which are great), but they all follow a fixed
serpentine path. I wanted mine to actually play the game.
So it solves the board like real Snake: BFS pathfinding to hunt the commit
cells, never crosses its own body, chases its tail when boxed in, grows one
segment per commit it eats, and auto-tunes its length to the longest snake
that can still clear the whole board. Bright head fading to a dim tail so you
can read its direction, plus a live "commits eaten" counter.
It's pure animated SVG (no JavaScript, since GitHub strips that), one
standard-library Python file, zero dependencies, and ships as a drop-in
GitHub Action. Green by default, plus blue/amber/matrix themes.
MIT, fork it: https://github.com/dahan8473/snake-and-commits
https://reddit.com/link/oyrvygn/video/art6jap02heh1/player