Tran is a Chrome Extension that allows you to translate text directly within any input field (input, textarea, contenteditable) on the web using OpenAI-compatible LLM APIs.
- In-place Translation: Replaces text directly in the input field.
- Streaming Output: See the translation as it's being generated.
- Keyboard Shortcut:
Alt+T(Windows/Linux) orCtrl+Shift+T(macOS). - Privacy Focused: API keys are stored locally in your browser.
- Customizable: Supports any OpenAI-compatible API endpoint (e.g., OpenAI, Anthropic, Local LLMs via LM Studio/Ollama).
- Download the latest release (
lingo-key-release.zip). - Unzip the file.
- Open Chrome and navigate to
chrome://extensions/. - Enable "Developer mode" in the top right.
- Click "Load unpacked" and select the
distfolder from the unzipped archive.
- Click the extension icon to open the Options page.
- Configure your API endpoint and API Key.
- Go to any webpage with an input field.
- Type some text, select the input field, and press
Ctrl+Shift+T(macOS) orAlt+T(Windows). - Watch the text translate in real-time!
# Install dependencies
npm install
# Build for production
npm run build
# Run in development mode
npm run devISC