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.

Installation

  1. Clone this repository or download the source code
  2. Open Chrome and go to chrome://extensions/
  3. Enable "Developer mode" in the top right
  4. Click "Load unpacked" and select the extension directory

Development

When developing you'll need to run npx tailwindcss -i libs/tw-input.css -o libs/tw-output.css --minify --watch in order to build the css on the fly.

Currently pending review on Chrome Web Store. Once approved, you can install it from there.

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
  • 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