https://github.com/nucleartux/ai-grammar
Chrome AI Grammar Check Extension
https://github.com/nucleartux/ai-grammar
chrome-extension grammar-checker
Last synced: 6 months ago
JSON representation
Chrome AI Grammar Check Extension
- Host: GitHub
- URL: https://github.com/nucleartux/ai-grammar
- Owner: nucleartux
- License: mit
- Created: 2024-08-17T15:26:54.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2024-10-17T19:02:26.000Z (12 months ago)
- Last Synced: 2025-03-30T01:38:14.406Z (6 months ago)
- Topics: chrome-extension, grammar-checker
- Language: TypeScript
- Homepage: https://chromewebstore.google.com/detail/free-ai-grammar-checker/jnkjkpapplndagboidnhphaciphgjeca
- Size: 398 KB
- Stars: 37
- Watchers: 2
- Forks: 9
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# ai-grammar
|  |  |
| :----------------------------------------------------------: | :------------------------------------------------------: |> Completely free and open source Chrome AI Grammar Check Extension
- Completely free. No subscriptions required. No ads.
- Absolutely safe. AI works on your machine. No data sent to the internet.
- Smart grammar check. Checks full sentences, not only individual words.[Download from Chrome Web Store](https://chromewebstore.google.com/detail/free-ai-grammar-checker/jnkjkpapplndagboidnhphaciphgjeca)
## Installing
For installation you have two options (you need to choose only one):
**First option: Using local installed Ollama server (you need 16GB RAM or more):**
1. Install [Ollama](https://ollama.com/download)
2. Install `ollama3.1` model:Open terminal and run:
```shell
ollama run llama3.1
```3. Set CORS headers:
For macOS open terminal and run:
```shell
launchctl setenv OLLAMA_ORIGINS "*"
```For other OS please check [this](https://medium.com/dcoderai/how-to-handle-cors-settings-in-ollama-a-comprehensive-guide-ee2a5a1beef0)
4. Restart Ollama server:
for macOS: click on the Ollama icon in the menu bar and click "Quit Ollama" and then run Ollama from the Launchpad (or Applications folder) again.
---
**Second option: Using Built-in AI in future versions of Chrome:**
1. Install [Chrome canary version](https://www.google.com/chrome/canary/)
2. Open `chrome://flags/#prompt-api-for-gemini-nano` and set it to `Enabled`
3. Open `chrome://flags/#optimization-guide-on-device-model` and set it to `Enabled BypassPrefRequirement`
4. Go to `chrome://components` and click "Check for Update" on "Optimization Guide On Device Model"If something goes wrong reload the page, if it doesn't work please [open an issue](https://github.com/nucleartux/ai-grammar/issues/new).
## Developing
run the command
```shell
$ cd ai-grammar$ npm install
$ npm run build
```### Chrome Extension Developer Mode
1. set your Chrome browser 'Developer mode' up
2. click 'Load unpacked', and select `ai-grammar/build` folder