miss1k downloadsPrivate, local-first study analytics for notes and PDFs: sessions, streaks, heatmaps, trends, and rankings.
English (this page) · 完整中文说明 · 中文摘要
See where your reading time goes without leaving Obsidian. Study Time Statistics records time and opens for notes and PDFs, then shows daily trends, heatmaps, and rankings for your own vault. A compact strip in Markdown notes shows at-a-glance totals; you can move it, expand it, or turn it off without changing the note.
The plugin keeps its records local, needs no account, and does not upload study data. You can review sessions, set goals, and optionally log how much you read.
Install · Open the dashboard · 3.0.2 release notes · Release roadmap

A direct crop of the actual Obsidian interface, captured on 2026-10-02 from a 3.0.0 development build. No note titles, paths, folders, or contents are shown.
| In Obsidian | What you can see or do |
|---|---|
| In a Markdown note | Choose a compact one-line strip (default), full statistics, or no strip; place it at the top or bottom. It scrolls with the note and does not alter its file. |
| Study Overview | See today and this week, goal progress, previous-week comparison, session-quality indicators, high-investment hours, and notes you have not opened recently. |
| Analytics | Explore trends, heatmaps, five rankings, local filters and period comparisons, plus a folder-by-folder investment map. |
| Records | Inspect or correct sessions, optionally record reading coverage and position, and set daily or weekly goals. |
| More | Export local reports, check data health, merge compatible snapshots, and open feedback forms. Backup and restore commands are in the Command Palette. |
The captured development build shows 87 notes read, 200 opens, and 3h 45m of recorded reading time as of 2026-10-02. These are the owner's real, point-in-time aggregate values, shared with permission—not sample data, a benchmark, or a live counter. The screenshot excludes note-level rankings and all private titles, paths, folders, and contents.

The two 30-day charts are another direct crop of the same interface capture. We show aggregate views here to keep private note details out of public screenshots.
Select the bar-chart icon in the left ribbon, or open the Command Palette and run Open Study Time Statistics. The dashboard has four main areas: Study overview, Analytics, Records, and More. Rankings and filtered analysis live under Analytics; sessions, reading coverage, and goals live under Records; reports, data management, and feedback live under More. Reading Coverage is off by default and can be enabled from its page or the plugin settings.
Study Time Statistics is available in the Obsidian Community Plugins directory. Open Settings → Community plugins → Browse, search for Study Time Statistics, and select Install.
View Study Time Statistics in the Obsidian plugin directory
main.js, manifest.json, and styles.css from the latest GitHub release.<vault>/.obsidian/plugins/study-time-statistics/.data.json.Primary statistics are stored in .obsidian/plugins/study-time-statistics/data.json inside your vault. The plugin stores note paths and local study metrics needed for its charts. When Reading Coverage is enabled, it also stores self-reported percentages, note character-count snapshots, related active durations, and local interaction counts and timestamps. It never stores note contents. Timestamped backups are saved separately to Study Time Statistics Backups/ in the vault and therefore contain the same private note paths and metrics. It does not automatically send data over the network. The public screenshots contain a permissioned, point-in-time snapshot of real aggregate values, but no note title, path, folder, or content field is visible.
The plugin does not implement or require a separate cloud service. If your whole vault—including its .obsidian configuration folder—is synchronized by Obsidian Sync, iCloud Drive, Nutstore, or another file-sync provider, the plugin data can travel with that vault according to the provider's settings. Enable configuration-folder syncing on every device and avoid editing the same data concurrently while a provider is still resolving conflicts. Backups in Study Time Statistics Backups/ may also be synchronized because they are normal vault files.
The dashboard includes a Feedback page that opens the appropriate GitHub form for bugs, inaccurate statistics, feature requests, or discussions. The plugin never submits study data automatically; nothing is sent until the user explicitly submits a GitHub form.
Before posting screenshots or logs, replace private note titles and paths with anonymous examples.
npm install
npm test
npm run build
The production build generates main.js. A GitHub release must include main.js, manifest.json, and styles.css, with a tag matching the version in manifest.json exactly.
Study Time Statistics is an independent plugin inspired by Anki's statistical presentation. It is not affiliated with or endorsed by Anki.
The codebase is derived from AstraDev's open-source Obsidian time tracker, used under the Apache License 2.0. Original copyright notices and license terms are preserved. See LICENSE and NOTICE.
Study Time Statistics(学习时间统计)记录 Obsidian 笔记和 PDF 的阅读时长与打开次数。你可以在笔记里查看即时统计,也可以在仪表盘里看趋势、热力图和库内排行,按日期或文件夹查找阅读记录。统计条可放在顶部、底部或隐藏,不改写笔记原文。
3.0.1 重点保护已有记录:如果无法安全合并快照或修正会话,插件会停止操作,而不是改动无法核对的历史。3.0.2 只修复构建时的依赖安装,不改变计时或数据处理。见完整中文说明。
上方图片是 2026-10-02 从实际 Obsidian 界面直接裁切的截图,显示当时 87 篇已读笔记、200 次打开、累计 3 小时 45 分钟。截图来自当时尚未公开发布的 3.0.0 开发版;截取时公开最新版为 2.2.0,部分控件可能不同。公开图片仅展示汇总数据,没有笔记标题、路径、文件夹或正文。
所有学习数据仅保存在本地库中,插件不上传数据、不收集遥测、无广告,也不需要云端账户。若整库同步包含 .obsidian 配置文件夹,数据可随 Obsidian Sync、iCloud、坚果云等现有方案同步,无需插件另建同步服务。完整中文说明见 README_zh.md。