• Stars
    star
    318
  • Rank 127,297 (Top 3 %)
  • Language
    JavaScript
  • 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

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

RapidAPI DeepL Translator Bob Plugin

相关推荐

我的另一个通过 OpenAI GPT-3 进行划词翻译的 Bob 插件:https://github.com/yetone/bob-plugin-openai-translator

注意

  • 有个 Bob 插件(因为是破解的官方 API,有法律风险,所以就不贴出地址了,需要你们自行查找)基于 zu1k 大佬对 DeepL 官方 API 的破解,只是当初我调研这个方案的时候在我这里仍然会出现 HTTP code 429 (Too many requests),我以为这个破解方案已经失效了,所以我就开发了这个插件。

  • 这个 RapidAPI 免费版除了字符数限制以外还有请求数限制,每个月 100 个请求数,超出的数量每条请求收费 $0.0024,感谢 @wakewon 老师的 提醒。特此说明一下,由于使用这个 RapidAPI 产生的所有费用,本作者概不负责!

简介

众所周知,DeepL 是当下翻译效果最好的(不要跟我讲 ChatGPT,它太太太慢了),同时众所周知,作为身在中国大陆的中国人是很难使用 DeepL API 的, 因为 DeepL 不支持中国的信用卡,在淘宝买的话,¥40 只能买一个月的 DeepL API Free 方案,而且每个月只能翻译 500,000 个字符,而且每个月都要记得去淘宝买一次,性价比太低了!

当然 OpenL 也是可以用的,但是它的 DeepL API 太贵了,首先 400,000 字符需要 ¥39.19,同时 DeepL API 要 1.4x 的计费倍率,换算下来 500,000 字符的 DeepL 翻译每个月需要 ¥68.58,的确是有点恐怖了。

功夫不负有心人,我终于在 RapidAPI 找到了一个封装了 DeepL 的 API —— DeepL Translator,速度很不错,价格也很实惠(免费版每个月 500,000 个字符,月费 $3.99 的版本每个月 15,000,000 个字符), 重点是可以用中国信用卡注册!!!

所以我专门开发了此 Bob 插件,我甚至还实现了指定多 API KEY (用英文逗号分割) 来实现多个账号的字符数额度相加和负载均衡避免触发速率限制(免费版 30 requests per minute,月费 $3.99 版本 35 requests per minute),理论上你可以准备多个信用卡注册多个账号薅免费版的羊毛组成一个免费的大字符额度高速率限制的 DeepL API,但是极其不建议!!!尊重开发者的劳动成果是每一个文明人的责任!!!

使用截图

使用方法

  1. 安装 Bob (版本 >= 0.50)
  2. 下载此插件: rapidapi-deepl-translator.bobplugin
  3. 安装此插件:

  1. RapidAPI 注册账号,并订阅 DeepL Translator (免费版在字符数额度内不需要花钱只需要绑定信用卡)
  2. 把 RapidAPI Key 填入 Bob 此插件配置界面的 API KEY 输入框中

  1. 安装 PopClip 实现划词后鼠标附近出现小图标

请作者喝一杯咖啡

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-translator

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

bob-plugin-openai-polisher

使用 ChatGPT API 给文本进行润色和语法纠错的 Bob 插件!完美代替 Grammarly!
JavaScript
490
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