Skip to content

๐Ÿ Turn your GitHub contributions into an animated snake that devours them! CLI + GitHub Action. PvP mode coming soon!

License

Notifications You must be signed in to change notification settings

miccy/snake-evolution

Use this GitHub action with your project
Add this Action to an existing workflow or create a new one
View on Marketplace

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

200 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Snake Evolution

Stars npm License CI

Turn your GitHub contributions into an animated snake that devours them!

Snake eating contributions

โœจ Features

  • ๐ŸŽจ 6 Beautiful Themes - Match your profile's aesthetic.
  • ๐Ÿง  Smart Pathfinding - Snake hunts high-value contributions first.
  • โšก Zero-Install - Run instantly with bunx or npx.
  • ๐Ÿค– GitHub Action - Automated daily updates for your profile.
  • ๐Ÿ—“๏ธ Rolling Year - Always shows the last 12 months of contributions.

๐Ÿš€ Quick Start

GitHub Action (Recommended)

Add this workflow to your repository (e.g., .github/workflows/snake.yml) to automatically generate the snake animation every day.

name: Generate Snake

on:
  schedule:
    - cron: "0 0 * * *" # Run daily at midnight
  workflow_dispatch:        # Allow manual run

jobs:
  build:
    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-ocean.svg?palette=ocean

      - name: Push to Output Branch
        uses: crazy-max/ghaction-github-pages@v4
        with:
          target_branch: output
          build_dir: dist
        env:
          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

CLI (Zero-Install)

Generate animations locally without installing anything.

# Using Bun (Recommended)
bunx @snake-evolution/cli@latest generate -u YOUR_USERNAME

# Using npx
npx @snake-evolution/cli@latest generate -u YOUR_USERNAME

Markdown Usage

Add this into your README.md

![GitHub Dark](./assets/examples/github-dark.svg)

HTML in Markdown

Add this into your README.md for centered image with dark/light mode support

<p align="center">
  <picture>
    <source media="(prefers-color-scheme: dark)" srcset="./assets/examples/github-dark.svg">
    <source media="(prefers-color-scheme: light)" srcset="./assets/examples/github-light.svg">
    <img alt="Snake eating contributions" src="./assets/examples/github-dark.svg" width="100%">
  </picture>
</p>

๐ŸŽจ Themes

Available themes: github-dark, github-light, ocean, sunset, neon-gamer, cypherpunk.

๐ŸŒ‘ GitHub Dark (Default)

GitHub Dark

โ˜€๏ธ GitHub Light

GitHub Light

๐ŸŒŠ Ocean

Ocean

๐ŸŒ… Sunset

Sunset

๐ŸŽฎ Neon Gamer

Neon Gamer

๐Ÿ”ต Cypherpunk

Cypherpunk

๐Ÿ“ฆ Installation (Global)

If you prefer to have the tool available globally:

bun add -g @snake-evolution/cli
# or
npm install -g @snake-evolution/cli

# Usage
snake generate -u miccy

๐Ÿ› ๏ธ Development

This project is a monorepo managed by Turbo and Bun.

# Clone repository
git clone https://github.com/miccy/snake-evolution.git
cd snake-evolution

# Install dependencies
bun install

# Build all packages
bun run build

# Run CLI from source
bun run snake generate -u YOUR_USERNAME -o test.svg

๐Ÿ“„ License

Original snake concept by Platane ๐Ÿ™


๐Ÿ›  Maintained by @miccy with ๐Ÿ’™

ยฉ 2026 Miccy

About

๐Ÿ Turn your GitHub contributions into an animated snake that devours them! CLI + GitHub Action. PvP mode coming soon!

Topics

Resources

License

Code of conduct

Contributing

Security policy

Stars

Watchers

Forks

Sponsor this project

 

Packages

No packages published

Contributors 5