- Rust 62.1%
- HTML 21%
- TypeScript 8.8%
- Svelte 5.6%
- JavaScript 0.7%
- Other 1.3%
| Filename | Latest commit message | Latest commit date |
|---|---|---|
Both words are compound nouns whose dictionary entries once carried a stray verb flag inherited from an old Wiktionary import. While that flag was present the linter treated them as legitimate verbs and skipped them, so "I'm not going to rollback again" went unflagged. The dictionary entries are correct now and PhrasalVerbAsCompoundNoun handles both words, but nothing in the suite pinned that. The failure mode is worth guarding specifically: a data flag silently disabling a rule produces no error anywhere, and the rule keeps passing its other tests. Uses the sentences from the issue, plus a negative case so the nouns themselves stay unflagged. 5677 tests pass. |
||
| .buildkite | ||
| .bundle | ||
| .github | ||
| .vscode | ||
| fastlane | ||
| fuzz | ||
| harper-asciidoc | ||
| harper-brill | ||
| harper-cli | ||
| harper-comments | ||
| harper-core | ||
| harper-desktop | ||
| harper-dictionary-wordlist | ||
| harper-git-commit | ||
| harper-html | ||
| harper-ink | ||
| harper-jjdescription | ||
| harper-literate-haskell | ||
| harper-ls | ||
| harper-pos-utils | ||
| harper-python | ||
| harper-stats | ||
| harper-tex | ||
| harper-thesaurus | ||
| harper-tree-sitter | ||
| harper-typst | ||
| harper-wasm | ||
| packages | ||
| .dockerignore | ||
| .editorconfig | ||
| .envrc | ||
| .gitattributes | ||
| .gitignore | ||
| .node-version | ||
| .npmrc | ||
| .nvmrc | ||
| .ruby-version | ||
| .xcode-version | ||
| AGENT_POLICY.md | ||
| AGENTS.md | ||
| ARCHITECTURE.md | ||
| biome.json | ||
| Cargo.lock | ||
| Cargo.toml | ||
| COMPARISON.md | ||
| CONTRIBUTING.md | ||
| demo.md | ||
| docker-compose.dev.yml | ||
| docker-compose.yml | ||
| Dockerfile | ||
| flake.lock | ||
| flake.nix | ||
| Gemfile | ||
| Gemfile.lock | ||
| justfile | ||
| LICENSE | ||
| logo.svg | ||
| package.json | ||
| pnpm-lock.yaml | ||
| pnpm-workspace.yaml | ||
| README.md | ||
| rust-toolchain.toml | ||
| rustfmt.toml | ||
Harper
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.
Language Support
Harper currently only supports English, but the core is extensible to support other languages, so we welcome contributions that allow for other language support.
Performance Issues
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.
Links
- Frequently Asked Questions
- Obsidian Documentation
harper-lsDocumentation- Supported Editors' Documentation
harper.jsDocumentation- Official Discord Server
Huge Thanks
This project would not be possible without the hard work from those who contribute.
Harper's logo was designed by Lukas Werner.