Margin AI Proofreader

by Ahmed Khaled
5
4
3
2
1
Score: 50/100

Description

Margin Proofreader for Obsidian: an AI second pass after Harper. Generated from phoenixak/margin; issues and PRs there.

Reviews

No reviews yet.

Stats

0
stars
67
downloads
0
forks
33
days
33
days
33
days
0
total PRs
0
open PRs
0
closed PRs
0
merged PRs
0
total issues
0
open issues
0
closed issues
5
commits

Latest Version

a month ago

Changelog

Margin AI Proofreader for Obsidian: an AI second pass after Harper.

  • Tested with a local model (Ollama and gemma4:26b-a4b-it-qat) alongside Harper's plugin: on 12 real READMEs and docs it added 15 underlines next to Harper's 425, none on the same spot.
  • Fewer optional edits: no added optional commas, hyphens or dashes, no edits to product names, and headings and list items are left alone.
  • Sentences are no longer split inside links, URLs or inline code, or after initials; ::: callout-style fences aren't treated as prose.

Desktop only for now. See the README for what's tested.

README file from

Github

Margin AI Proofreader

An AI second pass for Harper in Obsidian: purple underlines for what Harper's rules can't catch (agreement, tense, wrong-but-real words, run-ons), with a hover card to Apply or Ignore, and Rewrite selection… (command palette or right-click). It never repeats what Harper flags. Not affiliated with Harper or Automattic.

Install

From Obsidian: Settings → Community plugins → Browse → search "Margin AI Proofreader". Also install Harper.

Manual: download main.js, manifest.json and styles.css from the latest release into <vault>/.obsidian/plugins/margin-ai-proofreader/.

Where your text goes

  • Local model (Ollama / LM Studio): text stays on this device. Obsidian's own network API is used, so no OLLAMA_ORIGINS or CORS setup is needed. Use Find models in Margin's settings. Tested with Ollama and gemma4:26b-a4b-it-qat alongside Harper's plugin: on 12 real READMEs and docs it added 15 underlines next to Harper's 425, none on the same spot.
  • Gemini API: sent to Google with your key; on the free tier Google may use it to improve its products. The key is kept in Obsidian's secret storage (device-local, not synced, never in data.json); needs Obsidian 1.11.4+.
  • Nothing is sent until you choose. Folders listed under "Never check these folders" are never sent.

Works with Harper's plugin

Margin asks Harper's own Obsidian plugin what it already flags and skips those, so install and enable Harper too. (Margin doesn't bundle a second copy of Harper; that keeps it about 1 MB.)

Honest status

Tested in Obsidian 1.14.4 on Windows (desktop): underlines, hover card, Apply and rewrite, with the local-provider code path against a mock server. Dedup was verified against a stand-in for Harper's plugin (same lint() interface), not yet with Harper's plugin itself. Desktop only for now.

Source

This repository is generated from phoenixak/margin (packages/obsidian and packages/core), which also has the VS Code extension, browser extension and language server. Please open issues and pull requests there.

Build: Node 22+, then npm ci && npm run build; the plugin files are in dist/. Releases are built by GitHub Actions with signed build provenance.