grammai: An Open-Source Offline Grammar Checker and Local CLI AI Writing Extension
An overview of grammai, a free GNU GPLv3 Chrome extension offering offline English, German, and Romanian grammar checks alongside AI rewrites and translation po
grammai is a free, open-source writing assistant extension for Chrome and Chromium-based browsers such as Helium. Published on October 18, 2026, by developer zilvestro (Silvestro) under the GNU GPLv3 (GPL-3.0-only) license, the project keeps routine spelling and grammar checks entirely offline inside the browser while connecting optional AI features to a user's own locally signed-in command-line AI tools.

Image source: zilvestro (GitHub repository zilvestro/grammai)
Conventional cloud writing assistants continuously stream draft text to remote servers and lock advanced rewrites behind recurring subscriptions. grammai separates everyday proofreading from cloud dependencies: local dictionaries handle basic checks with zero network traffic, and optional AI rewrites or translations route exclusively through an existing local CLI setup when explicitly triggered.
Bundled Offline Grammar Engines and Local-First Privacy
The foundation of grammai is its self-contained browser architecture. Engines and dictionaries for English, German, and Romanian are bundled directly inside the extension package, allowing spelling and grammar checks to run on-device without creating an account or configuring API keys. Unlike self-hosted LanguageTool setups, it requires no Java runtime, Homebrew packages, or background server processes.
Local rules also cover targeted word-confusion constructions—such as distinguishing Ist das wirklich war? from Ist das wirklich wahr? in German—while German and Romanian engines take a few seconds to initialize on their first check. During standard proofreading, grammai includes no analytics, telemetry, or automatic crash uploads. User preferences, custom vocabulary, saved prompts, and paused website hostnames remain stored strictly in local extension storage.
To avoid cluttering the page, the floating action pill appears only when text is selected. Hovering over a flagged word highlights the issue, clicking opens review controls to accept or dismiss the suggestion, and a built-in undo action reverts the most recent grammai edit.
Connecting Claude Code or Codex CLI, Installation, and Shortcuts
For broader AI context checks, tone and clarity rewrites, custom saved prompts, and translation across English, German, and Romanian, grammai avoids hosting its own paid AI backend. Instead, it connects to an already authenticated official Claude Code CLI or Codex CLI through a one-time local helper installation, sending only the selected text (or active field when nothing is selected) upon an explicit user action.
Users can install and run the extension through two documented paths:
- Chrome Web Store: Install directly from the Chrome Web Store (extension ID
coafchipjppaininmkchbiodpcdkkakc) to begin offline grammar checking immediately. - Build from Source: Clone the repository in a Node.js 22 or newer environment, run
npm cifollowed bynpm run build, openchrome://extensions(or the equivalent screen in Helium), enable Developer mode, and load the generateddistdirectory as an unpacked extension.
Keyboard-driven editing is built in. Default shortcuts on Windows and Linux include the following, alongside macOS bindings and custom remapping at chrome://extensions/shortcuts:
Ctrl+Shift+Y: Open or close the assistant panelCtrl+Shift+K: Open the AI rewrite viewCtrl+Shift+L: Translate the current selection or active text fieldAlt+Enter/Alt+Backspace/Alt+Z: Accept a suggestion, dismiss a suggestion, or undo the lastgrammaiedit
Beta Editor Scope and Documented Limitations
With its initial GitHub repository and v0.6.6 release created on October 18, 2026, and commits continuing through October 24, 2026, grammai is explicitly scoped as an early beta release rather than a full drop-in replacement for mature commercial suites.
Currently supported input targets include standard <textarea> elements, suitable text inputs, standard contenteditable fields, and tested Draft.js editors such as X-style compose boxes. Dedicated support for the Google Docs canvas as well as general Shadow DOM, Slate, and ProseMirror editor adapters remains incomplete.
Several operational constraints also apply to the AI workflow. The one-time local helper installer required for the CLI bridge currently supports macOS only, and detecting an installed CLI does not guarantee active login status or model quota—your provider's account terms and usage limits govern every request. Finally, automatic language detection can be ambiguous on short or mixed-language snippets, and language support is currently limited to English, German, and Romanian.
Sources
- Official GitHub Repository (
zilvestro/grammai): https://github.com/zilvestro/grammai - Chrome Web Store Listing: grammai on Chrome Web Store
- Author Announcement by Silvestro (
@zilvestro) on X: https://x.com/zilvestro/status/2112099599305572385