MindTrace

approved

by Xuhao Yin

Local-first attention analytics: automatically track time spent and writing on each note, then visualize how your attention flows across topics and hours. - This plugin has not been manually reviewed by Obsidian staff.

โ†“ 182 downloadsUpdated 20d agoMIT

๐Ÿงญ MindTrace

See where your attention actually goes.

A silent, local-first time & attention tracker for Obsidian โ€” a beautiful topic ร— time dashboard that reveals your focus, your writing output, and your habits.

GitHub release License

English ยท ไธญๆ–‡


โœจ The one chart that explains your day

MindTrace is a zero-friction time tracker and attention analytics plugin. It runs in the background and quietly records how long you spend on each note โ€” reading and writing โ€” then rolls everything up by folder and plots it as a topic ร— time heatmap. One glance, and you can see "mornings are for philosophy, afternoons for code."

Topic ร— time heatmap

๐Ÿš€ Why MindTrace?

  • Zero friction โ€” no timers, no buttons, no popups. It just watches. Writing flow stays intact.
  • Folder = topic โ€” your vault is already organized; MindTrace treats your folder tree as the taxonomy and rolls time up recursively, drillable from topic โ†’ subfolder โ†’ file.
  • Read vs. write, inferred โ€” a transparent heuristic splits your active time into reading and writing, no manual tagging.
  • 100% local โ€” everything lives in your vault. No account, no cloud, no telemetry, no note content is ever read.
  • Quantified self โ€” not a productivity nag, but a mirror: plain-language daily insights like "your most invested topic is philosophy" help you reflect, not judge.

๐Ÿ“Š A dashboard full of insight

Topic ร— Time โ€” where your attention goes by hourTopic Ranking โ€” with click-to-drill-down
Active Hours โ€” when you're actually workingActivity Calendar โ€” GitHub-style daily streak
Document Activity โ€” notes written vs. touched (day/week/month/quarter/year)This Week vs Last โ€” are you on an upswing?
Weekday Distribution โ€” your weekly rhythmWord Trend โ€” writing output over time
Read vs Write โ€” composition of your timeWord Growth โ€” per-document writing trajectory

Every chart exports to PNG / JSON / CSV with one click. The whole dashboard is theme-aware and follows your Obsidian accent color.

๐Ÿ”’ Privacy by design

Data is written as append-only JSONL to .mindtrace/ in your vault. No network, no telemetry, no cloud, no note content โ€” only metadata (paths, timestamps, durations, character deltas). Your notes never leave your computer.

๐Ÿ“ฆ Install

From the Obsidian Community Plugins directory, search MindTrace and install. Or manually:

  1. Download main.js, manifest.json, styles.css from the latest release.
  2. Copy them into <vault>/.obsidian/plugins/obstracker/.
  3. Enable MindTrace in Settings โ†’ Community plugins.

๐Ÿ–ฑ Usage

  1. Enable the plugin โ€” tracking starts automatically, no setup needed.
  2. Click the chart icon in the ribbon, or run "Open dashboard", to open the dedicated dashboard note.
  3. (Optional) embed the dashboard anywhere with a ```mindtrace code block.

Data is stored in .mindtrace/events-YYYY-MM-DD.jsonl (one file per day).

๐Ÿ›  Development

npm install
npm run dev     # watch & build
npm run build   # type-check + production build
npm test        # unit tests

๐Ÿ“„ License

MIT

For plugin developers

Search results and similarity scores are powered by semantic analysis of your plugin's README. If your plugin isn't appearing for searches you'd expect, try updating your README to clearly describe your plugin's purpose, features, and use cases.