Back to all work

Puco

A little 3D desk robot that keeps an eye on your computer. CPU, memory, temperature and battery on LED gauges, plus a macOS notch island that only speaks up when something needs you.

Year
2026
Role
Solo. Design, build, release
Stack
Tauri 2, Rust, Svelte 5, Three.js
Ships as
Installers for macOS, Windows and Linux on GitHub Releases
The Puco widget: a white robot with a glowing face above LED screens for CPU, memory and temperature, and a list of the busiest processes

The problem

System monitors are either a wall of graphs or a menu bar number you never look at.

I wanted something I'd glance at on purpose: the state of the machine as a character on the desk, that stays quiet until a problem is real and then says what caused it.

What I built

A Rust poller and a WebView robot.

A Rust thread reads system stats once a second, ranks the busiest processes and decides when to alert. The WebView draws a Three.js robot whose LED face moves between chill, workout and meltdown moods with load and temperature, and gets sleepier at night. It has around 20 reactions to clicks, petting, rapid pokes and CPU spikes.

It lives in the menu bar or system tray, makes no network requests, and can quit a runaway process with a two-step confirm.

  • telemetry1 Hz polling, top processes and debounced alerts. The alert logic is unit-tested.
  • robotThe 3D robot, its LED face screen and the act table its reactions come from.
  • ledA dot-matrix renderer with bloom and a 3×5 pixel font for the gauges.
  • islandA macOS notch overlay that sits flush with the camera and opens only for a glance or a heads-up.

Alerts that fire once

Each alert sends a native notification and a notch heads-up, then stays quiet until the value recovers.

AlertFiresRe-arms
CPU loadAbove 85% for 15 sBelow 70%
MemoryAbove 90%Below 85%
Battery lowBelow 20% while dischargingOn charging or recovery
Fully charged100%After dropping below 95%

Hard decisions

The calls that shaped it.

  • Cap it at 30 fps

    An always-on widget can't be the thing eating your CPU. Measured at 60 fps, WebKit's GPU process cost about 40% of a core, so the frame loop is capped at 30.

  • Edge-triggered, with hysteresis

    An alert fires once when a threshold is crossed and re-arms only after the value recovers past a lower line. A machine hovering at 85% gets one notification, not one every second.

  • A panel, made before it is shown

    macOS only lets a non-activating panel float over another app's full-screen Space. The island window is re-classed to an NSPanel at startup, while still hidden, because converting a window that was already shown leaves it stuck off the Space.

  • Built by CI, not a laptop

    Every installer comes from GitHub Actions, and from v0.1.2 each carries a signed build attestation you can check with gh attestation verify. The builds aren't code-signed yet, and the README says so with the steps to open them.

Where it is now

Released for three operating systems.