Turn your GitHub contributions into an animated snake that devours them!
Quick Start โข Themes โข GitHub Action โข CLI โข PvP Mode
Using npx (zero-install):
npx @snake-evolution/cli@latest generate -u YOUR_USERNAMEUsing GitHub Action:
See ๐ค GitHub Action section below.
Local development:
git clone https://github.com/miccy/snake-evolution.git
cd snake-evolution
bun install
npx @snake-evolution/cli generate -u YOUR_USERNAME -o snake.svg- ๐จ 6 Beautiful Themes - Match your profile's aesthetic (Glass arrives with GIF support)
- ๐ง Smart Pathfinding - Snake hunts high-value contributions first
- โก Zero-Install CLI -
npx @snake-evolution/cli@latest- no setup needed - ๐ค GitHub Action - Automated daily updates
- ๐ฆ Full Monorepo - Engine, renderer, and themes are separate packages
- ๐ฏ Production Ready - Used by developers worldwide
Explore all available themes:

<!-- slide -->

<!-- slide -->

<!-- slide -->

<!-- slide -->

Real-world examples:
- ๐ผ Portfolio README animations
- ๐ Documentation sites with contribution graphs
- ๐ค Conference presentation slides
- โ๏ธ Technical articles and blog posts
GIF rendering is still in progress. The Glass theme will unlock once GIF output is available.
Add to your profile README repository:
.github/workflows/snake.yml
name: Generate Snake
on:
schedule:
- cron: "0 0 * * *" # Daily
workflow_dispatch:
push:
branches: [main]
jobs:
generate:
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- uses: actions/checkout@v4
- uses: miccy/snake-evolution@v1
with:
github_user_name: ${{ github.repository_owner }}
outputs: |
dist/snake.svg
dist/snake-dark.svg?palette=github-dark
# dist/snake.gif?palette=ocean&format=gif # โ ๏ธ GIF support pending
theme: github-dark
- name: Commit and Push
run: |
git config user.name "github-actions[bot]"
git config user.email "41898282+github-actions[bot]@users.noreply.github.com"
git add dist/*.svg
git diff --staged --quiet || git commit -m "๐ Update snake"
git pushThen in your README.md:
Outputs input: You can provide multiple outputs separated by commas or new lines. Each entry is written inside github.workspace and can optionally include query params for per-output overrides, e.g. dist/snake.svg?palette=ocean&format=svg.
No installation required! Use npx or bunx:
# Using npx
npx @snake-evolution/cli@latest generate -u YOUR_USERNAME
# Using bunx (faster)
bunx @snake-evolution/cli@latest generate -u YOUR_USERNAME
# With custom options
npx @snake-evolution/cli@latest generate -u YOUR_USERNAME -t ocean -o snake.svg# Using npm
npm install -g @snake-evolution/cli
# Using bun
bun add -g @snake-evolution/cli
# Then use anywhere
snake generate -u YOUR_USERNAME
snake themes # List available themesnpm install @snake-evolution/cli
# or
bun add @snake-evolution/cli| Option | Description | Default |
|---|---|---|
-u, --username |
GitHub username | required |
-o, --output |
Output file path | snake.svg |
-t, --theme |
Color theme | github-dark |
-f, --format |
Output format (svg only; GIF not supported yet) | svg |
-y, --year |
Year to generate | current |
--static |
Static SVG (final frame with snake) | false |
โน๏ธ GIF output is not available yet. The CLI will stop with a clear error if you request
--format gifor the Glass theme.
Challenge your friends to snake battles!
- ๐ Leaderboards - Global rankings
- โ๏ธ 1v1 Challenges - Battle friends
- ๐ฅ Team Battles - Company vs company
- โก Power-ups - Shrink, teleport, shield
- ๐ Progressive rounds - Gets faster each level!
git clone https://github.com/miccy/snake-evolution.git
cd snake-evolution
bun install
bun run generate -u YOUR_USERNAME -o test.svgWe love contributions! See CONTRIBUTING.md
- ๐ Report bugs
- ๐ก Request features
- ๐จ Submit new themes
If you find this useful:
- โญ Star this repo - It helps a lot!
- ๐ฆ Share on Twitter/X - Spread the word
- ๐ฌ Join Discussions - Ideas and feedback
MIT ยฉ Miccy
Original snake concept by Platane ๐
Built with ๐ by @miccy
