The Wayback Machine - https://web.archive.org/web/20230522045220/https://github.com/openai-translator/bob-plugin-openai-translator
Skip to content

openai-translator/bob-plugin-openai-translator

main
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
May 18, 2023 17:46
May 21, 2023 01:21
May 19, 2023 15:30
February 19, 2023 15:58
May 21, 2023 01:21

简体中文 | English

OpenAI Translator Bob Plugin

release GitHub Repo stars GitHub Repo stars GitHub Repo stars

Note

重要更新:非 macOS 用户可以使用我开发的基于 ChatGPT API 的划词翻译浏览器插件 openai-translator 以解燃眉之急。

演示

简介

ChatGPT 向我们展示了 GPT 模型的伟大之处,所以我使用 OpenAI 的 API 实现了这个 Bob 的翻译 + 润色 + 语法修改插件,效果拔群!

润色功能

此插件已支持使用 ChatGPT API 对句子进行润色和语法修改,只需要把目标语言设置为与源语言一样即可,全面替代 Grammarly!而且理论上任何语言都可以润色,不仅仅是英语。

如果你不喜欢将翻译功能和文本润色功能放在一起,这里单独拆分出了一个专门用来文本润色和语法纠错的插件: bob-plugin-openai-polisher,这个润色插件具有更高级的润色功能,比如解释修改原因等。

语言模型

要使用 ChatGPT 的 API 需要在 Bob 的设置页面把此插件的模型改为 gpt-3.5-turbo-0301 或者 gpt-3.5-turbo:

how to use ChatGPT API

使用方法

  1. 安装 Bob,一款 macOS 平台的翻译和 OCR 软件;openai-translator.bobplugin >= 1.0.0 以后默认开启流式输出,需要 Bob 版本 >= 1.8.0

  2. 下载此插件: openai-translator.bobplugin

  3. 安装此插件: 安装步骤

  4. OpenAI 获取你的 API KEY

  5. 把 API KEY 填入 Bob 偏好设置 > 服务 > 此插件配置界面的 API KEY 的输入框中 设置步骤

  6. 安装 PopClip 实现划词后鼠标附近出现悬浮图标 PopClip

感谢

我这只是个小小的 Bob 插件,强大的是 Bob 本身,向它的开发者 ripperhe 致敬!

About

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

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published