{"id":13466688,"url":"https://github.com/yetone/bob-plugin-rapidapi-deepl-translator","last_synced_at":"2025-04-06T03:09:52.653Z","repository":{"id":65960032,"uuid":"603375692","full_name":"yetone/bob-plugin-rapidapi-deepl-translator","owner":"yetone","description":"DeepL RapidAPI 的 Bob 插件，可能是中国 macOS 用户可以无痛使用的相对合法的最便宜的 DeepL 翻译方案。","archived":false,"fork":false,"pushed_at":"2024-07-16T12:57:48.000Z","size":32,"stargazers_count":345,"open_issues_count":4,"forks_count":20,"subscribers_count":4,"default_branch":"main","last_synced_at":"2025-04-03T16:48:55.260Z","etag":null,"topics":["bobplugin","deepl","translator"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/yetone.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-02-18T10:17:28.000Z","updated_at":"2025-04-02T22:47:23.000Z","dependencies_parsed_at":null,"dependency_job_id":"294e8ae2-1a51-4d11-ac89-c6be76fc4104","html_url":"https://github.com/yetone/bob-plugin-rapidapi-deepl-translator","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yetone%2Fbob-plugin-rapidapi-deepl-translator","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yetone%2Fbob-plugin-rapidapi-deepl-translator/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yetone%2Fbob-plugin-rapidapi-deepl-translator/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yetone%2Fbob-plugin-rapidapi-deepl-translator/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/yetone","download_url":"https://codeload.github.com/yetone/bob-plugin-rapidapi-deepl-translator/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247427006,"owners_count":20937201,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["bobplugin","deepl","translator"],"created_at":"2024-07-31T15:00:48.677Z","updated_at":"2025-04-06T03:09:52.621Z","avatar_url":"https://github.com/yetone.png","language":"JavaScript","funding_links":[],"categories":["JavaScript"],"sub_categories":[],"readme":"RapidAPI DeepL Translator Bob Plugin\n------------------------------------\n\n# 相关推荐\n\n我的另一个通过 OpenAI GPT-3 进行划词翻译的 Bob 插件：https://github.com/yetone/bob-plugin-openai-translator\n\n# 注意\n\n* 有个 Bob 插件（因为是破解的官方 API，有法律风险，所以就不贴出地址了，需要你们自行查找）基于 [zu1k](https://github.com/zu1k) 大佬对 DeepL 官方 API 的破解，只是当初我调研这个方案的时候在我这里仍然会出现 HTTP code 429 (Too many requests)，我以为这个破解方案已经失效了，所以我就开发了这个插件。\n\n* 这个 RapidAPI 免费版除了字符数限制以外还有请求数限制，每个月 100 个请求数，超出的数量每条请求收费 $0.0024，感谢 @[wakewon](https://github.com/wakewon) 老师的 [提醒](https://github.com/yetone/bob-plugin-rapidapi-deepl-translator/issues/2)。特此说明一下，由于使用这个 RapidAPI 产生的所有费用，本作者概不负责！\n\n# 简介\n\n众所周知，DeepL 是当下翻译效果最好的（不要跟我讲 ChatGPT，它太太太慢了），同时众所周知，作为身在中国大陆的中国人是很难使用 DeepL API 的，\n因为 DeepL 不支持中国的信用卡，在淘宝买的话，¥40 只能买一个月的 DeepL API Free 方案，而且每个月只能翻译 500,000 个字符，而且每个月都要记得去淘宝买一次，性价比太低了！\n\n\n当然 OpenL 也是可以用的，但是它的 DeepL API 太贵了，首先 400,000 字符需要 ¥39.19，同时 DeepL API 要 1.4x 的计费倍率，换算下来 500,000 字符的 DeepL 翻译每个月需要 ¥68.58，的确是有点恐怖了。\n\n\n功夫不负有心人，我终于在 RapidAPI 找到了一个封装了 DeepL 的 API —— [DeepL Translator](https://rapidapi.com/splintPRO/api/blepl-translate)，速度很不错，价格也很实惠（免费版每个月 500,000 个字符，月费 $3.99 的版本每个月 15,000,000 个字符），\n重点是可以用中国信用卡注册！！！\n\n\n所以我专门开发了此 [Bob](https://bobtranslate.com) 插件，我甚至还实现了指定多 API KEY (用英文逗号分割) 来实现多个账号的字符数额度相加和负载均衡避免触发速率限制（免费版 30 requests per minute，月费 $3.99 版本 35 requests per minute），理论上你可以准备多个信用卡注册多个账号薅免费版的羊毛组成一个免费的大字符额度高速率限制的 DeepL API，但是极其不建议！！！**尊重开发者的劳动成果是每一个文明人的责任！！！**\n\n# 使用截图\n\n![](https://user-images.githubusercontent.com/1206493/219876934-e0ed170e-faed-4fc5-801b-e16660ffbc84.gif)\n\n# 使用方法\n\n1. 安装 [Bob](https://bobtranslate.com/guide/#%E5%AE%89%E8%A3%85) (版本 \u003e= 0.50)\n2. 下载此插件: [rapidapi-deepl-translator.bobplugin](https://github.com/yetone/bob-plugin-rapidapi-deepl-translator/releases)\n3. 安装此插件:\n\n![](https://user-images.githubusercontent.com/1206493/219881154-c5d4187e-a44a-4325-9309-e9e570658164.gif)\n\n4. 去 [RapidAPI](https://rapidapi.com) 注册账号，并订阅 [DeepL Translator\n](https://rapidapi.com/splintPRO/api/blepl-translate)（免费版在字符数额度内不需要花钱只需要绑定信用卡）\n5. 把 RapidAPI Key 填入 Bob 此插件配置界面的 API KEY\n 输入框中\n\n![](https://user-images.githubusercontent.com/1206493/219880900-9d1bb27e-46f6-4d07-b3ab-301823af7265.png)\n\n![](https://user-images.githubusercontent.com/1206493/219937719-f9937da1-c486-458c-9845-a87d37553a3d.gif)\n\n6. 安装 [PopClip](https://bobtranslate.com/guide/integration/popclip.html) 实现划词后鼠标附近出现小图标\n\n![](https://user-images.githubusercontent.com/1206493/219933584-d0c2b6cf-8fa0-40a6-858f-8f4bf05f38ef.gif)\n\n# 请作者喝一杯咖啡\n\n\u003cdiv align=\"center\"\u003e\n\u003cimg height=\"360\" src=\"https://user-images.githubusercontent.com/1206493/220753437-90e4039c-d95f-4b6a-9a08-b3d6de13211f.png\" /\u003e\n\u003cimg height=\"360\" src=\"https://user-images.githubusercontent.com/1206493/220756036-d9ac4512-0375-4a32-8c2e-8697021058a2.png\" /\u003e\n\u003c/div\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyetone%2Fbob-plugin-rapidapi-deepl-translator","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fyetone%2Fbob-plugin-rapidapi-deepl-translator","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyetone%2Fbob-plugin-rapidapi-deepl-translator/lists"}