Search...Search plugins and themes...
⌘K
Sign in
  • Get started
  • Download
  • Pricing
  • Enterprise
  • Account
  • Obsidian
  • Overview
  • Sync
  • Publish
  • Canvas
  • Mobile
  • Web Clipper
  • CLI
  • Learn
  • Help
  • Developers
  • Changelog
  • About
  • Roadmap
  • Blog
  • Resources
  • System status
  • License overview
  • Terms of service
  • Privacy policy
  • Security
  • Community
  • Plugins
  • Themes
  • Discord
  • Forum / 中文论坛
  • Merch store
  • Brand guidelines
Follow us
DiscordTwitterBlueskyThreadsMastodonYouTubeGitHub
© 2026 Obsidian

Scribe of Lagash - Goals and Stats

Alejandro EscanesAlejandro Escanes1k downloads

Set daily writing goals for your story and track word counts, progress and stats over time.

Add to Obsidian
Scribe of Lagash - Goals and Stats screenshot
Scribe of Lagash - Goals and Stats screenshot
Scribe of Lagash - Goals and Stats screenshot
Scribe of Lagash - Goals and Stats screenshot
Scribe of Lagash - Goals and Stats screenshot
  • Overview
  • Scorecard
  • Updates17

An Obsidian plugin that helps writers set goals and see detailed statistics for those goals and for the story as a whole. It is part of the Scribe of Lagash series, a set of independent, focused tools for planning and writing stories in Obsidian.

Goals and Stats tab

Thank you

If this plugin helps your writing, you can support its development buying me a coffee on Ko-fi

Installation

Requires Obsidian ≥1.10.0.

You can install it from the community plugins page, or download main.js, manifest.json, and styles.css from the latest release and copy them into <vault>/.obsidian/plugins/scribe-of-lagash-goals-stats/.

Scribe of Lagash Plugins

Scribe of Lagash is a series of independent, single-concern Obsidian plugins for planning and writing stories:

  • Scribe of Lagash - Visualization (github repository) — helps writers visualize their chapters and scenes.
  • Scribe of Lagash - Goals and Stats (github repository) — helps writers set goals and see detailed statistics for their story.
  • Scribe of Lagash - Focus (github repository) — helps writers focus on their work and remove distractions.

Each plugin works fine on its own, and none requires another, but they are designed to complement each other and work best together.

Learn more about the series on the Scribe of Lagash website.

About the name

"Scribe" is the writer at the center of every plugin in the series, and "Lagash" nods to Nippur de Lagash, the classic Argentine comic.

Features

Writing-goal widget

A right-sidebar view (ribbon icon or the "Open writing goal widget" command) with a ring for today's progress toward the daily goal, a week/month summary, and a month calendar coloring each day by whether it met, partly met, or missed the goal. History is kept in a plugin-managed file in the vault, so it survives a plugin uninstall/reinstall and travels with the vault through whatever the author already syncs it with.

Writing-goal widget

Goals and Stats tab

A main-area tab (ribbon icon or the "Open goals and stats" command) with two sections: your writing goal history and a table of stats for every note in the story.

Writing goal history

Totals with daily averages for the current week and month, the last 7 and 30 days, and the current year and last 365 days, shown beside the same month calendar as the sidebar widget. The calendar shows today's total and, when you click another day, that day's total next to it. The expand button in the calendar card's bottom-right corner switches the calendar to the whole year (all twelve months, with previous/next year buttons); click it again to return to the month.

Writing goal history collapsed Writing goal history expanded

Story stats

The "Story Stats" section is a table of every note in the story folder, grouped by folder. Click a folder to collapse it; each folder shows its own subtotal, and a Total row closes the table. Click a note's name to open it.

Each note row shows its words (or characters, following your metric setting), read time, syllables, sentences, paragraphs and pages.

The Target column, beside words (or characters), is the note's target length in the same unit. It comes from the Target column of the (SL) Visualization plugin's Outline file, in the row whose Act, Chapter and Scene numbers match the note's folders and file name (digits or roman numerals, any title language), or, failing that, the note's scribe-note-target property (a plain number such as 5000). Folder rows and the Total add up the targets that are set; a note without one shows a dash. A note with a target also gets a small progress ring beside the number, like the daily goal ring.

Story stats

Note stats popup

While a note in the story is open, a stats icon appears in the note's header, next to its other buttons. Click it, or run "Show note stats", to open a popup with the same numbers for just that note: the headline word count (with a progress bar toward the note's target, when it has one), read time, pages, sentences, paragraphs and syllables, and words per sentence, sentences per paragraph and syllables per word. It updates as you type and follows the light and dark themes.

Syllable and sentence counts are estimates. Read time is based on 245 words per minute and pages on 250 words per page; a (?) icon beside each label says so.

Note stats icon Note stats popup

Daily-goal celebration

The moment you reach the daily goal, a toast notification plus a confetti burst say so, and a status-bar item lights up for as long as it stays met, whether or not the writing-goal widget is open.

Writing session

A plain countdown timer in the writing-goal widget, unrelated to the daily goal or any particular day: 15/30/60-minute presets or a custom length, with the same ring styling as the daily-goal progress ring, play/pause, reset, and a toast plus a short bell sound once time's up. A session in progress survives closing Obsidian — reopening shows it paused, ready to resume with a click.

Writing session

File-explorer counts

Every note inside the story folder shows its word (or character) count next to its name in the file explorer, and every folder shows the total of the notes beneath it. Counts update as you write. Set a story folder in settings to count only that folder instead of the whole vault, and add specific notes or folders to the exclusion list to leave them out of the count entirely. Character counts default to "characters without spaces", so they'll read lower than Obsidian's own word-count status bar, which counts every character including spaces and line breaks — turn on "Count spaces in character counts" in settings to match that convention instead.

The counts are on by default; turn off "Show counts in file explorer" in settings to hide them.

File-explorer counts

Writing-goal settings

A story folder (with folder autocomplete; switching it away from a different folder you've already used asks you to confirm first, since it starts today's writing count over for the new one — the previous folder's history is kept, ready to pick back up later), a words/characters metric (with a with/without-spaces toggle for characters), and a daily goal. Plus a list of notes and folders to exclude from everything the plugin measures.

Files starting with "(SL)"

Your writing history is kept in (SL) Goals History.json, a file this plugin creates for itself in the story folder. Any file or folder whose name starts with (SL) is left out of the counts: it gets no file-explorer count and adds nothing to your daily total, even inside the story folder. So don't start the name of a note you want counted with (SL).

How "written today" is counted

Today's count isn't just "how much longer is the note now" — it's genuinely new writing, worked out by comparing what each note says right now to what it said at the start of the day and counting only the words that weren't there before. That has one nice effect: cleaning up old work doesn't punish you.

  • Deleting something you wrote on an earlier day never lowers today's count. Cut a whole tired paragraph from last week, reorganize a chapter, trim an old scene down to nothing — none of it counts against you, because none of it was written today.
  • Deleting something you wrote today does lower today's count, same as any ordinary word counter. Write a new sentence, then cut a couple of words from it before you're done for the day, and the count reflects what's actually on the page.

So the number always answers "how many new words are sitting in my story right now," not "how many keys did I press today" — a big cleanup of old material can never accidentally erase a day's progress.

Planned next

  • Goal targets — total word/character count, per note and per story.
  • Goal stats — writing streaks and how each day compares to the target pace.
  • Status manual input - allow add manually old stats.
  • Status import - import from other plugins stats.
  • Repeated-word analysis — most-frequent words and phrases across the whole story or a single chapter, with common stop-words filtered out, to surface overused crutch words.

See docs/feature-plans/ for the detailed plan of each feature (one file per feature).

Development

npm install
npm run prepare  # activate the Husky pre-commit hook (once; npm install skips it because ignore-scripts=true)
npm run dev    # watch build, outputs main.js
npm run build  # type-check + production build
npm test       # unit tests (Node's built-in runner; no test framework dependency)
npm run validate # typecheck + test + lint + lint:css (run before every commit)

Supply-chain safety

  • Every dependency in package.json is pinned to an exact version — no ^/~ ranges and no latest. .npmrc sets save-exact=true so future npm install <pkg> additions stay pinned by default.
  • .npmrc also sets ignore-scripts=true, so npm install/npm ci never runs a dependency's preinstall/install/postinstall script automatically. The only dependency that ships one is esbuild, and its script just optimizes linking its already-installed platform binary — the build works fine without it. On the rare platform where it doesn't (e.g. an environment without a matching prebuilt @esbuild/* package), run npm run rebuild:esbuild to explicitly and visibly opt that one script back in for that single command.

To try the plugin in a vault, copy (or symlink) manifest.json, main.js, and styles.css into <vault>/.obsidian/plugins/scribe-of-lagash-goals-stats/, then enable it from Obsidian's Community Plugins settings.

Contributing

Found a bug, or have a feature request? Open one on the GitHub Issues page — there's a template for each.

Contributions are welcome — see CONTRIBUTING.md for dev setup, code conventions, and the PR process. This project follows a Code of Conduct.

Found a security issue? See SECURITY.md instead of opening a public issue.

See CHANGELOG.md for release history.

License

MIT.

HealthExcellent
ReviewPassed
About
Scribe of Lagash - Goals and Stats helps writers build a daily writing habit and see how a story grows, whether it’s a novel, a novella or a short story. Point it at a story folder, choose words or characters, and set a daily goal. Only new writing counts: cutting old scenes never lowers today’s total. Sidebar widget: today’s progress ring, week and month summaries, and a calendar marking met, partial and missed days. Goals & Stats tab: totals and daily averages for 7, 30 and 365 days, a full-year calendar, and a story stats table with words, read time, sentences, paragraphs and pages per note and folder. Targets: give each chapter or scene a target length and watch its progress ring fill. Note stats: one click shows the open note’s numbers as you type. Also: word counts in the file explorer, writing sprints with 15/30/60-minute timers, and confetti when you hit your goal. Planned next: writing streaks, story-wide targets and repeated-word detection
WritingCalendarCharts
Details
Current version
1.1.0
Last updated
Last week
Created
2 months ago
Updates
17 releases
Downloads
1k
Compatible with
Obsidian 1.10.0+
Platforms
Desktop, Mobile
License
MIT
Report bugRequest featureReport plugin
Sponsor
Ko-fi
Author
Alejandro EscanesAlejandro Escanesaescanes
GitHubaescanes
  1. Community
  2. Plugins
  3. Writing
  4. Scribe of Lagash - Goals and Stats

Related plugins

Tracker

Track occurrences and numbers in your notes.

Calendarium

Craft mind-bending fantasy and sci-fi calendars.

WebNovel Assistant

An all-in-one writing studio for novel and story writers. Features accurate word count tracking, daily goals, story timeline board, plot foreshadowing manager, chapter corkboard, and character lore gr

Contribution Graph

Generate an interactive heatmap to visualize and track your productivity.

Gantt Calendar

A powerful visual task management plugin. Visualize and manage tasks created by the Tasks plugin, supporting both emoji and Dataview task formats. Support Feishu Task syncing.

LanguageTool Integration

Advanced grammar and spell checking, powered by LanguageTool.

ChatGPT MD

A seamless integration of ChatGPT, OpenRouter.ai and local LLMs via Ollama into your notes.

TaskNotes

Note-based task management with calendar, pomodoro and time-tracking integration.

Operon

Task and project management system that unifies inline tasks and file-based tasks in the same workflows with Tables, Filters, Calendars, Kanban boards, Gantt views, Canvas, and time tracking.

Day Planner

Turn tasks from daily notes, the Tasks plugin, and calendars into time blocks on an editable timeline, with built-in time tracker.