https://github.com/hellokaton/text-polish-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.
https://github.com/hellokaton/text-polish-chrome-extension
chrome-extension shadcn-ui wxt
Last synced: 2 months ago
JSON representation
đ 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.
- Host: GitHub
- URL: https://github.com/hellokaton/text-polish-chrome-extension
- Owner: hellokaton
- License: mit
- Created: 2025-01-03T09:47:32.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2025-02-17T07:22:49.000Z (11 months ago)
- Last Synced: 2025-03-31T13:16:15.048Z (10 months ago)
- Topics: chrome-extension, shadcn-ui, wxt
- Language: TypeScript
- Homepage:
- Size: 513 KB
- Stars: 90
- Watchers: 4
- Forks: 16
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-shadcnui - Github
README
# Text Polish - A Chrome Extension đ¤
[įŽäŊ䏿](./README.zh-CN.md) | [English](./README.md)
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:
```bash
pnpm install
```
3. Start development server:
```bash
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
[MIT](LICENSE)
## đ Acknowledgments
- Built with [WXT](https://wxt.dev)
- UI components from [shadcn/ui](https://ui.shadcn.com)
- Icons from [Lucide](https://lucide.dev)