A tiny, squishy jelly that lives in your Mac menu bar. Think tamagotchi: feed it, play with it, give it a bath, put it to bed and let it study. Ignore it and it gets sick… and eventually dies.
Free and open source. Native SwiftUI, no dependencies. English and Italian.
- Tap the egg 10 times to hatch it, then it grows: baby (day 1), child (days 2–3), adult
- The adult form depends on how well you cared for it: shiny, classic or grumpy
- Stats: Fullness, Hygiene, Energy, Fun, Smarts, Health and an overall Happiness index. Click the rings for details
- Actions: Feed, Play, Bath, Sleep/Wake, Study, Medicine. Each one takes a little time and energy, and pays off when it ends. A neglected stat recovers slowly, so hours of neglect take several actions to undo. Hover a button to see the numbers
- Study: Moffo studies for 3 minutes, then tells you a useful or curious fact
- Poops every ~4 hours. Too many poops or an empty stat make it sick, and a sick Moffo loses health until it dies
- Ignored, it lives about 2 days. While the Mac is off or asleep time runs at ¼ speed, so a weekend away is fine
- A small graveyard keeps your past Moffos
- macOS notifications when it needs you, an optional "Open at login" checkbox
- The menu bar icon changes with its mood and shows a progress ring while it's busy
- macOS 14 (Sonoma) or later
- Xcode or the Xcode Command Line Tools (Swift 5.9+) to build it
Download Moffo.dmg from the latest release, open it and drag Moffo into Applications. Every push to main publishes a new release, and Moffo shows a banner in its window when one is out: download it and drag it over the old one.
The app is ad-hoc signed, not notarized. The first time macOS blocks it: open System Settings → Privacy & Security and click "Open Anyway". Apple Silicon only for now.
Or build it yourself:
git clone https://github.com/andrearufo/moffo.git
cd moffo
./scripts/build-app.sh
cp -R build/Moffo.app /Applications/
open /Applications/Moffo.appTo start Moffo at login, tick "Open at login" at the bottom of its window.
swift test # simulation tests
./scripts/build-app.sh && open build/Moffo.appTime warp for testing: MOFFO_SPEED=60 makes one real minute last one Moffo hour.
pkill Moffo; MOFFO_SPEED=60 build/Moffo.app/Contents/MacOS/MoffoMoffo keeps a diary of what it does (actions, sickness, time away, hourly stats, errors) in ~/Library/Logs/Moffo/moffo.log: click "Log" in its window, or tail -f ~/Library/Logs/Moffo/moffo.log.
Reset Moffo (new egg, empty graveyard): pkill Moffo; defaults delete dev.rufo.moffo
Try another language: defaults write dev.rufo.moffo AppleLanguages '(en)' (remove it with defaults delete dev.rufo.moffo AppleLanguages). Translations live in Resources/<lang>.lproj/Localizable.strings.
All game rules live in Sources/MoffoCore/Pet.swift, and the facts Moffo learns live in Facts.swift.
MIT

