Quick Autocorrect

by Alex Peczon
5
4
3
2
1
Score: 35/100
New Plugin

Description

This plugin has not been manually reviewed by Obsidian staff. Review spelling and grammar issues in the current note from a Google Docs-style suggestion menu.

Reviews

No reviews yet.

Stats

stars
downloads
0
forks
0
days
NaN
days
NaN
days
0
total PRs
0
open PRs
0
closed PRs
0
merged PRs
0
total issues
0
open issues
0
closed issues
0
commits

Latest Version

Invalid date

Changelog

README file from

Github

Quick Autocorrect

Usually in Obsidian, correcting misspellings means hovering over each typo, opening the suggestion menu, and fixing words one at a time. I liked the Google Docs tool that scans the whole document and shows suggestions in one place letting me click away at the corrections, so I made a custom plugin to port that tool over to obsidian!

Quick Autocorrect reviews spelling and grammar issues in the current note from a Google Docs-style suggestion menu.

Endpoint options

By default, the plugin uses the standard public LanguageTool API:

https://api.languagetool.org/v2/check

You can change the endpoint in Settings → Quick Autocorrect:

  • Standard public API: Uses https://api.languagetool.org.
  • Local server: Uses http://127.0.0.1:8010.
  • Custom URL: Uses any LanguageTool-compatible base URL.

When you run the checker, the current note text is sent to the configured endpoint. This plugin does not install, bundle, or manage a LanguageTool server.

The plugin does not use Electron spellcheck, cspell, typo-js, nspell, or bundled spellchecker libraries.

Privacy

Quick Autocorrect sends the current note text to the endpoint selected in settings only when you run a check. The default endpoint is the standard public LanguageTool API. To avoid sending note text to a public service, run a local or self-hosted LanguageTool server and select Local server or Custom URL.

The plugin does not collect analytics, store telemetry, or send vault data in the background.

Local server with Docker

If you want to keep spellchecking local and private instead of using the public API, run LanguageTool as a separate local Docker container:

docker run --rm -p 8010:8010 silviof/docker-languagetool

Then open Settings → Quick Autocorrect and select:

Endpoint: Local server
Server URL: http://127.0.0.1:8010

The plugin sends requests to http://127.0.0.1:8010/v2/check. The Docker container is not part of this repository or the Obsidian plugin release.

Commands

  • Check spelling and grammar: Checks the current note and opens the first issue.
  • Fix next spelling/grammar issue: Opens the next known issue, or starts a new check if none are queued.

Dictionary

Use Add to Dictionary in the issue modal to save a word or phrase in plugin data. Future checks ignore LanguageTool matches whose matched text is in that custom dictionary.

Development

Install dependencies and build with npm:

npm install
npm run build

Release artifacts are manifest.json, main.js, and styles.css.

Release

For an Obsidian community plugin release:

  1. Run npm run build.
  2. Confirm manifest.json and versions.json use the same plugin version.
  3. Create a GitHub release whose tag exactly matches manifest.json version, for example 1.0.0.
  4. Attach manifest.json, main.js, and styles.css as individual release assets.

Do not attach or commit data.json, node_modules, or other local runtime files.