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.
- Chrome: https://chromewebstore.google.com/detail/scramble/mkaljgnigabhmjfookbokejhfghmkffo
- Firefox: coming soon
- 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)
- 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
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
.
- 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:
![Screenshot 2024-09-17 at 10 14 30 PM](https://private-user-images.githubusercontent.com/6392501/368399491-7a8685e5-94dd-47be-a141-f84bcbf1321f.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MzkxNTg5MTMsIm5iZiI6MTczOTE1ODYxMywicGF0aCI6Ii82MzkyNTAxLzM2ODM5OTQ5MS03YTg2ODVlNS05NGRkLTQ3YmUtYTE0MS1mODRiY2JmMTMyMWYucG5nP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI1MDIxMCUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNTAyMTBUMDMzNjUzWiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9ZWZmYzhkYmM2NTY3YWRkYTEwYzE2YzZjYmY1NzA0NzczNjE1MDcxYzhkODc0NDQ1ZjBiNWRjZDQ2NDUwNzk5OSZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QifQ.TjE38sWIIoFJ_clOlO3UDOzwOGOHcKBtad8iaLmLAXs)
- OpenAI
- Anthropic
- Groq
- OpenRouter
- Ollama (coming soon)
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
You can also create your own custom prompts. They will show up in the list of prompts as soon as you save.
![Screenshot 2024-11-02 at 10 00 47 AM](https://private-user-images.githubusercontent.com/6392501/382476879-add93ae6-0018-4845-91cc-a43a1d95077c.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MzkxNTg5MTMsIm5iZiI6MTczOTE1ODYxMywicGF0aCI6Ii82MzkyNTAxLzM4MjQ3Njg3OS1hZGQ5M2FlNi0wMDE4LTQ4NDUtOTFjYy1hNDNhMWQ5NTA3N2MucG5nP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI1MDIxMCUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNTAyMTBUMDMzNjUzWiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9MDIzYmI0NWQ0ZjBkZjk5ZmU3MzM2YWM2MTI5OWU3ZDY4MDkzY2ZiZWY2MzBiOTZiOTAyMGQ5ODM5ODNiMTZmYiZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QifQ.sKvNjVM_k6qc2I2Gkkyxnvbfsae2wBRTAMTiHu-akQI)
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
- Local LLM so it doesn't rely on a third party
Contributions are welcome! Please feel free to submit a Pull Request.