Loading page...Загружаем страницу...正在加载页面...
AtlasRepo

My hours now write themselves every 15 minutes, from a 4B model that never leaves my Mac

说明与用途

在 Mac 上使用本地 Gemma 4 模型实现自动化时间跟踪,确保隐私并消除手动记录。

问题

The author could not track where hours were spent, had to guess timesheets, and disliked cloud apps watching screens.

结果

Automated, privacy‑preserving daily time tracking on a Mac, eliminating manual logging and cloud dependencies.

工作流

  • Collect front app and window title every 10 s
  • Collect git branch, commit subjects and changed file names every 5 min for selected folders
  • Every 15 min run local Gemma 4 (e4b) via Ollama to convert slot into blocks
  • Validate blocks with code checks (evidence, project, topic, summary rules)
  • Generate card with where‑was, today, yesterday, hours per project
  • Copy timesheet line to clipboard
  • Write Markdown journal page and hours CSV at day end

证据

Every 15 minutes Gemma 4 e4b, running in Ollama on the same Mac, turns each finished slot into blocks of work: a project, a topic and a short summary.

来源

No screenshots, no keystrokes, no clipboard reading, no browser history, no file contents. Nothing leaves my Mac.

来源

The collector reads the front app from NSWorkspace and the focused window's title through the Accessibility API.

来源

  • 记录日期: 2026-10-24T22:11:22.038Z