apolisher-chrome

APolish Logo

APolish

A polish for your text with AI

Version License Chrome TypeScript

English | 简体中文 | 繁體中文 | 日本語 | Español | Português | Français | Deutsch | Русский | हिन्दी


A privacy-first Chrome extension that polishes text on any webpage using AI. Select text, click the polish button, and get AI-enhanced suggestions with visual diff comparison.

Features

Installation

From Source

  1. Clone the repository:
    git clone https://github.com/changliu0828/apolisher-chrome.git
    cd apolisher-chrome
    
  2. Install dependencies:
    npm install
    
  3. Build the extension:
    npm run build
    
  4. Load in Chrome:
    • Open chrome://extensions
    • Enable “Developer mode”
    • Click “Load unpacked”
    • Select the dist folder

Usage

  1. Setup: Choose your AI provider (OpenAI, Claude, or Gemini) and add your API key in the extension settings
  2. Select: Highlight text on any webpage
  3. Polish: Click the APolish icon button that appears
  4. Review: View the diff comparison in the modal
  5. Accept: Click the checkmark to apply changes

Configuration

Access settings by clicking the extension icon or right-clicking and selecting “Options”:

Tech Stack

Development

# Install dependencies
npm install

# Development build with HMR
npm run dev

# Production build
npm run build

# Run linter
npm run lint

# Type check
npm run type-check

Project Structure

src/
├── background/      # Service worker for API calls
├── content/         # Content script and UI components
├── options/         # Settings page
├── prompts/         # Prompt presets
├── services/        # Multi-provider AI services (OpenAI, Claude, Gemini)
├── types/           # TypeScript types
└── utils/           # Utilities

Support This Project

If you find apolisher-chrome useful, please consider sponsoring! Your support helps keep this project free and open-source.

Sponsor

Ways to support:

Sponsors

Thank you to all our sponsors! 🙏

Become the first sponsor and get your name here!

License

MIT