A lightweight Chrome extension that provides AI-powered text rephrasing capabilities with multiple modes and tones of voice.
-
Multiple Rephrasing Modes:
- Simplify: Make text easier to understand
- Improve: Enhance clarity and quality
- Detail: Add more depth and context
- Shorten: Make text more concise
-
Tone of Voice Options:
- Professional (default)
- Casual
- Friendly
- Direct
-
Multiple AI Providers:
- OpenAI (GPT-4o-mini)
- Google Gemini (gemini-1.5-flash)
- Groq (llama-3.1-8b-instant)
- Ollama (local - llama3.2)
-
Smart Provider Selection:
- Auto-select first available provider
- Fallback to next available on error
-
History Management:
- Store last 50 entries
- Copy, reuse, or delete entries
-
Clone the repository:
git clone https://github.com/yourusername/textcraft-ai.git cd textcraft-ai -
Install dependencies:
npm install -
Start development server:
npm run dev -
Load the extension in Chrome:
- Go to
chrome://extensions/ - Enable "Developer mode"
- Click "Load unpacked"
- Select the
distfolder
- Go to
-
Build the extension:
npm run build -
The production build will be available in the
distfolder.
- Get an API key from OpenAI
- Enter the key in the extension settings
- Get an API key from Google AI Studio
- Enter the key in the extension settings
- Get an API key from Groq
- Enter the key in the extension settings
- Install Ollama from ollama.ai
- Run
ollama pull llama3.2in terminal - Ensure Ollama is running at
http://localhost:11434 - The extension will automatically detect if Ollama is available
- Click the extension icon to open the popup
- Enter or paste text to rephrase
- Select rephrasing mode and tone
- Choose AI provider
- Click "Rephrase"
- The result will be automatically copied to clipboard
MIT