/ opengrammar / docs / 01-quick-start.md
swadhinbiswas docs: add quick start guide for new users Β· 3/14/2026
74aebf9
112 lines Β· 2.8 KB
Raw Download

πŸš€ Quick Start

Get OpenGrammar up and running in 5 minutes!


⚑ 5-Minute Setup

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:

  1. Visit Groq Console
  2. Sign up / Log in
  3. Go to API Keys β†’ Create API Key
  4. Copy your key (starts with gsk_)

Free Tier: 100 requests/day - enough for most users!

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

Step 3: Load in Your Browser

Chrome / Brave / Edge

  1. Open chrome://extensions/ (or brave://extensions/ / edge://extensions/)
  2. Enable Developer mode (toggle in top-right)
  3. Click Load unpacked
  4. Select the opengrammar/extension/dist folder
  5. βœ… Extension loaded! You'll see the OpenGrammar icon

Firefox

  1. Open about:debugging#/runtime/this-firefox
  2. Click Load Temporary Add-on
  3. Navigate to opengrammar/extension/dist
  4. Select manifest.json
  5. βœ… Extension loaded!

Step 4: Configure

  1. Click the OpenGrammar icon in your toolbar
  2. Click Settings (gear icon)
  3. Enter your API key (from Step 1)
  4. Select Provider: Groq
  5. Select Model: llama-3.1-70b-versatile
  6. Backend URL: http://localhost:8787 (for local testing)

Step 5: Start Writing!

  1. Open any text box (Gmail, Google Docs, Notion, etc.)
  2. Type something with a grammar error: me and him went to store
  3. You'll see a red underline under the error
  4. Click it to see the suggestion: he and I went to store
  5. Click Apply to fix it!

🎯 What's Next?

I want to... Do this...
Deploy to production Read Backend Deployment
Use local AI (offline) Read Ollama Setup
Rewrite text in different tones Read Tone Rewriting
See all features Read Using OpenGrammar

πŸ› οΈ Quick Commands

Start Local Backend

cd opengrammar/opengrammar/backend
bun install
bun run dev
# Runs on http://localhost:8787

Build Extension

cd opengrammar/opengrammar/extension
bun run build

Test Backend

curl http://localhost:8787/health

❓ Need Help?


Congratulations! You're ready to write better with OpenGrammar! ✨