wm94i/Work-Review
Sobre
Rastreia automaticamente quais aplicativos você usou, quais sites visitou e quanto tempo passou em cada aplicativo ao longo do dia.
IA e aprendizado de máquinaO que você pode fazer
- Automatic work context recording — Records foreground apps, browser pages, window titles, usage time, optional screenshots, and OCR text, reducing manual note-taking
- Unified timeline and statistics — Overview, timeline, work assistant, and daily report share the same local records, so you can inspect trends and drill into context
- Questions over local records — Use the basic template or your configured model to answer "What did I do today?", "How long did this task take?", and "What have I been focused on?"
- Daily and periodic reviews — Generate daily, weekly, and monthly reports with Markdown / Obsidian section exports and paragraph management
Crescimento medido de estrelas
- em 24 h
- +2
- em 7 dias
- +17
- em 15 dias
- +21
- em 1 mês
- +32
Variações líquidas em períodos sobrepostos, não totais diários. Medições ausentes ficam em branco. Estrelas indicam interesse, não qualidade.
README.md
Original
Work Review
A local-first personal work review tool that records context, helps you review your day, and generates daily reports.
Automatically organizes the apps you used, websites you visited, window titles, usage time, and optional screenshots into a timeline you can review, analyze, and ask questions about.
Work records are stored locally by default. Enabling cloud models, web tools, external MCP, or remote storage / sync sends the relevant content to the services you configure. AI remains optional.
🔒 For personal use only — local records, optional services you configure.
What It Solves
Work Review is designed for personal work review and helps answer questions like these:
- What did I actually do today?
- What have I been focusing on over the past few days?
- Roughly how much time did a particular task take?
- Which pages, windows, and context did I look at back then?
- How can I quickly put together today's daily report?
The focus is not "monitoring". It is helping you recall, organize, and review your own work process.
Core Capabilities
- Automatic work context recording — Records foreground apps, browser pages, window titles, usage time, optional screenshots, and OCR text, reducing manual note-taking
- Unified timeline and statistics — Overview, timeline, work assistant, and daily report share the same local records, so you can inspect trends and drill into context
- Questions over local records — Use the basic template or your configured model to answer "What did I do today?", "How long did this task take?", and "What have I been focused on?"
- Daily and periodic reviews — Generate daily, weekly, and monthly reports with Markdown / Obsidian section exports and paragraph management
- Assistant extensions — Inspect runs and approvals, maintain personal skills, schedule read-only routines, and approve each external MCP tool call
- Privacy-first and locally controllable — Data is stored in local SQLite by default; AI is optional, and model calls use your own API key without third-party relay
- Desktop Avatar Beta — Shows work status through a desktop avatar and is gradually expanding toward proactive reminders and context assistance
- Three visual styles & light/dark themes — Switch instantly between Quiet Pro (A), Soft Layers (B), and Compact Data (C) with distinct palettes, elevation, shadows, radii, and density in both light and dark modes
- Multilingual UI — Available in Simplified Chinese, English, Traditional Chinese, and Arabic (with RTL layout)
Interface Preview
The screenshots below are captured from the running desktop app with localized UI and representative local data, covering the main workflow and configuration surfaces.
Core Workflow
Overview
Timeline
Timeline Detail
Daily Report
Work Assistant
Integrations
More screenshots: summaries, settings, and about page
Hourly Summary
General Settings
Appearance
AI Models
Desktop Avatar
Privacy
Storage
About
Privacy and Boundaries
Work Review is designed for personal use from the ground up. It is not intended for: employee monitoring · team attendance · performance evaluation · covert tracking
You can control the recording scope as needed:
- Per-app settings: Normal / Anonymize / Ignore — anonymize mode automatically skips screenshots and OCR
- Automatic sensitive keyword filtering · domain blacklist · optional strict unknown-URL anonymization (when enabled, preserves the unknown state instead of substituting stale same-title history)
- Auto-pause on screen lock · manual pause/resume · silent macOS Screen Recording pre-checks without repeated OS prompts when ungranted
- AI only activates after you configure a model; disabled by default
Feature Overview
Automatic Recording
- Foreground apps (with cross-platform native icons), window titles, browser URLs (Chrome / Edge / Arc / Safari / Firefox / Zen, etc.), usage duration, and category records
- Optional screenshots and OCR with multi-display strategies
- Keyboard/mouse activity + screen-change idle detection to reduce false records
- Low-memory background footprint: bounded history caches, deferred thumbnails, idle OCR worker reaping, and skipped heavy DOM updates while hidden
- Timeline review for pages, windows, and context from any time period
Smart Organization
- Work assistant based on local records, with basic template, AI-enhanced modes, and dynamic opening prompts after a model is configured
- Overview with answer-first insights: one-sentence summary, KPI cards with week-over-week deltas, and a "today rhythm" visual card (category composition bar + per-day investment chart)
- Top websites aggregated by domain with proportional duration bars, browser sources, page counts, duration, inline expansion, and editable semantic categorization (with domain search & uncategorized filter when expanded)
- Duration statistics, category filtering, trend comparison, natural-language time ranges, and hourly activity across Today, Week, Date, and Range views
- Project time attribution by application, window title, domain, and path rules, plus focus, context-switch, and interruption metrics
- Fragments grouped into continuous work sessions
- Built-in categorization knowledge base (~140 domains + 70 apps) with AI auto-learning that backfills history
Daily Reports and Review
- Structured daily reports with TL;DR insight line, reference KPIs, and proof data panel
- Day / Week / Month periodic reviews with incremental Markdown / Obsidian section export and selectable report reading/editing fonts
- Export dropdown (Markdown / range merge / copy full text) and generation settings drawer (presets / system prompt override / paragraph management)
- Skeleton screen during generation and prominent yesterday-report banner
- Historical review, auto-export, paragraph-level pin/hide/restore controls, with cached AI section ordering
- AI-enhanced prompt attachments and custom model settings
- Website semantic categorization: changing a domain category automatically backfills history
- Multi-segment work time: e.g. morning + afternoon, break time excluded
Assistant Extensions
Open Work Assistant → Assistant Extensions to manage:
- Run History: inspect status, tool approvals, data boundaries, and context compaction events; input and error previews redact common credentials
- Skills: create or edit local
skills/<name>/SKILL.mdworkflows, loaded on demand in work-review mode - Scheduled Tasks: daily, interval, or manual triggers while the app is running; read-only execution uses local statistics or a local model by default, with explicit cloud-model opt-in for each routine
- Connected Tools (MCP): connect HTTP MCP services with approval for every tool call; public endpoints require HTTPS and loopback endpoints require explicit permission. General chat, bots, and background routines do not use them
Use Settings → Storage for CSV / JSON export, backup, and restore. Back up the complete data directory before upgrading; 1.2.0 automatically migrates the database to schema 4. In-app backups exclude personal skills, routines, and MCP configuration: separately secure skills/, agent_routines.json, and mcp_clients.json. Restore preserves these files on the destination machine.
Workspace, Tray & Updates
- Three visual styles: Quiet Pro (A) (crisp flat workspace, zero shadows), Soft Layers (B) (plush radii, layered shadows, soft ambient depth), and Compact Data (C) (narrow sidebar and dense spacing across pages), all supporting light/dark/system themes and optional custom backgrounds
- Continuous-scroll Settings: Section navigation rail, sticky frosted-glass floating Save / Discard bar when scrolled with unsaved edits, and
⌘S/Ctrl+Ssave shortcut - Menu bar / System tray quick actions: Live status & today's duration header, dual-state active/paused tray icons & tooltip, quick jumps to Timeline / Today's Report / Settings, timed pause (15 / 30 / 60 min with auto-resume), and one-click screenshot toggle
- Non-intrusive updates: Silent startup update checks with a sidebar badge and actionable toast, plus a rich Update Dialog supporting version comparison, progress, retry, direct relaunch, optional pre-release channel, and proxy-bypass fallback
AI Modes
The core of Work Review is always local recording. AI's role is to make records easier to read and review, not a prerequisite for usage.
| Mode | Description |
|---|---|
| Basic Template | Zero configuration, outputs stable structured results |
| AI Enhanced | Calls your self-configured model service for more natural Q&A and summaries |
Supported providers: Ollama (local) / LM Studio (local) / OpenAI compatible / DeepSeek / Qwen / Zhipu / Kimi / Doubao / MiniMax / SiliconFlow / Gemini / Claude / OpenRouter / Groq / xAI Grok / Mistral / Custom endpoint
Quick Start
- Download the installer for your platform from Releases
- On macOS, grant Screen Recording and Accessibility permissions (and Input Monitoring if you enable desktop avatar linkage)
- Let it run in the background for a while
- Check the Overview / Timeline / Daily Report to see your recorded activity
| Platform | Installer |
|---|---|
| macOS (Apple Silicon / Intel) | .dmg |
| Windows | .exe / portable .zip |
| Linux x86_64 (X11 / Wayland) | .deb / .rpm / .AppImage |
| Linux ARM64 (aarch64) | .deb / .rpm / .AppImage |
macOS: Screenshots require "Screen & System Audio Recording" ("Screen Recording") permission, and avatar linkage requires "Accessibility + Input Monitoring". When Screen Recording is not yet granted, Work Review skips screenshots silently without triggering repeated OS permission popups while continuing to track app usage. If you see a "damaged" warning on first launch: sudo xattr -rd com.apple.quarantine "/Applications/Work Review.app". Before replacing /Applications/Work Review.app manually from a downloaded .dmg, quit the background tray process first from the menu bar icon (Quit or ⌘Q, since closing the window hides it to the tray; in-app Update & Restart replaces it automatically). Starting with v1.2.2, an in-app 3-permission recovery guide covers Screen Recording, Accessibility, and Input Monitoring with one-time stale ad-hoc TCC cleanup on upgrade, auto-refresh on window focus, and one-click relaunch; if permissions still fail after an update (even when the toggle still looks enabled), open System Settings › Privacy & Security › Screen & System Audio Recording / Accessibility (and Input Monitoring if avatar linkage is enabled), select any old Work Review entries and remove them with -, then click + or drag /Applications/Work Review.app back in, enable it, and restart Work Review (see #143).
Windows: Depends on Microsoft Edge WebView2 Runtime.
Windows portable mode (available in v1.1.4-rc.2, #182):
- The portable ZIP includes an empty
Datafolder. When it exists beside the EXE, the database, configuration, screenshots and update settings stay there, taking priority over this PC's saved location without adding a settings toggle. Without it, existing storage behavior is unchanged. - No data is imported automatically. Back up and exit completely before copying your full data directory into
Data; move the EXE andDatatogether. An unreadable or unwritable folder stops startup with an error instead of silently falling back. - To update, download the portable ZIP, exit, replace the EXE and preserve
Data; do not run the installer. External data locations cannot be selected in portable mode. After exiting and backing up, movingDataaway restores this PC's normal data location. - WebView2 cache, autostart registration and user-selected external export paths remain system-managed.
Datamay contain API keys: never share it publicly.
v1.2.2 stable includes the Windows installer and portable ZIP, redesigned A/B/C UI styles, refined app/tray icons & menu bar quick actions, improved Frequent Sites ranking, memory optimizations, cross-platform native icon & browser URL fixes, silent update checks, and macOS permission recovery. See the English release notes or full changelog.
Windows 11 Smart App Control: Windows packages currently have no commercial Authenticode signing, so Windows may block startup. Download from the official release page; follow administrator policy on managed devices. See #139.
Linux: Screenshots and window tracking depend on the current session type and toolchain.
Dependency details
# Base
sudo apt install xprintidle tesseract-ocr
# X11
sudo apt install xdotool x11-utils scrot
# Wayland: gdbus (GNOME) / kdotool (KDE) / swaymsg (Sway) / hyprctl (Hyprland)
# Screenshots: grim / gnome-screenshot / spectacle
# RPM-based distributions
sudo dnf install xprintidle tesseract xdotool xorg-x11-utils gnome-screenshot procps-ng
sudo zypper install xprintidle tesseract-ocr xdotool xorg-x11-tools gnome-screenshot procps
AppImage is not a universal package for every Linux distribution. The GLIBC compatibility gate checks only the main program ELF inside each Linux release package; it does not scan every bundled library or plugin. The current maximum allowed GLIBC version is 2.35. The actual requirement of each build is shown in the release workflow's GLIBC check output.
Ubuntu 24.04 / 24.10 Wayland (GNOME 46–47) users experiencing screenshot flash or shutter sound can use the one-click install script to fix it automatically:
bash scripts/deb/reinstall.sh # deb method (recommended)
bash scripts/deb/reinstall.sh --dry-run # preview operations
See scripts/ubuntu-wayland-README.md for details.
KDE Plasma / Wayland startup crash (Fedora, Arch, openSUSE, …): If the app quits immediately with Gdk-Message: Error 71 (Protocol error) dispatching to Wayland display., it is an upstream webkit2gtk/GTK bug on Wayland (see tauri#10702), most common on KDE Plasma + NVIDIA. Recent builds already inject WEBKIT_DISABLE_DMABUF_RENDERER=1 at startup. If you still hit it on an older build, launch it with the same workaround manually:
WEBKIT_DISABLE_DMABUF_RENDERER=1 ./Work_Review
If that still fails, force the X11 backend as a last-resort fallback. This may render worse on some Wayland desktops:
GDK_BACKEND=x11 ./Work_Review
Extended Capabilities (Beta)
Desktop Avatar
Uses a standalone desktop pet window to reflect idle / working / reading / meeting / music / video states.

Still being actively refined — interaction linkage, state expression, and preset details will continue to improve.
Bot Integration (Telegram / Feishu / DingTalk / WeCom)
Query records and generate daily reports remotely from Telegram / Feishu / DingTalk / WeCom via local API + multi-device registration. Supported commands: /devices, /report, /generate, etc. WeCom prefers the intelligent-bot long connection (Bot ID + Secret, no public URL); only one live connection is allowed per bot. Restricted to personal and own multi-device use only.
Localhost API
After Localhost API is enabled, the app exposes a local HTTP API (default 127.0.0.1:47831), authenticated with a Bearer Token (auto-generated on first launch, saved in localhost_api_token.txt in the data directory).
Authentication
All requests (except /health and Feishu callbacks) must carry the token:
Authorization: Bearer <token>
Or via query parameter: ?token=<token>
Endpoints
| Method | Path | Description |
|---|---|---|
| GET | /health |
Health check (no auth) |
| GET | /v1/device |
Device info |
| GET | /v1/timeline/{date} |
Timeline (date format YYYY-MM-DD, supports ?limit=&offset=&include_ocr=; default 500, max 2000 rows; OCR text only when localhost_api_include_ocr is enabled in config.json and the request sets include_ocr=true) |
| GET | /v1/activities/{date} |
Activity list (supports ?limit=&include_ocr=; same limits and OCR rule as the timeline) |
| GET | /v1/stats/projects |
Project time (?date_from=&date_to=; privacy rules take priority) |
| GET | /v1/stats/today |
Today's stats |
| GET | /v1/stats/overview |
Overview stats (`?mode=today |
| GET | /v1/stats/focus |
Focus & fragmentation metrics (`?mode=today |
| GET | /v1/stats/daily/{date} |
Stats for a given date |
| GET | /v1/reports |
Report list (?limit=) |
| GET | /v1/reports/{date} |
Report for a given date (?locale=) |
| GET | /v1/reports/generate |
Generate report (?date=&locale=&force=true) |
| POST | /v1/reports/export-markdown |
Export report as Markdown (body: { date, locale }) |
| GET | /v1/apps/recent |
Recently used apps |
| GET | /v1/apps/category-overview |
App category overview |
| GET | /v1/categories |
App category list |
| GET | /v1/categories/semantic |
Semantic category list |
| GET | /v1/hourly-summaries/{date} |
Hourly summary |
| GET | /v1/hourly-app-breakdown/{date} |
Hourly app breakdown |
| GET | /v1/period-review |
Weekly / monthly review (?type=month&key=2026-11&locale=en&force=true; week keys use 2026-W47) |
| GET | /v1/weekly-review |
Weekly review (?date_from=&date_to=&limit=) |
| GET | /v1/storage/stats |
Storage stats |
| POST | /v1/screenshots/capture |
Capture the active screen immediately and return JPEG Base64 (requires screenshots enabled) |
The capture response contains capturedAt, width, height, mimeType, imageBase64, and a data-directory-relative relativePath. It bypasses the scheduled capture interval but never bypasses the screenshot privacy switch, and it does not upload the image.
Examples
# Get today's timeline
curl -H "Authorization: Bearer $(cat ~/work-review/localhost_api_token.txt)" \
http://127.0.0.1:47831/v1/timeline/2026-05-20
# Generate a report
curl -H "Authorization: Bearer $(cat ~/work-review/localhost_api_token.txt)" \
"http://127.0.0.1:47831/v1/reports/generate?date=2026-05-20"
MCP Server
Connects work records to AI coding tools (Claude Code / Cursor / VS Code Copilot, etc.) via the stdio protocol. By default MCP omits raw OCR text and screenshot paths (mcp_include_ocr: false in config.json) and applies current privacy rules. Feishu / DingTalk / WeCom bots require sender binding via /bind <code> generated in Settings → Integrations.
cargo build --release -p work-review-mcp-server
{
"mcpServers": {
"work-review": {
"command": "/path/to/work-review-mcp-server",
"env": {
"WORK_REVIEW_DB_PATH": "/path/to/work_review.db",
"WORK_REVIEW_CONFIG_PATH": "/path/to/config.json"
}
}
}
}
Development
npm install
npm run tauri:dev # Development
npm run tauri:build # Build
Requires: Node.js 22+ / Rust stable / Tauri 2 CLI · Tech stack: Tauri 2 + Rust + Svelte 5 + SQLite
Community
WeChat Group
If the QR code has expired, follow the official account below for the latest group invitation, or join the TG group
WeChat Official Account
Acknowledgements
- Thanks to the linux.do community for discussion and feedback
- Desktop Avatar BongoCat resources adapted from ayangweb/BongoCat (MIT License), see THIRD_PARTY_NOTICES.md
License
MIT © 2026 wm94i
Star History
Explore projetos relacionados
Carregando…