Status: [LIVE] Endpoints found: https://api.groq.com/openai/v1/chat/completions https://api.groq.com/openai/v1/chat https://api.groq.com/openai/v1/chat/completions` Source: https://github.com/Falasefemi2/golang-update # Daily Activity Review Bot A local daemon and CLI that tracks which apps and windows you use throughout the day, aggregates that usage into a structured summary at day's end, and writes a short narrative report ("what I did today") generated by a free LLM API. This is the Go rewrite of the TypeScript/Effect version. Same architecture, same privacy model, no framework overhead. Raw low-level data (window titles, shell commands) never leaves the machine. Only a pre-scrubbed, aggregated summary is sent to the LLM. ## Features - Polls the active window (app + window title) every few seconds and stores debounced intervals in a local Postgres database. - Ingests higher-signal events when available: - Shell history (append-only tail of `.zsh_history` / `.bash_history` with timestamps). - Git commits across a configured list of repositories (via `git log`). - Produces a single structured, redacted JSON object for the day: total active time, time per category, top apps, git commits, and context-switch density. - Sends that JSON to a free LLM (Groq by default) and renders a 3-5 sentence narrative, a focus-vs-scattered verdict, and a bulleted list of shipped work. - Outputs to the terminal and optionally writes a markdown file to `~/daily-reviews/YYYY-MM-DD.md`. - `daily report` works standalone against any day already in Postgres, independent of whether the tracker is running. ## Privacy model - Keystrokes, screenshots, and clipboard content are never captured. - Full window titles with sensitive content stay in the local Postgres database. - Browser window titles are redacted before they leave the machine: the title is truncated at the first ` - ` separator, and bare URLs are reduced to their domain. Non-browser titles are kept as-is. - The only payload sent to the LLM is the aggregated, redacted daily summary. ## Requirements - [Go](https://go.dev) 1.24+ - PostgreSQL (local instance) - A free [Groq](https://console.groq.com) API key for repor