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
ForkMonkey now uses GitHub Models (gpt-4o) by default for free AI-powered evolution! No API key required.
(Optional: You can still use Claude by setting ANTHROPIC_API_KEY and AI_PROVIDER=claude)
- 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 the "Fork" button (top right) to create your own monkey repository.
Go to the Actions tab in your new repository and click "I understand my workflows, go ahead and enable them".
- Go to Actions tab
- Select "Initialize New Monkey" from the left sidebar
- Click "Run workflow" (blue button)
- Wait for it to complete - your monkey is being born! ๐ต
- In the Actions tab, select "Daily Evolution"
- You'll see a banner saying "This workflow has a schedule that is disabled in forked repositories"
- Click "Enable workflow" to let your monkey evolve every day!
- Go to Settings โ Pages
- Under "Build and deployment" > "Source", ensure GitHub Actions is selected
- Your monkey will be live at
https://<username>.github.io/<repo-name>/
By default, ForkMonkey uses GitHub Models (gpt-4o) which is FREE!
If you prefer to use Claude:
- Go to Settings โ Secrets and variables โ Actions
- Add a new secret:
ANTHROPIC_API_KEY - Add a variable:
AI_PROVIDER=claude
- Generation: 2
- Age: 48 days
- Mutations: 4
- Rarity Score: 25.0/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
- Enable Actions - Go to Actions tab and enable workflows
- Run Genesis - Run "Initialize New Monkey" workflow
- Child inherits traits - 50% from parent, 50% random
- Watch it grow - Evolving daily with free AI!
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. ๐ตโจ