Harper: The Free, Private Grammarly Alternative Built in Rust — Transcript
Full transcript
- 0:00Grammarly costs over $140 a year, and
- 0:03according to its own documentation,
- 0:04everything you type is shipped to their
- 0:07servers and stored there. A more blunt
- 0:09name for that would be a key logger you
- 0:11pay for. This is Harper. It's a grammar
- 0:14checker that's free, written in Rust,
- 0:16and works with your Wi-Fi turned off.
- 0:18Before you get too excited, I typed,
- 0:20"What's going on? I'm josh into it," and
- 0:22it didn't blink. Stay with me because
- 0:24both halves of that are the point.
- 0:31Now, with Harper, the more interesting
- 0:33thing about it is what's missing.
- 0:34There's no AI in it at all. It's a
- 0:37rule-based engine. Your text gets tagged
- 0:39word by word, then ran through about 287
- 0:42handwritten Rust rules. Rules are
- 0:45deterministic. The same sentence gets
- 0:47the same verdict every single time. Now,
- 0:49compare that to what Grammarly users
- 0:51keep complaining about. It tells you to
- 0:53delete a comment at 9 and then put it
- 0:55back at 10. That's a machine learning
- 0:58model changing its mind about your
- 1:00writing. Harper never changes its mind.
- 1:03And because nothing ever leaves your
- 1:04machine, it's instant. The claim is
- 1:07under 10 milliseconds per check. One
- 1:09more thing before I live run this. Since
- 1:11November 2024, Harper belongs to
- 1:13Automatic, the WordPress company, which
- 1:16hired its creator and kept everything
- 1:18Apache 2.0. Hold that thought cuz I'm
- 1:20going to circle back to it in just a
- 1:22second. If you enjoy coding tools to
- 1:24speed up your workflow, be sure to
- 1:25subscribe. We have videos coming out all
- 1:27the time. Now, check this out. Brew
- 1:30install Harper or oneclick the VS Code
- 1:32extension. It's native to Apple Silicon.
- 1:35And now you can switch the Wi-Fi off.
- 1:36You can go fully offline. If you run
- 1:38this, I'm going to type I ate and
- 1:40pineapple. Flagged instantly. If I type
- 1:43along the lines of I needthe the from
- 1:46the store, the 'the' is flagged. I spell
- 1:50a word wrong now like your point is
- 1:53mute. It suggests an alternative. That
- 1:56correlation is literally a handwritten
- 1:58rule in the source code. I checked. I
- 2:01don't think it's too late. Spelled some
- 2:03things wrong there. Bad punctuation.
- 2:06Three underlines before I could even
- 2:07finish the sentence. No spinner, no
- 2:10cloud. There's nothing to wait for. And
- 2:12here's the part that's going to help us
- 2:13in development. I'll open a TypeScript
- 2:16file and write a comment. I'm going to
- 2:18write receive the payload. Again, I
- 2:21spelled some things wrong. Harper flags
- 2:23both typos inside the comment. It
- 2:26ignores every line of actual code around
- 2:28it. It does this across basically every
- 2:31language we can write in. Harper ships a
- 2:33zero language server, so it drops into
- 2:35Neo, Vim, Zed, Helix, Emacs, one line of
- 2:38config. The Obsidian plugin, 200,000
- 2:41downloads, checks your notes and skips
- 2:44code fences, the exact thing Grammarly
- 2:47actually trips over. The whole engine
- 2:50compiles to web suddenly. So,
- 2:52writewithharper.com
- 2:54runs the full checker inside your
- 2:56browser tab. That's your zeroinstalled
- 2:58test drive. Think of it this way.
- 3:00Grammarly is an app that watches you
- 3:02type. Harper is a component you install
- 3:04into your tool chain. Now, how does all
- 3:07this land? Grammarly's ML does things
- 3:09Harper doesn't even attempt. Tone
- 3:12clarity coaching, whole sentence
- 3:13rewrites. Language tool self-hosted is
- 3:16the nearest free rival. But here's the
- 3:18fine print nobody's reading. It's good
- 3:21context checks need a 16 GB engram data
- 3:25set and the RAM to match. Skip that. And
- 3:27Hacker News users found it missing
- 3:29obvious errors. Now you need to know
- 3:32exactly where that baseline ends. Now,
- 3:34if I just write out here, me and Sally
- 3:36went to have seen the duck's cousin.
- 3:39There's errors, but there's zero errors.
- 3:42Perfectly clean, right? Now, what your
- 3:44name? What day today? Also clean. That's
- 3:48the ceiling of rules. If no rule matches
- 3:51the way a sentence is broken, nothing's
- 3:53going to fire. 287 modules versus
- 3:56language tools 6000 rules versus
- 3:58Grammarly's models. Coverage is what you
- 4:00trade for privacy and speed. And it cuts
- 4:03the other way too. 240 issues in this
- 4:05repo mentioned false positive. It
- 4:08flagged the word Cloudflare for
- 4:10reviewers. Fixes are shipping weekly,
- 4:12but you will hit some. Those speed and
- 4:14memory numbers, the vendor's own
- 4:17numbers. There's no benchmarks. They
- 4:19don't exist yet. And one Neoim user
- 4:21clocked the language server at over a
- 4:23gigabyte of RAM. It's again English
- 4:26only. Five dialects, nothing else. And
- 4:29the automatic thing I said earlier,
- 4:31after 2 years of WordPress engine drama,
- 4:33some developers on HackerNews said flat
- 4:36out they won't adopt anything Matt
- 4:38Moldenweg controls. Fair concern. Now,
- 4:41if you pay Grammarly for tone rewrites,
- 4:43keep paying. Harper's not going to
- 4:45replace that. If you want a free private
- 4:47instant checker living inside your
- 4:49editor for code comments, commit
- 4:51messages, docs, notes, nothing else
- 4:53comes close. This is a great hack. My
- 4:56favorite comment in the whole hacker
- 4:57news thread that I came across was from
- 4:59a dyslexic writer who paid for Grammarly
- 5:02for years. They said it actually worked
- 5:04better back when it was dumb and
- 5:06rule-based. When a tool fires on every
- 5:09keystroke in your editor, predictability
- 5:11isn't a compromise, it's the whole
- 5:13feature. Harper is free, released every
- 5:15week or two, and it covers precisely the
- 5:17surfaces Grammarly will never see, your
- 5:20comments and your commits. The best
- 5:22privacy feature ever shipped isn't a
- 5:24settings toggle or a policy page. It's
- 5:26software that never needed your data in
- 5:28the first place. If you enjoy coding
- 5:30tips and tricks like this, be sure to
- 5:31subscribe to the Better Stack channel.
- 5:33We'll see you in another video.
About this transcript
This page contains the full transcript of Harper: The Free, Private Grammarly Alternative Built in Rust by Better Stack, generated from the public captions YouTube serves with the video. The transcript has 938 words across 143 segments, with the original timestamps preserved so you can click any line to jump to that moment in the embedded player.
What you can do with it
Use the transcript to take notes, quote the speaker, build a study guide, generate a summary with ChatGPT or Claude via the YouTube Summary tool, or export it as a timed subtitle file with YouTube to SRT. You can also re-open it in the transcriber to choose a caption track available on the video.
Free YouTube transcript tool
YouTube2Text is a free YouTube transcript generator — no signup, no daily limit. Paste any YouTube link and get the full transcript instantly, with timestamps, click-to-jump, caption language selection, AI prompts for ChatGPT, Claude, and Gemini, and exports to TXT, SRT, VTT, or Markdown.