npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2025 – Pkg Stats / Ryan Hefner

vscode-tamagotchi

v0.1.0

Published

A virtual Tamagotchi pet that lives in your VSCode/Cursor editor

Readme

VSCode Tamagotchi 🥚

CI License: MIT PRs Welcome

A virtual Tamagotchi pet that lives in your VSCode/Cursor editor! Take care of your digital companion while you code.

📖 Documentation · 🐛 Report Bug · ✨ Request Feature

Features

  • 🥚 Raise your pet from an egg - Watch it evolve through 5 stages: Egg → Baby → Child → Teen → Adult
  • 🎨 Custom SVG sprites - Beautiful, colorful pixel-art style characters
  • 🌈 Fully customizable colors - Pick your own colors or use presets
  • 🍖 Feed your Tamagotchi - Keep hunger levels up to maintain health
  • 🎾 Play with your pet - Keep happiness high but watch the energy!
  • 💤 Rest time - Put your pet to sleep to restore energy
  • 🛁 Stay clean - Regular cleaning keeps your pet healthy
  • ❤️ Health system - Neglect your pet and its health will decline
  • 🎨 Multiple themes - Classic, Neon, Pastel, and Dark themes
  • 📍 Configurable position - Show in left sidebar, right sidebar, panel, or as an editor tab
  • 💾 Persistent state - Your pet remembers its stats even when VSCode is closed

Installation

From VSIX (Local)

  1. Clone this repository
  2. Run pnpm install
  3. Run pnpm run compile
  4. Run pnpm run package to create a .vsix file
  5. In VSCode, go to Extensions → ⋯ → Install from VSIX

From Marketplace (Coming Soon)

Search for "VSCode Tamagotchi" in the Extensions marketplace.

Usage

Commands

Open the Command Palette (Ctrl+Shift+P / Cmd+Shift+P) and search for:

  • Tamagotchi: Show Tamagotchi - Open the Tamagotchi window
  • Tamagotchi: Feed Tamagotchi - Feed your pet
  • Tamagotchi: Play with Tamagotchi - Play with your pet
  • Tamagotchi: Put Tamagotchi to Sleep - Toggle sleep mode
  • Tamagotchi: Clean Tamagotchi - Clean your pet
  • Tamagotchi: Reset Tamagotchi - Start over with a new egg
  • Tamagotchi: Move to Left Sidebar - Move your pet to the left sidebar
  • Tamagotchi: Move to Right Sidebar - Move your pet to the right sidebar

Settings

Configure your Tamagotchi in VSCode settings:

General Settings

| Setting | Description | Default | | --------------------------- | ---------------------------------------------------------------------- | -------------- | | tamagotchi.position | Window position: sidebar-left, sidebar-right, panel, or editor | sidebar-left | | tamagotchi.petName | Your pet's name | Tama | | tamagotchi.autoStart | Show Tamagotchi when VSCode starts | true | | tamagotchi.updateInterval | How often stats decrease (ms) | 30000 | | tamagotchi.theme | Visual theme: classic, neon, pastel, dark | classic |

Sprite & Color Settings

| Setting | Description | Default | | -------------------------------- | ------------------------------------------ | --------- | | tamagotchi.useCustomSprites | Use custom SVG sprites (disable for emoji) | true | | tamagotchi.colorPreset | Quick color preset for your pet | custom | | tamagotchi.petColors.primary | Primary body color | #ff6b9d | | tamagotchi.petColors.secondary | Secondary/paw color | #c44cff | | tamagotchi.petColors.accent | Accent/highlight color | #ffe14c | | tamagotchi.petColors.blush | Cheek blush color | #ffb3d9 |

Color Presets

Choose from these ready-made color schemes:

| Preset | Description | | ------------ | --------------------------------- | | custom | Use your custom color settings | | sakura | Soft pink cherry blossom theme 🌸 | | ocean | Cool blue ocean depths 🌊 | | sunset | Warm orange and red sunset 🌅 | | forest | Fresh green forest vibes 🌲 | | galaxy | Deep purple space colors 🌌 | | candy | Sweet pastel candy colors 🍬 | | monochrome | Elegant grayscale look ⬜ |

Pet Stats

  • 🍖 Hunger - Decreases over time. Feed your pet to restore.
  • 😊 Happiness - Decreases slowly. Play to make your pet happy!
  • ⚡ Energy - Decreases from activities. Sleep to restore.
  • 🧼 Cleanliness - Decreases over time. Clean regularly!
  • ❤️ Health - Affected by all other stats. Keep everything balanced!

Evolution Stages

Your pet evolves based on age (measured in "ticks"):

  1. 🥚 Egg (0-9 ticks) - Just hatched!
  2. 🐣 Baby (10-49 ticks) - Needs lots of care
  3. 🐱 Child (50-149 ticks) - Growing up!
  4. 🐯 Teen (150-299 ticks) - Almost there
  5. 🦁 Adult (300+ ticks) - Fully grown!

Custom Sprites

VSCode Tamagotchi features hand-crafted SVG sprites for each evolution stage:

  • Egg - A mysterious glowing egg with cracks
  • Baby - A cute blob with an antenna
  • Child - An adorable creature with ears and whiskers
  • Teen - A cool striped pet with pointed ears
  • Adult - A majestic creature with a flowing mane

Plus special states:

  • Sleeping - Curled up with ZZZs
  • Sick - With thermometer and sweat drops
  • Ghost - When your pet passes away (don't let this happen!)

All sprites support custom colors via CSS variables, so you can create your own unique pet!

Development

# Install dependencies
pnpm install

# Compile TypeScript
pnpm run compile

# Watch for changes
pnpm run watch

# Run tests
pnpm test

# Package extension
pnpm run package

Tips

  • Don't let any stat drop below 20% or your pet's health will suffer
  • Balance playtime with rest - too much playing exhausts your pet
  • Your pet's lifecycle pauses when VSCode is closed - no decay while you're away!
  • If your pet dies, use the Reset command to hatch a new egg
  • Try different color presets to find your favorite look!
  • Mix themes and colors for unique combinations

Contributing

Contributions are welcome! Please read our Contributing Guide before submitting a Pull Request.

  • 🍴 Fork the repository
  • 🔧 Make your changes
  • ✅ Ensure tests pass (pnpm test)
  • 📝 Follow Conventional Commits
  • 🚀 Submit a Pull Request

Support

Sponsor

If you enjoy this extension, consider supporting development:

Patreon

License

MIT License - Copyright (c) 2025 Pegasus Heavy Industries LLC

See LICENSE for details.