Scramble - Open-Source Grammarly Alternative
Note: this project has lots of users but I'm not actively developing it so if you'd like to be a maintainer on this project let me know!
Scramble is an open-source Chrome extension that leverages AI to enhance your writing directly in your browser. It's designed to be a more customizable alternative to Grammarly by using specific prompts and allowing you to configure the LLM provider, model, and endpoint.
Extensions
- Chrome: https://chromewebstore.google.com/detail/scramble/mkaljgnigabhmjfookbokejhfghmkffo
- Firefox: coming soon
Installation
Chrome Installation
- Clone this repository
- Run
npm install - Run
npm run build - Open Chrome and go to chrome://extensions/
- Enable "Developer mode" in the top right
- Click "Load unpacked" and select the extension directory (dist/chrome)
Firefox Installation
- Clone this repository
- Run
npm install - Run
npm run build - Open Firefox and go to about:debugging#/runtime/this-firefox
- Click "Load Temporary Add-on"
- Navigate to the extension directory (dist/firefox) and select manifest.json
Development
When developing you'll need to run npx tailwindcss -i src/libs/tw-input.css -o src/libs/tw-output.css --minify --watch in order to build the css on the fly. The runs automatically when you run npm run build.
Usage
- Highlight text on any webpage
- Right-click to open the context menu
- Select "Scramble" and choose a text enhancement option
- Wait for the AI to process and enhance your text
Screenshot:
Supported LLMs
- OpenAI
- Anthropic
- Groq
- OpenRouter
- Ollama
- LM Studio
Default Prompts
Scramble comes with several pre-configured text enhancement options:
- Fix spelling and grammar
- Improve writing
- Make more professional
- Simplify text
- Summarize text
- Expand text
- Convert to bullet points
Custom Prompts
You can also create your own custom prompts. They will show up in the list of prompts as soon as you save.
Future Features
Planned features include:
- Support for additional language models (LLMs)
- Multiple LLM configurations at the same time
- Enhanced context awareness
- View diff between original and improved text
- Underline grammar / spelling issues
Contributing
Contributions are welcome! Please feel free to submit a Pull Request.