
Product
Introducing Repository Access Permissions and Custom Roles
Socket now supports Custom Roles and Repository Access Permissions so organizations can control who can access specific repositories and actions.
๐พ A GitHub-powered virtual pet that lives in your terminal. Feed it commits, keep it healthy with green builds!
A Tamagotchi-style virtual pet that lives in your terminal and reacts to your real GitHub activity. Feed it commits, keep it healthy with green builds, make it happy with merged PRs, and energize it with coding streaks!
gh) authenticated, or a GITHUB_TOKEN environment variable# Clone the repository
git clone https://github.com/YOUR_USERNAME/cli-pet.git
cd cli-pet
# Install dependencies & build
npm install && npm run build
# Link globally (optional)
npm link
# Adopt your first pet! ๐
cli-pet adopt
# Check on your pet ๐
cli-pet status
# Feed your pet with GitHub activity ๐
cli-pet feed
# Play a mini-game ๐ฎ
cli-pet play
# View detailed GitHub stats ๐
cli-pet stats
# Get coding tips from your pet ๐ง
cli-pet tips
Your pet has 4 core stats, each driven by your real GitHub activity:
| Stat | Emoji | Driven By | Effect |
|---|---|---|---|
| Hunger | ๐ | Your commits | More commits = well-fed pet |
| Health | โค๏ธ | CI/CD status | Green builds = healthy pet |
| Happiness | ๐ | Merged PRs & reviews | Collaboration = happy pet |
| Energy | โก | Coding streaks | Consistent activity = energized pet |
Stats decay over time โ if you don't code, your pet gets hungry and sad! Run cli-pet feed regularly to keep your pet happy.
Your pet's mood changes based on its overall stats:
Your pet earns XP from your GitHub activity:
Every 100 XP = 1 level up! ๐
src/
โโโ index.ts # CLI entry point (Commander.js)
โโโ commands/
โ โโโ adopt.ts # Interactive pet adoption
โ โโโ status.ts # Pet status display
โ โโโ feed.ts # GitHub activity โ pet feeding
โ โโโ play.ts # Mini-game
โ โโโ stats.ts # Detailed GitHub stats
โ โโโ tips.ts # AI-powered coding tips
โโโ pet/
โ โโโ engine.ts # State machine & stat calculations
โ โโโ types.ts # TypeScript interfaces
โ โโโ persistence.ts # Save/load pet state
โโโ github/
โ โโโ activity.ts # GitHub API integration
โ โโโ analyzer.ts # Activity โ stat mapping
โโโ art/
โ โโโ ascii.ts # ASCII art for all species & moods
โ โโโ animations.ts # Terminal animations
โ โโโ colors.ts # Color theming
โโโ utils/
โโโ config.ts # Config management
โโโ display.ts # Terminal rendering
This entire project was built using GitHub Copilot CLI as my AI-powered coding companion. Copilot CLI helped with:
MIT ยฉ 2026
Made with ๐ and GitHub Copilot CLI
FAQs
๐พ A GitHub-powered virtual pet that lives in your terminal. Feed it commits, keep it healthy with green builds!
The npm package cli-pet receives a total of 2 weekly downloads. As such, cli-pet popularity was classified as not popular.
We found that cli-pet demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago.ย It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Product
Socket now supports Custom Roles and Repository Access Permissions so organizations can control who can access specific repositories and actions.

Product
Socket MCP now lets AI assistants review org alerts, investigate threats using the Socket threat feed, and inspect package files in addition to dependency scoring.

Product
Socket Firewall blocks malicious VS Code and Open VSX extensions before install, protecting developers from compromised editor marketplaces.