Skip to content

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.

License

Notifications You must be signed in to change notification settings

hellokaton/text-polish-chrome-extension

Repository files navigation

Text Polish - A Chrome Extension 🤖

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.

✨ Features

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

🛠️ Tech Stack

  • 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

🚀 Getting Started

  1. Clone the repository: git clone https://github.com/hellokaton/text-polish-chrome-extension.git
  2. Install dependencies:
pnpm install
  1. 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.

📸 Screenshots

🔧 Configuration

The extension can be configured through the popup settings panel:

  • API endpoint configuration
  • API key management
  • Model selection
  • Target language preference

🤝 Contributing

Contributions are welcome! Please feel free to submit a Pull Request.

📝 License

This project is licensed under the MIT License - see the LICENSE file for details.

🙏 Acknowledgments

About

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.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages