Offline, privacy-first grammar checker. Fast, open-source, Rust-powered
Harper is an English grammar checker designed to be just right. I created it after years of dealing with the shortcomings of the competition.
Grammarly was too expensive and too overbearing. Its suggestions lacked context, and were often just plain wrong. Not to mention: it's a privacy nightmare. Everything you write with Grammarly is sent to their servers. Their privacy policy claims they don't sell the data, but that doesn't mean they don't use it to train large language models and god knows what else. Not only that, but the round-trip-time of the network request makes revising your work all the more tedious.
LanguageTool is great, if you have gigabytes of RAM to spare and are willing to download the ~16GB n-gram dataset. Besides the memory requirements, I found LanguageTool too slow: it would take several seconds to lint even a moderate-size document.
That's why I created Harper: it is the grammar checker that fits my needs. Not only does it take milliseconds to lint a document, take less than 1/50th of LanguageTool's memory footprint, but it is also completely private.
Harper is even small enough to load via WebAssembly.
Harper currently only supports English, but the core is extensible to support other languages, so we welcome contributions that allow for other language support.
We consider long lint times bugs. If you encounter any significant performance issues, please create an issue on the topic.
If you find a fix to any performance issue, we would appreciate the contribution. Just please make sure to read our contribution guidelines first.
harper-ls Documentationharper.js DocumentationThis project would not be possible without the hard work from those who contribute.
Harper's logo was designed by Lukas Werner.
Should flag "jail break" used as a verb, which should be "jailbreak"
https://github.com/Automattic/harper/issues/5153
Labels: enhancement, harper-core, linting
Possible wrong irregulat form suggestion
https://github.com/Automattic/harper/issues/5151
Labels: bug, harper-core, linting, false-positive
Detect mixing up "weather" and "whether" in more contexts
https://github.com/Automattic/harper/issues/5150
Labels: enhancement, harper-core, linting
Incorrect form of verb to noun number suggestion
https://github.com/Automattic/harper/issues/5148
Labels: bug, harper-core, linting, false-positive
Incorrect mass noun suggestion
https://github.com/Automattic/harper/issues/5147
Labels: bug, harper-core, linting, false-positive
Incorrect verbs of perception should be followed by like
https://github.com/Automattic/harper/issues/5146
Labels: bug, harper-core, linting, false-positive
The Obsidian keybinding for applying fix doesn't work.
https://github.com/Automattic/harper/issues/5144
Labels: obsidian-plugin