← all apps

Can I code RescueTime?

Automatic time tracking needs a background process watching which app or window has focus — a real OS-level integration, not a form to fill in. Once that data is flowing, the reporting on top is the easy part.

VIBE SCORE 89/100

how this is worked out

Why CanICodeThis says Borderline

  • Once you have a stream of 'app X was focused from time A to time B', daily/weekly summaries are ordinary aggregation
  • Categorizing apps and sites into productive/distracting buckets is a lookup table you seed and refine
  • A simple 'time spent today' dashboard is standard charting

Read before building

  • Reliably detecting the focused app/window across macOS, Windows, and Linux needs real OS-level integration work per platform
  • Their goal-setting and 'FocusTime' website-blocking features are a second product on top of raw tracking
  • Detecting idle time accurately (you stepped away but left a window open) takes real care to avoid overcounting

Bill of materials

The parts this build actually needs, each rated on its own — the average is the Vibe Score above.

Landing page99
CRUD database95
OS-level integration72

The build spec

Build me an automatic time tracker: a background app (menu-bar or tray) that logs which application has focus, with timestamps, to a local database. A simple category mapping (this app = 'productive', that one = 'distracting') I can edit. A daily/weekly dashboard showing time by category and by app. Start with one platform (macOS or Windows), not all three.

Standard Parts/Free Alternatives

Don't feel like building it? These are already made, open-source, and free.

categorytime tracking
time to codea weekend
Borderline
their price$12/mo · $144/yr
last checked2026-08 · source ↗

Questions

Can I code RescueTime?

Borderline. Automatic time tracking needs a background process watching which app or window has focus — a real OS-level integration, not a form to fill in. Once that data is flowing, the reporting on top is the easy part.

How much does RescueTime cost?

RescueTime costs $12/mo (about $144/yr) as of 2026-08. That's what a working rebuild would save you.

What do I lose by building it myself?

Reliably detecting the focused app/window across macOS, Windows, and Linux needs real OS-level integration work per platform Their goal-setting and 'FocusTime' website-blocking features are a second product on top of raw tracking Detecting idle time accurately (you stepped away but left a window open) takes real care to avoid overcounting

Is there a free alternative to RescueTime I don't have to build?

Yes — ActivityWatch are open-source options worth trying before you build your own. Details are in the standard parts section on this page.