{"id":13468440,"url":"https://github.com/geekdada/bob-plugin-deepl-translate","last_synced_at":"2025-09-07T21:31:16.429Z","repository":{"id":39161394,"uuid":"313640922","full_name":"geekdada/bob-plugin-deepl-translate","owner":"geekdada","description":"Use DeepL translation with Bob","archived":false,"fork":false,"pushed_at":"2023-02-25T15:48:41.000Z","size":560,"stargazers_count":210,"open_issues_count":0,"forks_count":21,"subscribers_count":5,"default_branch":"master","last_synced_at":"2024-12-26T18:11:42.431Z","etag":null,"topics":["bobplugin","deepl"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/geekdada.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null},"funding":{"github":"geekdada"}},"created_at":"2020-11-17T14:14:45.000Z","updated_at":"2024-12-24T05:54:51.000Z","dependencies_parsed_at":"2024-01-13T17:48:28.075Z","dependency_job_id":"5a57cd15-8bd4-4dad-b0eb-c0a000209bfd","html_url":"https://github.com/geekdada/bob-plugin-deepl-translate","commit_stats":null,"previous_names":[],"tags_count":13,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/geekdada%2Fbob-plugin-deepl-translate","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/geekdada%2Fbob-plugin-deepl-translate/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/geekdada%2Fbob-plugin-deepl-translate/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/geekdada%2Fbob-plugin-deepl-translate/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/geekdada","download_url":"https://codeload.github.com/geekdada/bob-plugin-deepl-translate/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":232256998,"owners_count":18495656,"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"],"created_at":"2024-07-31T15:01:10.813Z","updated_at":"2025-01-02T21:15:36.437Z","avatar_url":"https://github.com/geekdada.png","language":"TypeScript","funding_links":["https://github.com/sponsors/geekdada"],"categories":["TypeScript"],"sub_categories":[],"readme":"# bob-plugin-deepl-translate\n\n这是一个 [Bob](https://ripperhe.gitee.io/bob/#/) 使用的 DeepL 翻译插件。\n\n你需要有一个 DeepL 的 API Token 才可以使用本插件。\n\n\u003cp\u003e\u003cimg width=\"414px\" src=\"./assets/translate-screenshot.png\" alt=\"translate screenshot\" /\u003e\u003c/p\u003e\n\n## 安装\n\n1. 安装 Bob (version \u003e= 0.5.0)\n2. 下载插件 [releases](https://github.com/geekdada/bob-plugin-deepl-translate/releases)\n3. [安装插件](https://ripperhe.gitee.io/bob/#/general/quickstart/plugin?id=%e5%ae%89%e8%a3%85%e6%8f%92%e4%bb%b6)\n\n## 配置\n\n- `token`：DeepL API Token（需自己购买）。\n- `formality` 正式程度： 设置翻译后的文本是倾向于正式语言还是非正式语言。此功能目前适用于所有目标语言，除了英语、英式英语、美式英语、西班牙语、汉语和日语。\n\n## 注意\n\n### 字符是如何计费的？\n\n\u003e DeepL API 计划对你的翻译量没有限制，并按字符数计算你的使用量。 计算的字符是源文本中的字符，也就是你要翻译的原文。\n\u003e\n\u003e 一个字符对应于一个 unicode 代码点，其中一个字符可以由多个字节组成。 例如，字符 é 在 UTF-8 中被表示为两个字节。 然而，DeepL 只将其视为一个字符。 隐形字符，如空格、制表符、换行符等也会被计算在内。\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgeekdada%2Fbob-plugin-deepl-translate","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgeekdada%2Fbob-plugin-deepl-translate","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgeekdada%2Fbob-plugin-deepl-translate/lists"}