Your digital pet that lives forever on GitHub and evolves with AI
ForkMonkey is an autonomous, self-evolving digital collectible that combines:
- ๐ฎ Tamagotchi-style digital pets
- ๐จ CryptoKitties genetic breeding
- ๐ต Bored Ape collectible traits
- ๐ค AI-powered daily evolution
Each ForkMonkey is a unique digital creature that:
- Lives on GitHub as a repository
- Evolves daily through AI-powered mutations
- Changes appearance based on its DNA
- Breeds through forks - create new generations
- Grows a family tree across the GitHub network
- Your Monkey: The owner of the GitHub repo owns the monkey
- Fork to Breed: Fork the repo to create a child monkey with inherited + mutated traits
- AI Evolution: Every day, an AI agent slightly modifies your monkey's appearance
- Secret DNA: Monkey traits are stored as GitHub Secrets (only you can see them)
- Public Art: The monkey's visual representation updates daily in the README
- Network Effect: All monkeys form a family tree across GitHub
Day 1: ๐ต Born with random DNA
Day 2: ๐ต AI mutates color slightly
Day 3: ๐ต Grows a hat
Day 4: ๐ต Expression changes
...
Day 365: ๐ต Completely unique creature
Fork it: ๐ถ Child inherits 50% parent DNA + 50% random + daily mutations
- DNA Traits: Color, size, accessories, expressions, patterns
- Inheritance: Children inherit traits from parents with mutations
- Rarity System: Some traits are rarer than others
- Generation Tracking: Know your monkey's lineage
- Daily Mutations: Claude AI subtly evolves your monkey
- Smart Changes: AI understands aesthetics and makes coherent changes
- Personality Development: Monkeys develop unique personalities over time
- SVG Generation: Procedurally generated monkey art
- Real-time Updates: README shows current monkey state
- History Tracking: See how your monkey evolved over time
- Family Trees: Visualize monkey genealogy
- Rarity Rankings: See the rarest monkeys in the network
- Discovery: Find and follow other monkeys
Click "Use this template" โ "Create a new repository" to create your own monkey!
Why template? Actions work immediately! Forks require manual enablement.
Go to Settings โ Secrets and variables โ Actions โ New repository secret:
ANTHROPIC_API_KEY: your_claude_api_key
Go to Actions tab โ Enable workflows
Every day at midnight UTC, your monkey evolves automatically.
Your monkey is automatically deployed to GitHub Pages after each evolution!
๐ Live Demo: https://<username>.github.io/<repo-name>/
Note: To enable GitHub Pages, go to Settings โ Pages and select GitHub Actions as the source.
# Start the beautiful web interface
./start_web.sh
# Or manually:
python web/serve.pyThen open http://localhost:8000/web/index.html in your browser!
- Generation: 2
- Age: 26 days
- Mutations: 0
- Rarity Score: 16.7/100
Fork this repo to create children!
# Install dependencies
pip install -r requirements.txt
# Initialize your monkey
python src/cli.py init
# View in web interface
./start_web.sh
# Evolve monkey manually
python src/cli.py evolve --ai
# Show monkey stats
python src/cli.py show
# Run tests
pytest tests/forkMonkey/
โโโ .github/
โ โโโ workflows/
โ โโโ daily-evolution.yml # Daily AI evolution
โ โโโ deploy-pages.yml # Deploy to GitHub Pages
โ โโโ on-create.yml # Initialize new monkey (template/fork)
โโโ src/
โ โโโ genetics.py # DNA and trait system
โ โโโ evolution.py # AI-powered evolution
โ โโโ visualizer.py # SVG monkey generator
โ โโโ storage.py # Data persistence
โ โโโ cli.py # Command-line interface
โโโ web/
โ โโโ index.html # Web interface
โ โโโ style.css # Modern blocky design
โ โโโ script.js # Interactive features
โ โโโ serve.py # Local web server
โโโ tests/ # Comprehensive tests
โโโ monkey_data/
โ โโโ dna.json # Monkey DNA
โ โโโ history.json # Evolution history
โ โโโ stats.json # Monkey statistics
โ โโโ monkey.svg # Visual representation
โโโ README.md # This file (auto-updated)
- Fork this repository - Creates a child monkey
- Child inherits traits - 50% from parent, 50% random
- Set up your API key - Add ANTHROPIC_API_KEY secret
- Enable Actions - Let your child evolve
- Watch it grow - Different from parent, but related
Traits have different rarity levels:
- Common (60%): Basic colors, simple patterns
- Uncommon (25%): Special colors, accessories
- Rare (10%): Unique patterns, special features
- Legendary (5%): Ultra-rare combinations
- Total Monkeys: Calculating...
- Generations: Calculating...
- Rarest Trait: Calculating...
# DNA is stored in GitHub Secrets (private)
# Only the owner can see the full DNAcurl https://api.github.com/repos/{owner}/forkMonkey/contents/monkey_data/stats.jsonpython src/cli.py family-treeWant to improve ForkMonkey?
- Fork this repo
- Create a feature branch
- Make your changes
- Submit a PR to the main ForkMonkey repo
- ๐ฎ Tamagotchi: Virtual pets that need care
- ๐ฑ CryptoKitties: Genetic breeding on blockchain
- ๐ต Bored Ape Yacht Club: Collectible traits
- ๐ฑ SeedGPT: AI-powered autonomous growth
MIT License - Fork, breed, and evolve freely!
Your monkey is unique. Your monkey is alive. Your monkey is forever on GitHub. ๐ตโจ