Extension Icon

OpenAI Translator

Translation based on Multiple LLMs.
AvatarTiou Lims
4,409 Installs

OpenAI Translator

Raycast extension for translation based on ChatGPT API.

Quick Tips and Tricks: Quick Tips and Tricks for Raycast OpenAI Translator

Insipired By

Install

Store

Raycast OpenAI Translator

Manual

git clone https://github.com/douo/raycast-openai-translator.git
cd raycast-openai-translator
npm install && npm run dev

After the extension command show up, You can stop(Ctrl-c) the server safely.

Feature

Intro

It is recommended to set the Provider to "Custom..." and then manage your Providers using the "Setup Provider" command.

Setup Provider

Main Feature

  • Selected text translation
  • Screencapture translation(Powered by macOS Vision API)
  • Clipboard text translation
  • Global shortcut(Go to the Raycast extension configuration page to configure it manually)

openai-translator-10

Actions

Translation Mode

Commands

  • Translate
  • Polishing
  • Summarize
  • What/What is it?

Translate What

Multiple LLM Provider Support

Multi LLM

OpenAI ChatGPT

Raycast AI

  • API Entrypoint: none
  • API Key: none
  • API Model: No configuration required.

Requires Raycast Pro to support.

Azure OpenAI Service

  • API Entrypoint:https://${resourceName}.openai.azure.com/openai/deployments/${deployName}/chat/completions?api-version=${apiVersion}
  • API Key: Azure -> Azure OpenAI -> Keys and Endpoint
  • API Model:No configuration required.

Gemini

Claude

Groq

Moonshot

Ollama

OpenAI compatibility

Others

  • History records
  • Text copy
  • Stream text display
  • Manually specify text language (automatic detection is not reliable when mixing multiple languages)
  • Custom API Entrypoint
  • Proxy
  • i18n
  • TTS

Stream UI Lang Dropdown Empty

How to configure shortcut to selected text query

  • Configure the extension(⌘+⇧+,).
    1. Select "Query Selected"
    2. Setup shortcut
    3. Make sure "Query Mode" is "Translate".

Enable Global Shortcuts