Skip to main content

GitGotchi - Your Friendly Dev Companion

A Stardew Valley-inspired terminal companion that lives in your git repository!

Features

  • Adorable pixel art companion that evolves based on your coding habits
  • Warm, encouraging stories about your code history
  • Automatic feeding through git hooks
  • Friendship system inspired by Stardew Valley
  • Cozy terminal UI with beautiful colors
  • Fast evolution - see changes every 2-3 commits!

Installation

pip install gitgotchi

Quick Start

# Navigate to any git repository
cd your-project

# Install git hooks for automatic feeding
gitgotchi install

# Meet your companion!
gitgotchi status

Commands

  • gitgotchi status - See your companion's current state
  • gitgotchi pet - Give them affection (boosts mood)
  • gitgotchi story - Hear an AI-generated story about your code
  • gitgotchi evolve - Check evolution progress and requirements
  • gitgotchi name <name> - Give your companion a custom name
  • gitgotchi install - Install git hooks for automatic feeding
  • gitgotchi uninstall - Remove git hooks

Evolution Forms

Your companion evolves based on commit count and code quality:

  • Egg (0-2 commits) - Starting form
  • Ghost (3-5 commits) - Default evolution path
  • Angel (6+ commits, quality > 70) - High quality code path
  • Demon (6+ commits, quality < 30) - Chaotic but playful path
  • Zombie (4+ reverts) - Needs coffee, sleepy form
  • Wraith (15+ commits) - Ultimate ethereal form

Code Quality Factors

  • Descriptive commit messages (+15 points)
  • Reasonable commit size (+5 points)
  • Including tests (+10 points)
  • Vague messages like "fix" (-20 points)
  • Huge commits >500 lines (-15 points)

Configuration

Set your Anthropic API key for story generation (optional):

export ANTHROPIC_API_KEY='your-key-here'
# or create a .env file
echo "ANTHROPIC_API_KEY=your-key-here" > .env

Requirements

  • Python 3.10 or higher
  • Git installed and configured
  • A git repository (run git init if needed)

License

MIT License - see LICENSE file for details.

Release files for gitgotchi 0.1.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for gitgotchi 0.1.3
File Size Uploaded
gitgotchi-0.1.3.tar.gz 23.4 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for gitgotchi 0.1.3
File Interpreter ABI Platform
gitgotchi-0.1.3-py3-none-any.whl Python 3 none any Details

Total release size: 43.7 kB

Release files / gitgotchi-0.1.3.tar.gz

Download URL gitgotchi-0.1.3.tar.gz
Size 23.4 kB
Tags Source
SHA-256 checksum
How to use checksums
aae83a846c6bb5fa02916ac85df25700e3d196e23eecf48b34727a8fd5956ae0
BLAKE2b-256 checksum
How to use checksums
4f60048ba6f8e181e6e161d2201d991addfdf612c4dfe06064996661a832e5dc
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.13.1

Release files / gitgotchi-0.1.3-py3-none-any.whl

Download URL gitgotchi-0.1.3-py3-none-any.whl
Size 20.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
804820132983e583ed566351488324d9c0aac4b1f1fc03bec57dfca44eef5c8e
BLAKE2b-256 checksum
How to use checksums
7b688f4676f6980e40eceb1e51882decf555ddddc422771c9e316fe7d59bec70
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.13.1

Release history Release notifications | RSS feed

This release

0.1.3 This release

2 release files

0.1.2

2 release files

0.1.1

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page