Skip to content

zlwaterfield/scramble

Repository files navigation

Scramble - Open-Source Grammarly Alternative

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: WIP

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

  1. Highlight text on any webpage
  2. Right-click to open the context menu
  3. Select "Scramble" and choose a text enhancement option
  4. Wait for the AI to process and enhance your text

Screenshot: Screenshot 2024-09-17 at 10 14 30 PM

Supported LLMs

  • OpenAI
  • Anthropic
  • Groq
  • OpenRouter
  • Ollama (coming soon)

Default Prompts

Scramble comes with several pre-configured text enhancement options:

  1. Fix spelling and grammar
  2. Improve writing
  3. Make more professional
  4. Simplify text
  5. Summarize text
  6. Expand text
  7. Convert to bullet points

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
  • Local LLM so it doesn't rely on a third party

Contributing

Contributions are welcome! Please feel free to submit a Pull Request.

License

MIT License