MyGit

openai-translator/openai-translator

Fork: 1704 Star: 23269 (更新于 2024-07-18 03:59:45)

license: AGPL-3.0

Language: TypeScript .

基于 ChatGPT API 的划词翻译浏览器插件和跨平台桌面端应用 - Browser extension and cross-platform desktop application for translation based on ChatGPT API.

最后发布版本: v0.4.22 ( 2024-07-08 19:17:48)

GitHub网址

NebulaGraph Data Intelligence Suite(ngdi)


English | 中文

The translator that does more than just translation - powered by OpenAI.

MIT License TypeScript Rust Chrome Firefox macOS Windows Linux

Why Yet another Translator

I have developed a Bob plugin that utilizes ChatGPT API to provide global word translation on macOS. However, since not all users have access to macOS to benefit from the plugin, I have created this project!

More than just a browser extension

What began as a Chrome extension has now evolved into a multi-platform desktop app that I am currently developing.

More than just translation

What began as a translation tool has now evolved to include surprisingly effective word polishing and summarization capabilities, accidentally.

How to use

Features

  1. It offers three modes: translation, polishing and summarization.
  2. Our tool allows for mutual translation, polishing and summarization across 55 different languages.
  3. Streaming mode is supported!
  4. It allows users to customize their translation text.
  5. One-click copying
  6. Text-to-Speech (TTS)
  7. Available on all platforms (Windows, macOS, and Linux) for both browsers and Desktop
  8. Support screenshot translation
  9. Support for vocabulary books, as well as support for generating memory aids based on the words in the vocabulary books
  10. Supports both OpenAI and Azure OpenAI Service at the same time

Preparation

Installation

Windows

Install Manually

  1. Download the installation package ending in .exe from the Latest Release page.
  2. Double click the downloaded file to install it.
  3. If prompted as unsafe, you can click on More Info -> Run Anyway to proceed with the installation.
  4. Ready to use!

MacOS

Install Manually

  1. Go to the Latest Release page and download the corresponding chip's .dmg installation package. Note: Use aarch64 version for Apple Silicon machines and run xattr command below.
  2. Double click the downloaded file to install it.
  3. Ready to use!

Troubleshooting

  • "OpenAI Translator" can’t be opened because the developer cannot be verified.

    • Click the Cancel button, then go to the Settings -> Privacy and Security page, click the Still Open button, and then click the Open button in the pop-up window. After that, there will be no more pop-up warnings when opening OpenAI Translator. 🎉

    • If you cannot find the above options in Privacy & Security, or get error prompts such as broken files with Apple Silicon machines. Open Terminal.app and enter the following command (you may need to enter a password halfway through), then restart OpenAI Translator:

      sudo xattr -d com.apple.quarantine /Applications/OpenAI\ Translator.app
      
  • If you encounter a permission prompt every time you open it, or if you cannot perform a shortcut translation, please go to Settings -> Privacy & Security -> Supporting Features to remove OpenAI Translator, and then re-add OpenAI Translator.

Installing Desktop Clip Extensions

For details, see Desktop Clip Extension

Browser Extension

  1. Visit your Browser Extension Store to install this plugin:

  2. Click on the OpenAI Translator icon in the browser plugin list, and enter the obtained API KEY into the configuration interface that pops up from this plugin.

  3. Refresh the page in the browser to enjoy the smooth translation experience 🎉!

Configure Azure OpenAI Service

const API_URL = `https://${resourceName}.openai.azure.com`
const API_URL_PATH = `/openai/deployments/${deployName}/chat/completions?api-version=${apiVersion}`
  • resourceName: Your Azure OpenAI Service resource name.
  • deployName: Your Azure OpenAI Service model deploy name, you can change your model here.
  • api-version: 2023-05-15, or newer. (supported api-version can be found at Azure's official doc)

License

LICENSE

Star History

NebulaGraph Data Intelligence Suite(ngdi)

最近版本更新:(数据更新于 2024-07-18 03:59:29)

2024-07-08 19:17:48 v0.4.22

2024-06-19 16:55:49 v0.4.21

2024-06-07 11:02:33 v0.4.20

2024-06-05 14:59:34 v0.4.19

2024-05-30 11:49:46 v0.4.18

2024-05-17 01:34:33 v0.4.17

2024-05-15 16:45:18 v0.4.16

2024-05-14 03:05:04 v0.4.15

2024-05-13 01:10:16 v0.4.14

2024-05-12 17:03:16 v0.4.13

主题(topics):

browser-extension, chatgpt, chrome-extension, openai, translation, translator, translator-app

openai-translator/openai-translator同语言 TypeScript最近更新仓库

2024-07-21 22:13:23 AIsouler/GKD_subscription

2024-07-21 01:35:09 Infisical/infisical

2024-07-20 19:10:12 TanStack/query

2024-07-20 18:14:36 ZuodaoTech/everyone-can-use-english

2024-07-20 12:01:19 ItzCrazyKns/Perplexica

2024-07-20 05:39:45 continuedev/continue