Skip to content

MauricePutinas/devpet

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

12 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

DevPet โšก

๐Ÿ‡ฌ๐Ÿ‡ง English ย ยทย  ๐Ÿ‡ฉ๐Ÿ‡ช Deutsch

A hand-animated coding buddy that lives on your desktop, watches you code, and writes your dev diary.

MIT License Electron Platform: Windows Zero runtime dependencies Made with love and Claude

DevPet โ€” all five skins side by side, idling on the desktop

DevPet sitting on the desktop

5 hand-animated characters ยท each with up to 8 unique animations ยท 100% local ยท privacy-first ยท no account ยท no telemetry


DevPet is a tiny desktop pet for Windows built with Electron + pure Node. A small hand-animated "coder" character sits on your desktop inside a transparent, always-on-top, click-through window. It watches your coding activity, reacts live, and writes you an automatic developer diary in English or German. It's gamified with XP, levels, coins, and unlockable skins โ€” and it's 100% local: no account, no telemetry, no cloud.

โœจ Features & Highlights

๐ŸชŸ Lives on your desktop A transparent, always-on-top window that's click-through everywhere except over the pet itself โ€” it never steals focus or blocks your clicks.
๐ŸŽฌ Hand-animated 5 characters, 1 free + 4 unlockable, each with up to 8 unique animations, rendered as smooth transparent VP9 WebM with real alpha and crossfaded by a 2-layer video engine.
๐Ÿง  Watches you code Three local activity sources โ€” git commits, file edits/bursts, and AI coding sessions (Claude Code + Codex) โ€” each independently toggleable.
๐Ÿ’ฌ Reacts live On every detected event it plays a reaction, shows a DE/EN speech bubble, and can speak it aloud via free Edge TTS (each skin has its own voice).
๐Ÿ“” Auto dev diary Daily entries generated from your real activity, grouped by project, with stats โ€” works fully offline, optionally enhanced by an AI provider.
๐ŸŽฎ Gamified Earn XP and coins as you code, level up with confetti, and spend coins in the built-in Coin Shop to unlock new skins.
๐Ÿ”’ Privacy-first Everything runs on your machine. The only thing that can ever leave is an optional AI diary summary โ€” with your own API key, only if you turn it on.
๐Ÿชถ Featherweight Zero runtime dependencies except Electron. (jimp is dev-only tooling.)

๐ŸŽฌ Meet the Squad

5 hand-animated coder characters โ€” one free default, four unlockable in the in-app Coin Shop.

Emoji Name Personality Status
โšก Volt Energetic BVB-yellow spark Free default
๐Ÿ”ฅ Blaze Fiery and effortlessly cool Unlock for 600 ๐Ÿช™
๐Ÿ’ซ Nova Cosmic dreamer with starlight in their eyes Unlock for 1500 ๐Ÿช™
๐Ÿ˜ˆ Hex Dark trickster who codes by candlelight Unlock for 3000 ๐Ÿช™
๐Ÿ‘‘ Root The crowned superuser โ€” root access to everything Unlock for 5000 ๐Ÿช™

All five DevPet skins side by side

Every skin shares a core animation set, and each one has an exclusive personal signature move that plays once when your mouse approaches.

โšก Volt โ€” the energetic spark

Volt animations: Idle, Look, Signature, Cheer, Stand up, Grab

Idle ยท Look ยท Signature (a football/soccer goal celebration โšฝ) ยท Cheer ยท Stand up ยท Grab

๐Ÿ”ฅ Blaze โ€” fiery cool

Blaze animations: Idle, Look, Signature, Cheer, Stand up, Grab

Idle ยท Look ยท Signature (a cool flame snap ๐Ÿ”ฅ) ยท Cheer ยท Stand up ยท Grab

๐Ÿ’ซ Nova โ€” cosmic dreamer

Nova animations: Idle, Look, Signature, Cheer, Sleep, Grab

Idle ยท Look ยท Signature (a starlight call ๐Ÿ’ซ) ยท Cheer ยท Sleep ยท Grab

๐Ÿ˜ˆ Hex โ€” dark trickster

Hex animations: Idle, Look, Signature, Cheer, Sleep, Grab

Idle ยท Look ยท Signature (a dark-power rune circle ๐Ÿ˜ˆ) ยท Cheer ยท Sleep ยท Grab

๐Ÿ‘‘ Root โ€” the crowned superuser

Root animations: Idle, Look, Signature, Cheer, Coding, Sleep, Grab

Idle ยท Look ยท Signature (a royal command ๐Ÿ‘‘) ยท Cheer ยท Coding (an exclusive typing animation during AI/coding sessions) ยท Sleep ยท Grab

The animation set

Animation When it plays
๐Ÿช‘ Idle Sits and works at the keyboard.
๐Ÿ‘€ Look Reacts and notices when your mouse cursor comes near.
โญ Signature An exclusive personal move, unique per skin, plays once when your mouse approaches.
๐ŸŽ‰ Cheer Celebrates on a git commit, on level-up, or when you click/poke it.
๐Ÿ˜ด Sleep Dozes off after 75 seconds of inactivity ๐Ÿ’ค.
๐ŸŒ… Stand up Wakes back up when you return.
โœŠ Grab A "picked-up" reaction while you drag it around.
โŒจ๏ธ Coding Root ๐Ÿ‘‘ only โ€” an extra exclusive typing animation during AI/coding sessions.

๐Ÿง  What it watches

DevPet has three local monitors. They never touch the network โ€” they read activity from your own machine, and each one can be toggled on or off.

Monitor What it does Reward
๐ŸŒฑ Git commits Watches the git history of your watched folders. ๐Ÿ† the biggest reward
๐Ÿ“ File edits / bursts Notices when you're actively editing files in your watched folders. small
๐Ÿค– AI coding sessions Reads Claude Code (~/.claude/projects/**/*.jsonl) and Codex session logs to notice when you're pair-programming with an AI. medium

When something is detected, the pet plays a reaction animation, pops a speech bubble comment (DE/EN), and can speak it aloud. A level-up triggers a celebration with confetti and a spoken cheer. ๐ŸŽŠ

๐Ÿ“” The Dev Diary

A separate window that writes your developer diary for you. Daily entries are generated from your real activity, grouped by project, with stats: commits, files touched, AI sessions, and the time span you worked.

The DevPet Dev Diary window showing stats and an activity feed

๐Ÿ’ก The diary works fully offline with a built-in template writer (English and German). Optionally, it can be enhanced by an AI provider for nicer prose and per-project summaries โ€” DeepSeek (cheapest, preferred), MiniMax, or Claude/Anthropic. API keys are 100% optional and are never required for the core app.

Open the diary by double-clicking the pet or via the tray.

๐ŸŽฎ Leveling & Coin Shop

Your pet levels up as you code. Every event earns XP and coins ๐Ÿช™ โ€” commits are worth the most.

Event XP Coins ๐Ÿช™
๐ŸŒฑ Git commit 25 10
๐Ÿค– AI session 8 3
๐Ÿ“ File burst 3 1
โฌ†๏ธ Level-up bonus โ€” +20

The level curve is a smooth square-root curve:

Level 2 3 4 5 โ€ฆ
Total XP 50 200 450 800 โ€ฆ

Spend your coins in the built-in Coin Shop (inside the diary window) to unlock new skins โ€” Blaze, Nova, Hex, and Root. Your level and coin balance also show in the tray.

The DevPet Coin Shop showing unlockable skins

๐Ÿ•น๏ธ Interactions

Action Result
๐Ÿ–ฑ๏ธ Drag Move the pet anywhere on screen.
๐Ÿ–ฑ๏ธ Mouse-wheel scroll over it Resize the pet.
๐Ÿ–ฑ๏ธ๐Ÿ–ฑ๏ธ Double-click Open the Dev Diary.
๐Ÿ‘‰ Click / poke Makes it cheer and speak.
๐Ÿ–ฑ๏ธ Right-click Opens the context/tray menu.

Tray menu: switch skin ยท open diary ยท reset position to screen ยท toggle autostart ยท quit.

The window is click-through everywhere except over the pet itself, so it never gets in the way of your work.

๐Ÿ”’ Privacy & API keys

  • 100% local. No account. No telemetry. No cloud sync.
  • The only thing that can ever leave your machine is an optional AI diary summary โ€” generated with your own API key, only if you choose to enable it.
  • API keys are optional and stored locally in .secrets/ or via environment variables. They are never required โ€” without one, the diary uses the built-in offline template writer.

๐Ÿš€ Getting Started

Requirements: Node 18+ and Windows 11 (the pet window is tuned for Windows).

git clone https://github.com/MauricePutinas/devpet
cd devpet
npm install
npm start

That's it โ€” your pet appears on the desktop. ๐ŸŽ‰

๐ŸชŸ Windows one-click: instead of the terminal you can just double-click Start DevPet.bat โ€” it installs dependencies on first run and launches the pet (no console window stays open).

Optional โ€” enable AI diary summaries: drop an API key file in .secrets/deepseek.key (or .secrets/minimax.key). Otherwise the diary happily uses the offline template writer.

๐Ÿงฉ Tech & How it's built

  • Electron + pure Node โ€” zero runtime dependencies except Electron. (jimp is a dev-only asset tool.)
  • Transparent pet window โ€” always-on-top, click-through, focus-safe, tuned for Windows 11.
  • 2-layer video engine โ€” crossfades between transparent VP9 WebM clips with real alpha for buttery-smooth transitions.
  • Asset pipeline โ€” raw hand-drawn animations are run through a pipeline (scripts/normalize-poses.js, scripts/process-chroma.js, โ€ฆ) that chroma-keys, floor-anchors, and exports each pose as a clean transparent WebM.
  • Local monitors โ€” git, file-watch, and AI-session readers, all on-device.
  • Free Edge TTS โ€” gives every skin its own voice with no API cost.

๐Ÿ“ Project Structure

devpet/
โ”œโ”€ src/
โ”‚  โ”œโ”€ main/                # Electron main process
โ”‚  โ”‚  โ”œโ”€ monitors/         # git, file & AI-session watchers
โ”‚  โ”‚  โ”œโ”€ diary/            # diary store + reporter
โ”‚  โ”‚  โ”œโ”€ tray.js ยท tts.js  # tray menu + Edge TTS voices
โ”‚  โ”‚  โ””โ”€ progress.js       # XP, levels & coins
โ”‚  โ”œโ”€ preload/             # context-bridge API
โ”‚  โ”œโ”€ renderer/
โ”‚  โ”‚  โ”œโ”€ pet/              # transparent pet window + state machine
โ”‚  โ”‚  โ””โ”€ diary/            # dev-diary + Coin Shop UI
โ”‚  โ””โ”€ shared/              # creatures list, shared helpers
โ”œโ”€ scripts/                # asset pipeline (raw anim โ†’ transparent WebM)
โ””โ”€ assets/
   โ””โ”€ creatures/<id>/      # per-skin WebM animations + thumbnails

๐Ÿ“œ License

Released under the MIT License. Built with โค๏ธ and Claude by Maurice.


๐Ÿ“ Changelog

๐Ÿค– This section updates automatically on every push via a GitHub Action, so anyone can see exactly what changed and when.

2026-06-29

  • ๐Ÿ› fix: stop .gitignore from excluding src/diary dirs โ€” add missing diary UI + reporter + store a64749d
  • โœจ feat: crash-proof config (auto-backup + atomic write + recovery) and live-refresh the diary on focus 31c7e55
  • ๐Ÿ› fix(changelog): match the bot's update commits by subject prefix, keep human commits 61e5d6c
  • ๐Ÿ› fix(changelog): exclude the bot's own [skip ci] commits from the changelog 4b1c364
  • โœจ feat: add one-click Start DevPet.bat launcher (Windows) + README note bec4eae
  • ๐Ÿ“ docs: lighter, funnier LinkedIn post (just-for-fun vibe) 14216ba
  • โœจ feat: initial release โ€” DevPet desktop pet with auto dev-diary, 5 animated skins & gamified coin shop 939642a

โšก DevPet โ€” your code has a witness now.

About

A cute desktop pet that watches you code & writes your dev diary ๐Ÿพโšก โ€” Electron, 5 animated skins, gamified coin shop, auto changelog.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors