scramble  by zlwaterfield

Open-source Chrome extension for AI-powered writing enhancement

Created 1 year ago
1,599 stars

Top 26.2% on SourcePulse

GitHubView on GitHub
Project Summary

Scramble is an open-source Chrome extension that acts as a customizable AI-powered writing assistant, offering an alternative to proprietary tools like Grammarly. It targets users who want more control over their writing enhancement process by allowing configuration of LLM providers, models, and custom prompts, directly within their browser.

How It Works

Scramble integrates with various LLM providers (OpenAI, Anthropic, Groq, OpenRouter) via API calls. Users highlight text on any webpage, right-click to access a context menu, select "Scramble," and choose a predefined or custom prompt. The extension then sends the selected text and prompt to the configured LLM for processing and returns the enhanced text. This approach offers flexibility in choosing AI models and tailoring the enhancement process through custom prompts.

Quick Start & Requirements

  • Installation: Clone the repository, run npm install, then npm run build. For Chrome, load the unpacked extension from the dist/chrome directory. For Firefox, load the temporary add-on from dist/firefox by selecting manifest.json.
  • Prerequisites: Node.js and npm.
  • Configuration: Requires API keys for chosen LLM providers.
  • Development: Run npx tailwindcss -i src/libs/tw-input.css -o src/libs/tw-output.css --minify --watch for CSS builds.
  • Docs: Chrome Web Store

Highlighted Details

  • Supports multiple LLM providers including OpenAI, Anthropic, Groq, and OpenRouter.
  • Allows creation and use of custom text enhancement prompts.
  • Offers predefined prompts for grammar, style, summarization, and more.
  • Future plans include local LLM support and enhanced context awareness.

Maintenance & Community

Contributions are welcome via Pull Requests. No specific community channels or notable contributors are mentioned in the README.

Licensing & Compatibility

  • License: MIT License.
  • Compatibility: Permissive MIT license allows for commercial use and integration with closed-source projects.

Limitations & Caveats

The extension is currently only available for Chrome, with Firefox support "coming soon." Local LLM support is planned but not yet implemented, meaning current usage relies on third-party LLM providers and their associated costs/privacy implications.

Health Check
Last Commit

3 months ago

Responsiveness

1+ week

Pull Requests (30d)
0
Issues (30d)
0
Star History
24 stars in the last 30 days

Explore Similar Projects

Starred by Chip Huyen Chip Huyen(Author of "AI Engineering", "Designing Machine Learning Systems"), Jeff Hammerbacher Jeff Hammerbacher(Cofounder of Cloudera), and
6 more.

prompt-engine by microsoft

0.1%
3k
NPM library for LLM prompt engineering
Created 3 years ago
Updated 2 years ago
Starred by Clement Delangue Clement Delangue(Cofounder of Hugging Face), Chip Huyen Chip Huyen(Author of "AI Engineering", "Designing Machine Learning Systems"), and
10 more.

promptsource by bigscience-workshop

0.2%
3k
Toolkit for creating, sharing, and using natural language prompts
Created 4 years ago
Updated 1 year ago
Feedback? Help us improve.