ef95db2
commit ef95db2
1 file changed
+488 -0
Showing 1 changed file+488-0
βΌdocs/19-faq.md
+488-0
| @@ -0,0 +1,488 @@ | ||
1 | +# β Frequently Asked Questions (FAQ) | |
2 | + | |
3 | +Common questions about OpenGrammar answered. | |
4 | + | |
5 | +--- | |
6 | + | |
7 | +## π Table of Contents | |
8 | + | |
9 | +1. [General Questions](#general-questions) | |
10 | +2. [Installation & Setup](#installation--setup) | |
11 | +3. [Features & Usage](#features--usage) | |
12 | +4. [Privacy & Security](#privacy--security) | |
13 | +5. [AI Providers](#ai-providers) | |
14 | +6. [Troubleshooting](#troubleshooting) | |
15 | +7. [Contributing](#contributing) | |
16 | + | |
17 | +--- | |
18 | + | |
19 | +## π― General Questions | |
20 | + | |
21 | +### What is OpenGrammar? | |
22 | + | |
23 | +OpenGrammar is a free, open-source browser extension that helps you write clearly and confidently. It's a privacy-first alternative to Grammarly that runs in your browser and can work completely offline. | |
24 | + | |
25 | +### Is OpenGrammar really free? | |
26 | + | |
27 | +**Yes!** OpenGrammar is 100% free and open-source. You can: | |
28 | +- Use the rule-based grammar checker for free (offline) | |
29 | +- Bring your own API key for AI features (pay only what you use) | |
30 | +- Self-host the backend for free | |
31 | +- Modify and distribute the code | |
32 | + | |
33 | +### How is OpenGrammar different from Grammarly? | |
34 | + | |
35 | +| Feature | Grammarly | OpenGrammar | | |
36 | +|---------|-----------|-------------| | |
37 | +| **Cost** | $12/month for premium | Free | | |
38 | +| **Privacy** | Sends data to servers | Your data stays local | | |
39 | +| **Open Source** | No | Yes | | |
40 | +| **Offline Mode** | Limited | Full offline support | | |
41 | +| **AI Providers** | Only Grammarly's AI | Choose from 6+ providers | | |
42 | +| **Self-Hosting** | No | Yes | | |
43 | + | |
44 | +### What browsers are supported? | |
45 | + | |
46 | +OpenGrammar works on all Chromium-based browsers: | |
47 | +- β
Google Chrome (88+) | |
48 | +- β
Brave (1.20+) | |
49 | +- β
Microsoft Edge (88+) | |
50 | +- β
Opera (74+) | |
51 | +- β
Vivaldi (3.6+) | |
52 | + | |
53 | +Firefox support is available but temporary (must reload each session). | |
54 | + | |
55 | +### Is OpenGrammar open-source? | |
56 | + | |
57 | +**Yes!** The entire codebase is open-source under the Apache 2.0 license. You can: | |
58 | +- View the source code on GitHub | |
59 | +- Contribute improvements | |
60 | +- Fork and modify | |
61 | +- Self-host your own version | |
62 | + | |
63 | +--- | |
64 | + | |
65 | +## π₯ Installation & Setup | |
66 | + | |
67 | +### How do I install OpenGrammar? | |
68 | + | |
69 | +1. Clone the repository or download the release | |
70 | +2. Build the extension: `bun run build` | |
71 | +3. Load unpacked in your browser | |
72 | +4. Configure settings | |
73 | + | |
74 | +See [Browser Extension Setup](04-browser-extension-setup.md) for detailed instructions. | |
75 | + | |
76 | +### Do I need to deploy a backend? | |
77 | + | |
78 | +**No, but it's recommended.** You have options: | |
79 | + | |
80 | +**Option 1: Local Backend (Recommended for testing)** | |
81 | +- Run backend on your computer | |
82 | +- Free, full control | |
83 | +- Requires Node.js | |
84 | + | |
85 | +**Option 2: Cloud Backend (Recommended for production)** | |
86 | +- Deploy to Cloudflare Workers, Vercel, etc. | |
87 | +- Free tiers available | |
88 | +- Access from anywhere | |
89 | + | |
90 | +**Option 3: Rule-Based Only** | |
91 | +- No backend needed | |
92 | +- Works offline | |
93 | +- Basic grammar checking only | |
94 | + | |
95 | +### Is technical knowledge required? | |
96 | + | |
97 | +**Basic setup:** Minimal technical knowledge needed | |
98 | +- Follow step-by-step guides | |
99 | +- Copy-paste commands | |
100 | +- Configure in UI | |
101 | + | |
102 | +**Advanced setup:** Some technical knowledge helpful | |
103 | +- Deploying to cloud platforms | |
104 | +- Running local servers | |
105 | +- Configuring API keys | |
106 | + | |
107 | +### How long does setup take? | |
108 | + | |
109 | +- **Quick setup:** 5-10 minutes | |
110 | +- **With cloud deployment:** 15-20 minutes | |
111 | +- **With local LLM:** 30 minutes | |
112 | + | |
113 | +--- | |
114 | + | |
115 | +## π¨ Features & Usage | |
116 | + | |
117 | +### What features are included? | |
118 | + | |
119 | +**Grammar Checking:** | |
120 | +- 40+ grammar rules | |
121 | +- Spelling correction | |
122 | +- Punctuation checks | |
123 | +- Style suggestions | |
124 | + | |
125 | +**AI Features:** | |
126 | +- Advanced grammar checking | |
127 | +- Tone rewriting (8 tones) | |
128 | +- Context understanding | |
129 | +- Writing statistics | |
130 | + | |
131 | +**Privacy Features:** | |
132 | +- Local rule-based checking | |
133 | +- Self-hostable backend | |
134 | +- No data retention | |
135 | +- Bring your own API key | |
136 | + | |
137 | +### Does it work offline? | |
138 | + | |
139 | +**Yes!** The rule-based grammar checker works completely offline without any internet connection. AI features require internet for cloud providers, but you can use local LLMs (Ollama) for offline AI. | |
140 | + | |
141 | +### What websites does it work on? | |
142 | + | |
143 | +OpenGrammar works on most websites with text inputs: | |
144 | +- β
Gmail | |
145 | +- β
Google Docs | |
146 | +- β
Notion | |
147 | +- β
Twitter/X | |
148 | +- β
Facebook | |
149 | +- β
LinkedIn | |
150 | +- β
Reddit | |
151 | +- β
Any custom text box | |
152 | + | |
153 | +Some sites may need to be manually enabled in settings. | |
154 | + | |
155 | +### Can I use it on mobile? | |
156 | + | |
157 | +Currently, OpenGrammar is designed for **desktop browsers only**. Mobile browser extensions have limited support. We're working on mobile support in future releases. | |
158 | + | |
159 | +### How do I disable it on certain sites? | |
160 | + | |
161 | +1. Click extension icon | |
162 | +2. Toggle "Enable on this site" OFF | |
163 | +3. Or go to Options β Site-Specific Settings | |
164 | +4. Add domains to disable list | |
165 | + | |
166 | +### Can I add custom words? | |
167 | + | |
168 | +**Yes!** Use the Custom Dictionary: | |
169 | +1. Right-click extension β Options | |
170 | +2. Go to Custom Dictionary | |
171 | +3. Add your words | |
172 | +4. Words won't be flagged as errors | |
173 | + | |
174 | +--- | |
175 | + | |
176 | +## π Privacy & Security | |
177 | + | |
178 | +### Is my data safe? | |
179 | + | |
180 | +**Yes!** OpenGrammar is designed with privacy in mind: | |
181 | + | |
182 | +**Rule-Based Checking:** | |
183 | +- 100% local in your browser | |
184 | +- No data leaves your computer | |
185 | +- Works offline | |
186 | + | |
187 | +**AI Checking:** | |
188 | +- Text sent directly to your chosen provider | |
189 | +- Backend is stateless (doesn't store data) | |
190 | +- No databases or user accounts | |
191 | +- API keys stored locally in browser | |
192 | + | |
193 | +### Do you store my API keys? | |
194 | + | |
195 | +**No.** API keys are: | |
196 | +- Stored in your browser's local storage (encrypted by Chrome) | |
197 | +- Never sent to OpenGrammar servers | |
198 | +- Only used to authenticate with AI providers | |
199 | +- Under your complete control | |
200 | + | |
201 | +### What data is sent to AI providers? | |
202 | + | |
203 | +When using AI features: | |
204 | +- Your text is sent to the provider (OpenAI, Groq, etc.) | |
205 | +- Provider processes the text | |
206 | +- Returns suggestions | |
207 | +- Text is **not stored** by the provider (check their policies) | |
208 | + | |
209 | +### Can I run everything locally? | |
210 | + | |
211 | +**Yes!** Complete local setup: | |
212 | +1. Run backend locally (Docker or Node.js) | |
213 | +2. Use Ollama for local LLM | |
214 | +3. Everything stays on your computer | |
215 | +4. 100% offline, 100% private | |
216 | + | |
217 | +### Is the code auditable? | |
218 | + | |
219 | +**Yes!** Being open-source means: | |
220 | +- Anyone can review the code | |
221 | +- Security researchers can audit | |
222 | +- Community can verify privacy claims | |
223 | +- Transparent development | |
224 | + | |
225 | +--- | |
226 | + | |
227 | +## π€ AI Providers | |
228 | + | |
229 | +### Which AI provider should I use? | |
230 | + | |
231 | +**For free usage:** Groq | |
232 | +- 100 requests/day free | |
233 | +- Fast inference | |
234 | +- Good quality (Llama 3.1 70B) | |
235 | + | |
236 | +**For best quality:** OpenAI | |
237 | +- GPT-4o-mini model | |
238 | +- Highest accuracy | |
239 | +- Low cost (~$0.15/1K requests) | |
240 | + | |
241 | +**For privacy:** Ollama | |
242 | +- Run models locally | |
243 | +- No API calls | |
244 | +- Complete privacy | |
245 | + | |
246 | +**For variety:** OpenRouter | |
247 | +- Access to 100+ models | |
248 | +- Claude, Llama, Mistral, etc. | |
249 | +- Pay-per-use | |
250 | + | |
251 | +### Do I need an API key? | |
252 | + | |
253 | +**For rule-based checking:** No API key needed | |
254 | + | |
255 | +**For AI features:** Yes, but you have options: | |
256 | +- Get free Groq key (100/day free) | |
257 | +- Use your existing OpenAI key | |
258 | +- Run Ollama locally (no key needed) | |
259 | + | |
260 | +### How much does it cost? | |
261 | + | |
262 | +**Free options:** | |
263 | +- Groq: 100 requests/day free | |
264 | +- Ollama: Free (your hardware) | |
265 | +- Rule-based: Completely free | |
266 | + | |
267 | +**Paid options:** | |
268 | +- OpenAI GPT-4o-mini: ~$0.15 per 1K requests | |
269 | +- Typical user: $0.50-2/month | |
270 | +- Heavy user: $5-10/month | |
271 | + | |
272 | +### Can I switch providers? | |
273 | + | |
274 | +**Yes!** You can switch providers anytime: | |
275 | +1. Click extension β Settings | |
276 | +2. Change provider dropdown | |
277 | +3. Enter new API key (if needed) | |
278 | +4. Save settings | |
279 | + | |
280 | +### What if I hit rate limits? | |
281 | + | |
282 | +**Groq free tier:** 100 requests/day | |
283 | +- Wait 24 hours for reset | |
284 | +- Or upgrade to paid plan | |
285 | + | |
286 | +**Other providers:** Check their limits | |
287 | +- Most have free tiers | |
288 | +- Upgrade if needed | |
289 | +- Use rule-based as fallback | |
290 | + | |
291 | +--- | |
292 | + | |
293 | +## π§ Troubleshooting | |
294 | + | |
295 | +### Why isn't it working? | |
296 | + | |
297 | +**Most common issues:** | |
298 | + | |
299 | +1. **Extension not enabled** | |
300 | + - Check chrome://extensions/ | |
301 | + - Enable OpenGrammar | |
302 | + | |
303 | +2. **Backend not running** | |
304 | + - Start backend: `bun run dev` | |
305 | + - Check health: `curl localhost:8787/health` | |
306 | + | |
307 | +3. **Site disabled** | |
308 | + - Check Options β Site-Specific Settings | |
309 | + - Enable current site | |
310 | + | |
311 | +4. **No API key** | |
312 | + - Add API key in Settings | |
313 | + - Or use rule-based only | |
314 | + | |
315 | +See [Troubleshooting Guide](18-troubleshooting.md) for detailed help. | |
316 | + | |
317 | +### Why is it slow? | |
318 | + | |
319 | +**Possible causes:** | |
320 | +- AI provider latency (try Groq for speed) | |
321 | +- Long text (check in chunks) | |
322 | +- Slow internet connection | |
323 | +- Backend on free tier (upgrade or self-host) | |
324 | + | |
325 | +### Why are there false positives? | |
326 | + | |
327 | +**Reasons:** | |
328 | +- Technical terms not in dictionary | |
329 | +- Proper nouns (names, places) | |
330 | +- Industry jargon | |
331 | +- Made-up words | |
332 | + | |
333 | +**Solution:** Add words to Custom Dictionary | |
334 | + | |
335 | +### How do I report a bug? | |
336 | + | |
337 | +1. Go to [GitHub Issues](https://github.com/swadhinbiswas/opengrammar/issues) | |
338 | +2. Search for similar issues | |
339 | +3. Create new issue with: | |
340 | + - Description | |
341 | + - Steps to reproduce | |
342 | + - Expected behavior | |
343 | + - Screenshots (if helpful) | |
344 | + - Debug information | |
345 | + | |
346 | +--- | |
347 | + | |
348 | +## π€ Contributing | |
349 | + | |
350 | +### How can I contribute? | |
351 | + | |
352 | +**Non-developers:** | |
353 | +- Report bugs | |
354 | +- Suggest features | |
355 | +- Improve documentation | |
356 | +- Share with others | |
357 | + | |
358 | +**Developers:** | |
359 | +- Fix bugs | |
360 | +- Add features | |
361 | +- Improve performance | |
362 | +- Add grammar rules | |
363 | +- Write tests | |
364 | + | |
365 | +### Do I need to be an expert? | |
366 | + | |
367 | +**No!** All skill levels welcome: | |
368 | +- Beginners: Fix typos, improve docs | |
369 | +- Intermediate: Add grammar rules | |
370 | +- Advanced: New features, optimizations | |
371 | + | |
372 | +### How do I add grammar rules? | |
373 | + | |
374 | +See [Grammar Rules Guide](16-grammar-rules.md): | |
375 | +1. Open `backend/src/analyzer-simple.ts` | |
376 | +2. Add regex pattern | |
377 | +3. Add suggestion and reason | |
378 | +4. Test and submit PR | |
379 | + | |
380 | +### Is there a reward for contributing? | |
381 | + | |
382 | +**Intrinsic rewards:** | |
383 | +- Help thousands of users | |
384 | +- Improve your coding skills | |
385 | +- Build your portfolio | |
386 | +- Join open-source community | |
387 | + | |
388 | +**No monetary rewards** - this is a community project | |
389 | + | |
390 | +--- | |
391 | + | |
392 | +## π Technical Questions | |
393 | + | |
394 | +### What technology stack is used? | |
395 | + | |
396 | +**Extension:** | |
397 | +- React + TypeScript | |
398 | +- Vite (bundler) | |
399 | +- Manifest V3 | |
400 | +- Tailwind CSS | |
401 | + | |
402 | +**Backend:** | |
403 | +- Hono (web framework) | |
404 | +- TypeScript | |
405 | +- Cloudflare Workers / Node.js | |
406 | +- OpenAI SDK | |
407 | + | |
408 | +**Infrastructure:** | |
409 | +- Docker for self-hosting | |
410 | +- GitHub Actions for CI/CD | |
411 | +- GitHub Pages for docs | |
412 | + | |
413 | +### Can I use it programmatically? | |
414 | + | |
415 | +**Yes!** The backend provides a REST API: | |
416 | +```bash | |
417 | +curl -X POST http://localhost:8787/analyze \ | |
418 | + -H "Content-Type: application/json" \ | |
419 | + -d '{"text": "your text"}' | |
420 | +``` | |
421 | + | |
422 | +See [API Reference](15-api-reference.md) for details. | |
423 | + | |
424 | +### Can I integrate with other tools? | |
425 | + | |
426 | +**Yes!** Options include: | |
427 | +- VS Code extension (future) | |
428 | +- Desktop app (Electron) | |
429 | +- Mobile app (React Native) | |
430 | +- API integration in your apps | |
431 | + | |
432 | +### What's the roadmap? | |
433 | + | |
434 | +See [ROADMAP.md](../ROADMAP.md): | |
435 | +- β
v2.1: Tone rewriting, statistics | |
436 | +- π§ v3.0: Firefox support, autocomplete | |
437 | +- π v4.0: Desktop apps, Developer API | |
438 | + | |
439 | +--- | |
440 | + | |
441 | +## π° Cost Questions | |
442 | + | |
443 | +### Is there a premium version? | |
444 | + | |
445 | +**No!** OpenGrammar is completely free. No premium tier, no subscriptions, no hidden costs. | |
446 | + | |
447 | +### How do you make money? | |
448 | + | |
449 | +**We don't.** This is a community open-source project: | |
450 | +- Built by volunteers | |
451 | +- Funded by users (API costs) | |
452 | +- Free to use forever | |
453 | + | |
454 | +### Will it stay free? | |
455 | + | |
456 | +**Yes!** The project is committed to staying free: | |
457 | +- Apache 2.0 license | |
458 | +- Community-driven | |
459 | +- No monetization plans | |
460 | + | |
461 | +--- | |
462 | + | |
463 | +## π More Questions? | |
464 | + | |
465 | +### Where can I find more information? | |
466 | + | |
467 | +**Documentation:** | |
468 | +- [Quick Start](01-quick-start.md) | |
469 | +- [User Guide](09-using-opengrammar.md) | |
470 | +- [API Reference](15-api-reference.md) | |
471 | +- [Troubleshooting](18-troubleshooting.md) | |
472 | + | |
473 | +**Community:** | |
474 | +- [GitHub Discussions](https://github.com/swadhinbiswas/opengrammar/discussions) | |
475 | +- [GitHub Issues](https://github.com/swadhinbiswas/opengrammar/issues) | |
476 | +- [Discord Server](link-to-discord) | |
477 | + | |
478 | +### Still have questions? | |
479 | + | |
480 | +**Ask in GitHub Discussions!** | |
481 | +- Community is friendly | |
482 | +- Developers respond quickly | |
483 | +- Others may have same questions | |
484 | + | |
485 | +--- | |
486 | + | |
487 | +**Last Updated:** March 2026 | |
488 | +**Version:** 2.1.0 | |
0 | 489 | |