A Chrome extension built with WXT and shadcn/ui that helps you polish text with AI capabilities. Simply select any text on a webpage to translate, explain, or copy it with a sleek floating menu.
- 🔍 Smart text selection detection
- 🌐 One-click translation to multiple languages
- 📚 AI-powered text explanation
- 📋 Quick copy functionality
- 🎯 Floating UI that follows your selection
- ⚡ Fast and responsive interactions
- 🔒 Secure API key management
- Framework: React + TypeScript
- Extension Framework: WXT (WebExtension Tools)
- UI Components: shadcn/ui
- Styling: Tailwind CSS
- Icons: Lucide React
- State Management: React Hooks
- API Integration: OpenAI/Claude API
- Clone the repository:
git clone https://github.com/hellokaton/text-polish-chrome-extension.git
- Install dependencies:
pnpm install
- Start development server:
pnpm dev
This will automatically:
- Start the development server
- Open Chrome with the extension loaded
- Enable hot reload for development
The extension will be automatically reloaded when you make changes to the code.
The extension can be configured through the popup settings panel:
- API endpoint configuration
- API key management
- Model selection
- Target language preference
Contributions are welcome! Please feel free to submit a Pull Request.
This project is licensed under the MIT License - see the LICENSE file for details.