GoodWrite is a Chrome extension that helps you improve your writing by providing real-time grammar and typo corrections while maintaining the original tone of your text. Using the Llama 2 language model, it offers contextual suggestions right where you need them.
- 🎯 Context menu integration for easy access
- ✍️ Grammar and typo correction
- 🎨 Preserves the original tone and style of your writing
- 🚀 Real-time text processing
- 💻 Works with any text input field on websites
Before installing GoodWrite, ensure you have:
- Ollama installed locally with the Llama 2 model
- Chrome browser (version 88 or higher)
-
Clone this repository:
git clone https://github.com/your-username/GoodWrite.git
-
Open Chrome and navigate to
chrome://extensions/
-
Enable "Developer mode" in the top right corner
-
Click "Load unpacked" and select the GoodWrite directory
- Right-click on any text field while browsing
- Select "Rewrite" from the context menu
- Wait for the enhanced text to appear in your text field
GoodWrite uses:
- Chrome Extensions Manifest V3
- Local Ollama API integration
- Content Scripts for webpage interaction
- Background Service Worker for API communication
The extension connects to Ollama running on localhost:11434
. If you need to modify this:
- Update the host permissions in
manifest.json
- Modify the API endpoint in
background.js
- Load the extension in Chrome
- Navigate to any website with a text input field
- Right-click on the field and select "Rewrite"
- Verify that the text is properly enhanced
This project is licensed under the Apache-2.0 License - see the LICENSE file for details.
For issues and feature requests, please create an issue in the GitHub repository.
Note: This extension requires a local Ollama installation with the Llama 2 model. Make sure it's properly set up and running before using the extension.