
I Built a Desktop Tamagotchi Cat with AI Brain in Swift - and It Lives on My macOS Doc
You know that feeling when you're coding at 2 AM and wish someone was there with you? Meet Murchi — a kawaii desktop cat that lives on your macOS dock, walks around your screen, reacts to your music, and now can actually talk to you powered by Gemini AI. ## What is this? Murchi is a desktop Tamagotchi for macOS. A tiny animated cat that: 🐾 Walks on your Dock like it's a shelf 🎵 Detects Apple Music / Spotify and dances (or hates your music 25% of the time) 😿 Goes to the corner and cries if you punish it 🖱️ Dangles from the scruff when you drag it 💬 Chats with you via Gemini AI — in character, as a cat 🐟 Needs feeding, bathing, playing — classic Tamagotchi loop It sits in your menu bar as =^.^= and just... lives there. The Tech Stack (it's cursed and I love it) The entire app is one Swift file . 7000+ lines. No Xcode project. No storyboards. No SwiftUI. Pure AppKit — NSPanel , NSImageView , raw CGContext drawing SVG strings rendered to NSImage — every animation frame is an SVG built in c
Continue reading on Dev.to
Opens in a new tab


