• Stars
    star
    4,678
  • Rank 8,620 (Top 0.2 %)
  • Language
    JavaScript
  • Created about 1 year ago
  • Updated almost 1 year ago

Reviews

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

Repository Details

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

简体中文 | 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 致敬!

More Repositories

1

openai-translator

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

get-selected-text

A tiny Rust library that allows you to easily obtain selected text across all platforms (macOS, Windows, Linux).
Rust
3
star
25

shani

A simple and powerful frontend template.
JavaScript
3
star
26

snakejs

YMD - Yet another Module Definition
JavaScript
3
star
27

atompunk-badge

Atompunk style status badge for circleci.
Rust
2
star
28

tauri-bug-reproducer

Tauri 😬
TypeScript
2
star
29

sketch-save

JavaScript
1
star
30

yavd

🎮 Yet another virtual dom lib.
JavaScript
1
star
31

figure_bed

JavaScript
1
star
32

lighthouse

A simple and powerful frontend router.
JavaScript
1
star
33

lias-ui

TypeScript
1
star
34

nomicon-cn

nomicon cn
HTML
1
star
35

ove

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

helloworld

1
star