NOTEDASHBOARD
hyojinyang-ai

todo-cat

A stress-free floating To-Do for macOS with a walking cat pet, calendar import, Pomodoro and Obsidian dashboard/retro automation

todo-cat 🐱🌱

A stress-free local To-Do for macOS: an always-on-top floating panel, Outlook events imported as tasks every morning, a Pomodoro timer, AI-drafted retros and an Obsidian dashboard β€” plus a cat that walks along the top of the panel while you work.

Built with Python (pyobjc) + WKWebView. No server, no account; everything lives on your Mac and in your notes folder.

Built for and by one designer, pair-programming with Claude. It works on any Mac (see Install), but treat it as a well-loved personal tool rather than a polished product.

Features

  • Floating panel β€” add / edit / delete / complete tasks, category dropdown, drag to move, resize, opacity, Korean/English UI
  • Calendar import β€” at 08:00 today's events become Meeting tasks with their duration (via macOS Calendar/EventKit, or an ICS link)
  • Pomodoro β€” focus/break timer with the cat pacing beside you, a short system sound when a session ends (Purr by default, configurable), remaining time in the menu bar
  • Obsidian automation β€” Daily Log (WORK SESSIONS / FOCUS / UNFINISHED / NEXT STEPS), a living Dashboard with a 16-week heatmap, monthly review page, and an 18:00 bilingual (ko/en) AI retro via Claude Code CLI
  • Cat pet β€” sits on the panel when idle, walks for 60 s after you interact, opens its eyes when you add a task and blushes when you complete one, settles into a loaf after 5 min without panel use (cats with loaf frames). Pick one or more cats in Settings β†’ Cats
  • Native citizen β€” Dock icon, menu bar item, standard app menu (⌘C/⌘V work), close/minimize traffic lights, launches at login

Layout

todo-cat/
β”œβ”€β”€ app/          panel.py (app: windows, menu bar, pet, calendar, scheduler)
β”‚                 panel.html (single-file UI: Todo / Pomodoro / Settings, koΒ·en)
β”‚                 todo.py (data core, Obsidian writers, AI retro, CLI)
β”œβ”€β”€ assets/       pets/<cat>/ per cat: sitting + expressions, 8 walk frames, 8 loaf frames (+ mirrored)
β”‚                 pomo_zen.png
β”œβ”€β”€ tools/        mkframes.py, mksit.py β€” regenerate cat frames from source artwork (per cat folder)
β”œβ”€β”€ install/      setup.sh Β· Info.plist Β· AppIcon.icns Β· LaunchAgent template
β”œβ”€β”€ skill/        todo-cat/ β€” Claude skill: deploy, maintain, extend
β”œβ”€β”€ state/        runtime state (settings, caches, pid) β€” git-ignored
└── README Β· CHANGELOG Β· CLAUDE.md

Paths inside the app are resolved from the file location (ROOT = parents[1]), so the repo can live anywhere as long as install/setup.sh is used to (re)create the app bundle.

Configuration

install/setup.sh writes config.json (git-ignored) at the repo root:

{ "vault_path": "~/Documents/MyVault", "vault_name": "MyVault",
  "lang": "en", "import_hour": 8, "eod_hour": 18, "loaf_after": 300, "claude_bin": "" }
  • vault_path β€” where Tracker/ (tasks, logs, retros, dashboard) is written. Any folder works; with an Obsidian vault the links and embeds come alive.
  • vault_name β€” Obsidian vault name for obsidian:// deep links; leave empty to open files with the default Markdown app.
  • lang β€” default UI language (en / ko), changeable in Settings.
  • import_hour / eod_hour β€” when events become tasks and when the day auto-closes.
  • loaf_after β€” seconds without panel use before cats with loaf frames settle into a loaf (default 300).
  • claude_bin β€” path to the Claude Code CLI if it is not on PATH (AI retro only).
  • sound β€” default end-of-session sound for new installs (a macOS system sound name or a file path). Users change it in Settings β†’ Pomodoro, which lists all system sounds with a preview.

Data (not in the repo)

  • <vault>/Tracker/tasks.json, Tracker/{Log,Monthly,Retros}/, Dashboard.md, assets/heatmap.svg
  • Settings, tokens and caches: state/ (git-ignored)

Install

Requirements: macOS 14+ and python.org Python 3.13 (Homebrew Python lacks the GUI binary). After installing it, run /Applications/Python 3.13/Install Certificates.command once β€” otherwise HTTPS calendar (ICS) links fail with CERTIFICATE_VERIFY_FAILED. Optional: Obsidian, a calendar account in macOS Calendar, Claude Code CLI for the AI retro.

git clone https://github.com/hyojinyang-ai/todo-cat ~/.claude-todo && ~/.claude-todo/install/setup.sh

The installer detects your Obsidian vaults, writes config.json, builds ~/Applications/To-Do.app, and registers it to launch at login. Then add your calendar account in System Settings β†’ Internet Accounts (calendar on), click Re-check calendar source in the panel and allow calendar access.

Adding your own cat

Every folder in assets/pets/ that contains a cat.png shows up in Settings β†’ Cats β€” no code change. Only sprout/ ships with the repo; other folders are git-ignored, so cat packs can live in their own repos and be dropped in.

A cat folder holds (all RGBA PNG, each with a mirrored _flip copy): cat, pet_alert, pet_happy (sitting + expressions) and walk1..8 (walking right). Optional: loaf1..8 (sitting β†’ loaf; without them the cat just keeps sitting) and pomo.png (shown during a Pomodoro; without it the cat just sits). The pet window is 108 pt tall and as wide as the widest frame.

To build Sprout-style frames from artwork: python3 tools/mksit.py <sitting-cat.png> <cat> and python3 tools/mkframes.py <walk-sprite-sheet.png> <cat> (8 frames in a row, walking right). White backgrounds become transparent automatically. Both tools have the frame/eye positions of Sprout's source artwork hard-coded β€” measure yours and adjust them.

Maintaining with Claude

skill/todo-cat/ is a Claude skill (Claude.ai Projects / Claude Code). Loaded in a fresh conversation, Claude already knows the install and deploy procedure, the architecture and the list of pitfalls.

  • Claude Code: CLAUDE.md at the repo root loads automatically; symlink the skill to ~/.claude/skills/todo-cat.
  • Claude.ai: paste skill/todo-cat/SKILL.md into the project instructions or connect the repo as project knowledge.
  • History: CHANGELOG.md.

Development notes

  • Smoke test for the Pomodoro completion path (real WebKit bridge): python3 tests/smoke_pomodoro_end.py β€” exit 0 means no crash; runs silently and does not log a pomodoro
  • Redeploy: skill/todo-cat/scripts/deploy.sh (kills all instances, clears the pid file, restarts via launchd)
  • Images must be RGBA PNG β€” palette PNGs lose alpha on macOS
  • Never load SVG with NSImage (fills are ignored) β€” draw with AppKit or use PNG. Obsidian renders SVG fine, which is why the heatmap is SVG.

License

MIT β€” see LICENSE. The cat artwork was generated for this project and is shared under the same terms.

Related

How to Install

  1. Download the dashboard markdown file from GitHub
  2. Drop it into your vault (anywhere)
  3. Install the Homepage plugin and point it at the file
  4. Enable any listed CSS snippets for the intended look

Stats

Stars

0

Forks

1

License

MIT

Last updated 25d ago

Categories

Tags

desktop-petmacosobsidianpomodoropyobjctodo