Back to browse
OpenGrammar Open-source, self-hostable Grammarly alternative

OpenGrammar Open-source, self-hostable Grammarly alternative

by 0x0003r·Mar 7, 2026·3 points·2 comments

AI Analysis

●●SolidSolve My ProblemDark Horse

Grammarly alternative that runs offline, costs pennies instead of $30/month.

Strengths
  • Local rule-based engine eliminates data transmission and works completely offline for core features.
  • BYOK model (bring-your-own-API-key) lets users pay per-use directly to AI providers instead of subscription.
  • Self-hostable backend with one-command deploy to Cloudflare Workers or Vercel removes dependency on author's infrastructure.
Weaknesses
  • Local rule engine is basic (passive voice, repetition, sentence length)—no match for Grammarly's ML-trained detection.
  • Requires manual API key setup for AI features, which raises friction vs. Grammarly's frictionless onboarding.
Target Audience

Writers, privacy-conscious users, developers who want Grammarly without subscriptions

Similar To

Grammarly · LanguageTool · Hemingway Editor

Post Description

OpenGrammar is a free, privacy-first browser extension that gives you Grammarly-like writing help everywhere (Gmail, Google Docs, Notion, Reddit, etc.) without sending your data anywhere. Key points: • Core engine runs 100% locally in your browser (rule-based detection of passive voice, repetition, long sentences, readability). No internet needed. • Optional AI power: just paste your own OpenAI/Groq/OpenRouter/Ollama key. You pay only pennies for what you use. Your key never leaves the browser. • Tone rewriting (Formal, Casual, Professional, etc.) with one right-click. • Writing stats dashboard (Flesch score, reading time, vocabulary diversity). • Underlines suggestions in red/yellow/blue — click to apply. • Fully self-hostable backend (Cloudflare Workers or Vercel, one-command deploy).

I built this because I was tired of Grammarly storing everything I write and charging $30/month. Everything is open source (Apache 2.0), no accounts, no telemetry.

Demo video & screenshots coming soon. Right now you can try it in 2 minutes: 1. Clone the repo 2. Load the unpacked extension (chrome://extensions) 3. (Optional) add your API key

GitHub: https://github.com/swadhinbiswas/opengrammar

Would love feedback from writers, developers, and privacy enthusiasts. What grammar rules should I add next? Any features you miss from Grammarly?

(Also happy to take PRs — especially for more local rules!)

Similar Projects

SaaS●●Solid

Reviewskits – Open-source, headless, and self-hostable social proof

Headless testimonial API that lets agencies build custom widgets without SaaS fees.

Solve My ProblemDark Horse
LordKode
622mo ago