• Stars
    star
    15,840
  • Rank 1,712 (Top 0.04 %)
  • Language
    TypeScript
  • License
    GNU Affero Genera...
  • Created about 1 year ago
  • Updated 12 months ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

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

winget install yetone.OpenAITranslator

Install via Scoop

scoop bucket add extras
scoop install openai-translator

Install Manually

  1. Download the installation package ending in .msi 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}/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.

License

LICENSE

Group

Join the Telegram Group (English) 加入 Telegram 群组 (中文)

Star History

More Repositories

1

bob-plugin-openai-translator

基于 ChatGPT API 的文本翻译、文本润色、语法纠错 Bob 插件,让我们一起迎接不需要巴别塔的新时代!
JavaScript
4,678
star
2

bob-plugin-openai-polisher

使用 ChatGPT API 给文本进行润色和语法纠错的 Bob 插件!完美代替 Grammarly!
JavaScript
490
star
3

bob-plugin-rapidapi-deepl-translator

DeepL RapidAPI 的 Bob 插件,可能是中国 macOS 用户可以无痛使用的相对合法的最便宜的 DeepL 翻译方案。
JavaScript
318
star
4

collipa

The source code of Collipa
JavaScript
214
star
5

cosmos-nvim

A must-have configuration for Spacemacs users after defecting to Vim
Lua
141
star
6

mirdb

MirDB: A Persistent Key-Value Store with Memcached protocol.
Rust
91
star
7

olo

ORM with intelligent and elegant cache manager.
Python
82
star
8

Feather

http://feather.im 的源代码。
Python
53
star
9

chatgpt-soliloquy

ChatGPT-Soliloquy is a Chrome extension that allows ChatGPT to engage in a conversation with itself.
JavaScript
36
star
10

auto-rsync

Auto RSync by watch filesystem events.
Python
25
star
11

bruce

http://blog.yetone.net 的源代码。
Python
22
star
12

decaptcha

Auto CAPTCHA solving for Scrapy
Python
16
star
13

parsec.js

A JavaScript parser combinator library inspired by Parsec of Haskell.
JavaScript
16
star
14

yetone.github.io

Based on Gists
JavaScript
11
star
15

babeljs-python

Python bindings to babeljs
JavaScript
10
star
16

rve

React mixed Vue 3.0 API with type safety
TypeScript
9
star
17

blog

7
star
18

oscar

A simple and powerful frontend MVVM framework.
JavaScript
7
star
19

seiya

A ruby spider like scrapy-python.
Ruby
5
star
20

baidu_tts

A Python lib of Baidu TTS.
Python
5
star
21

script-manager

An elegant command-line interface. Usage like Flask-Script but more powerful and universal.
Python
5
star
22

yetone

5
star
23

orange

http://lisplife.com 的源码。
Python
3
star
24

shani

A simple and powerful frontend template.
JavaScript
3
star
25

snakejs

YMD - Yet another Module Definition
JavaScript
3
star
26

atompunk-badge

Atompunk style status badge for circleci.
Rust
2
star
27

tauri-bug-reproducer

Tauri 😬
TypeScript
2
star
28

sketch-save

JavaScript
1
star
29

yavd

🎮 Yet another virtual dom lib.
JavaScript
1
star
30

figure_bed

JavaScript
1
star
31

lighthouse

A simple and powerful frontend router.
JavaScript
1
star
32

lias-ui

TypeScript
1
star
33

nomicon-cn

nomicon cn
HTML
1
star
34

ove

A powerful Node.js web framework.
LiveScript
1
star
35

helloworld

1
star