Style your text with AI β professional, social, academic or creative in one keystroke.
A Chrome extension built with React and Vite that enhances your text using the Gemini AI API.
- Quick-enhance:
Ctrl + Shift + U - Custom prompt window:
Ctrl + Shift + Y - Context generator:
Ctrl + Shift + H - Context-aware tone selection (email, social, academic, etc.)
- Optional emoji preservation
- Clipboard backup of every enhanced text
- Context-aware text improvements based on the website you're using
- Customizable with your own Gemini API key
- Works across all websites
(No coding required β works on Windows, macOS, Linux)
Grab the ready-to-use build from the latest release β no build tools needed.
Download latest ZIP- Download
text-enhacer-latest.zipabove and extract it anywhere. - In Chrome/Edge go to
chrome://extensions/(oredge://extensions/). - Enable Developer mode.
- Click Load unpacked and select the extracted
text-enhacer-latestfolder. - The βText-Enhancerβ icon will appear β youβre ready to go!
- Clone this repository
- Install dependencies:
npm install - Build the extension:
npm run build - Load the extension in Chrome:
- Open Chrome and navigate to
chrome://extensions/ - Enable "Developer mode" in the top-right corner
- Click "Load unpacked" and select the
distfolder from this project
- Open Chrome and navigate to
- Focus any text box, textarea, or content-editable field.
- Press
Ctrl + Shift + Uto enhance the selection instantly. - Need more control?
β’Ctrl + Shift + Yβ open the Custom Prompt window.
β’Ctrl + Shift + Hβ open Context Generator for AI drafting. - All enhanced text is also copied to your clipboard as a backup.
Tutorial video / GIF coming soonβ¦
(ZIP name may appear as text-enhancer-latest.zip if you downloaded from the newest release β either works the same)
No. The bundled background script calls our hosted API at https://tone-genie.vercel.app/api/enhance by default. Everything works out-of-the-box; no servers or terminals required.
No. The extension already communicates with our backend which holds a secure Gemini key.
β’ Casual users β just install and go.
β’ Developers / privacy-conscious users β you can self-host the backend or point the extension to your own endpoint via the NEXT_PUBLIC_API_BASE_URL env variable and supply your Gemini key there.
- Install the extension in Chrome
- Click on the extension icon to open the popup
- Enter your Gemini API key in the settings tab (optional)
- Navigate to any webpage with text input fields
- Focus on an input field and press
Ctrl+Shift+Uto enhance the text - The enhanced text will replace your original text and be copied to clipboard
- Placeholder Text: If an input field is empty, the extension will use the placeholder text as input
- Auto-detection: Even if no field is focused, the extension will look for search inputs or prompt areas
- Clipboard Backup: Enhanced text is always copied to clipboard as a backup
- Context Awareness: Enhancement is tailored based on the website context (email, social, etc.)
npm run dev- Start the development servernpm run build- Build the extension for production
- Built with React and Vite
- Uses Manifest V3 for Chrome extensions
- Integrates with Google's Generative AI API (Gemini)
- Context detection for different platforms
βββ public/ # Static assets and manifest
β βββ icons/ # Extension icons
β βββ manifest.json # Extension manifest file
β βββ index.html # Landing page
βββ src/
β βββ background/ # Background service worker
β β βββ index.js # Background script entry point
β βββ content/ # Content scripts
β β βββ index.js # Content script entry point
β βββ popup/ # Popup UI
β β βββ index.html # Popup HTML entry
β β βββ main.jsx # React entry point
β β βββ Popup.jsx # Main popup component
β β βββ index.css # Popup styles
β βββ utils/ # Utility functions
β βββ geminiApi.js # Gemini API integration
βββ vite.config.js # Vite configuration
βββ package.json # Project dependencies
βββ build.js # Custom build script
- Content Script: Runs on every webpage and listens for the keyboard shortcut (
Ctrl + Shift + U) - Background Script: Handles communication between content script and Gemini API
- Popup UI: Provides interface for API key management and testing
- Context Detection: Analyzes the current webpage to determine the appropriate enhancement style
The extension detects different contexts to tailor the text enhancement:
- Email: For composing professional emails
- Social Media: For posts, tweets, and comments
- Professional: For LinkedIn, work platforms, and documentation
- Academic: For educational sites and research platforms
- Romantic: For messaging apps and dating sites
- General: Default enhancement for any other context
βββ public/
β βββ manifest.json # Chrome extension manifest
β βββ icons/ # Extension icons
βββ src/
β βββ background/ # Background script
β βββ content/ # Content script
β βββ popup/ # Popup UI (React)
βββ vite.config.js # Vite configuration
βββ package.json # Dependencies and scripts
