OpenGrammar checks spelling and style in the browser with a large offline dictionary and optional AI via your own API keys. A browser extension pairs with a self-hostable grammar API server.
Overview
OpenGrammar is an intelligent writing assistant meant to run without a vendor-owned database or mandatory subscription. The browser extension can catch misspellings, passive voice, and weak phrasing locally using an offline dictionary, then optionally call AI providers you configure for deeper rewrites.
Bring-your-own-key routing supports OpenAI, Groq, Together, OpenRouter, and local models through Ollama. API keys stay in browser storage and AI processing uses stateless edge-style backends when you point at hosted or self-run servers.
You can host the lightweight backend via Docker, NPM on Node.js, or deploy to Cloudflare, Vercel, or Netlify. Public edge endpoints are listed for users who do not want to run a server. Integrations inject suggestions into editors such as Gmail, Google Docs, Notion, and Reddit.
A dual-engine design deduplicates work so local checks are not re-sent to the model, and a writing score summarizes correctness, readability, engagement, and delivery.
Key features
- Offline dictionary spell and style checks
- Bring-your-own-key AI rewriting
- Browser extension for major editors
- Self-hosted Docker or NPM API server
- Dual local and LLM analysis pipeline
- Context-aware tone detection
- Dynamic writing quality score
- Public optional edge API endpoints
Use cases
- Private alternative to cloud grammar SaaS
- Gmail and Docs inline proofreading
- Homelab-hosted grammar API
- Low-cost AI checks with own keys
- Offline-first typo catching
Open-source alternative to
Grammarly“The completely free, zero-compromise Grammarly alternative you can host yourself.” source