Quick Start
Get OpenGrammar up and running in 5 minutes!
Follow these steps to get OpenGrammar running quickly. You'll need an API key for the best experience.
Step 1: Get Your API Key (Optional but Recommended)
For the best grammar checking experience, you'll need an API key. We recommend Groq for its free tier:
- Visit Groq Console
- Sign up / Log in
- Go to API Keys → Create API Key
- Copy your key (starts with
gsk_)
Step 2: Build the Extension
# Clone the repository
git clone https://github.com/swadhinbiswas/opengrammar.git
cd opengrammar/opengrammar/extension
# Install dependencies
bun install
# Build the extension
bun run build
This creates a dist/ folder with the built extension.
Step 3: Load in Your Browser
Chrome / Brave / Edge
- Open
chrome://extensions/(orbrave://extensions//edge://extensions/) - Enable Developer mode (toggle in top-right)
- Click Load unpacked
- Select the
opengrammar/extension/distfolder - Extension loaded! You'll see the OpenGrammar icon
Brave Browser
- Open
brave://extensions/ - Enable Developer mode (top-right)
- Click Load unpacked
- Select
opengrammar/extension/distfolder - Extension loaded!
Microsoft Edge
- Open
edge://extensions/ - Enable Developer mode (left sidebar)
- Click Load unpacked
- Select
opengrammar/extension/distfolder - Extension loaded!
Mozilla Firefox
- Open
about:debugging#/runtime/this-firefox - Click Load Temporary Add-on
- Navigate to
opengrammar/extension/dist - Select
manifest.json - Extension loaded!
Step 4: Configure
- Click the OpenGrammar icon in your toolbar
- Click Settings (gear icon)
- Enter your API key (from Step 1)
- Select Provider: Groq
- Select Model: llama-3.1-70b-versatile
- Backend URL:
http://localhost:8787(for local testing)
Step 5: Start Writing!
- Open any text box (Gmail, Google Docs, Notion, etc.)
- Type something with a grammar error:
me and him went to store - You'll see a red underline under the error
- Click it to see the suggestion:
he and I went to store - Click Apply to fix it!
Quick Commands
# Start local backend
cd opengrammar/opengrammar/backend
bun run dev
# Test backend
curl http://localhost:8787/health