{"id":19555098,"url":"https://github.com/jtsang4/bob-plugin-claude-translator","last_synced_at":"2025-04-06T02:09:55.389Z","repository":{"id":164205377,"uuid":"625648618","full_name":"jtsang4/bob-plugin-claude-translator","owner":"jtsang4","description":"一个让 Bob 翻译可以使用 Anthropic Claude API 的插件","archived":false,"fork":false,"pushed_at":"2024-11-10T09:40:24.000Z","size":116,"stargazers_count":96,"open_issues_count":4,"forks_count":10,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-03-30T01:09:45.394Z","etag":null,"topics":["anthropic","anthropic-claude","bobplugin","claude-ai","gpt","translator"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","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/jtsang4.png","metadata":{"files":{"readme":"README.md","changelog":null,"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,"dei":null,"publiccode":null,"codemeta":null},"funding":{"github":["jtsang4"],"patreon":null,"open_collective":null,"ko_fi":null,"tidelift":null,"community_bridge":null,"liberapay":null,"issuehunt":null,"lfx_crowdfunding":null,"polar":null,"buy_me_a_coffee":null,"thanks_dev":null,"custom":null}},"created_at":"2023-04-09T18:59:49.000Z","updated_at":"2024-12-16T06:51:27.000Z","dependencies_parsed_at":"2024-08-17T10:23:59.761Z","dependency_job_id":"7e1b29ca-1722-4fce-9aea-e7463c26a4e7","html_url":"https://github.com/jtsang4/bob-plugin-claude-translator","commit_stats":null,"previous_names":[],"tags_count":16,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jtsang4%2Fbob-plugin-claude-translator","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jtsang4%2Fbob-plugin-claude-translator/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jtsang4%2Fbob-plugin-claude-translator/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jtsang4%2Fbob-plugin-claude-translator/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jtsang4","download_url":"https://codeload.github.com/jtsang4/bob-plugin-claude-translator/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247423515,"owners_count":20936626,"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":["anthropic","anthropic-claude","bobplugin","claude-ai","gpt","translator"],"created_at":"2024-11-11T04:31:46.541Z","updated_at":"2025-04-06T02:09:55.371Z","avatar_url":"https://github.com/jtsang4.png","language":"JavaScript","funding_links":["https://github.com/sponsors/jtsang4"],"categories":[],"sub_categories":[],"readme":"\u003ch4 align=\"right\"\u003e\n  \u003cstrong\u003e简体中文\u003c/strong\u003e | \u003ca href=\"https://github.com/jtsang4/bob-plugin-claude-translator/blob/main/docs/README_EN.md\"\u003eEnglish\u003c/a\u003e\n\u003c/h4\u003e\n\n\u003cdiv\u003e\n  \u003ch1 align=\"center\"\u003eClaude Translator Bob Plugin\u003c/h1\u003e\n  \u003cp align=\"center\"\u003e\n    \u003ca href=\"https://github.com/jtsang4/bob-plugin-claude-translator/releases\" target=\"_blank\"\u003e\n        \u003cimg src=\"https://github.com/jtsang4/bob-plugin-claude-translator/actions/workflows/release.yaml/badge.svg\" alt=\"release\"\u003e\n    \u003c/a\u003e\n    \u003ca href=\"https://github.com/jtsang4/bob-plugin-claude-translator/releases\"\u003e\n        \u003cimg alt=\"GitHub Repo stars\" src=\"https://img.shields.io/github/stars/jtsang4/bob-plugin-claude-translator?style=flat\"\u003e\n    \u003c/a\u003e\n    \u003ca href=\"https://github.com/jtsang4/bob-plugin-claude-translator/releases\"\u003e\n        \u003cimg alt=\"GitHub Repo stars\" src=\"https://img.shields.io/badge/claude-bob-orange?style=flat\"\u003e\n    \u003c/a\u003e\n    \u003ca href=\"https://github.com/jtsang4/bob-plugin-claude-translator/releases\"\u003e\n        \u003cimg alt=\"GitHub Repo stars\" src=\"https://img.shields.io/badge/langurage-JavaScript-brightgreen?style=flat\u0026color=blue\"\u003e\n    \u003c/a\u003e\n  \u003c/p\u003e\n\u003c/div\u003e\n\n## 简介\n\n基于 [Anthropic Complete API](https://console.anthropic.com/docs/api/reference) 实现的 [Bob](https://bobtranslate.com/) 插件。拥有翻译、润色的功能。\n\n### 润色功能\n\n支持使用 Claude API 对句子进行润色和语法修改，只需要把目标语言设置为与源语言一样即可。\n\n### 语言模型\n\n[官网模型对比](https://docs.anthropic.com/en/docs/about-claude/models#model-comparison)\n* `Claude 3 Haiku` (默认使用): 最快最紧凑的型号,可实现近乎即时的响应\n* `Claude 3 Sonnet`: 智能和速度的平衡\n* `Claude 3 Opus`: 用于高度复杂任务的强大模型\n* `Claude 3.5 Sonnet`: 最智能的模型\n\n## 使用方法\n\n1. 安装 [Bob](https://bobtranslate.com/guide/#%E5%AE%89%E8%A3%85) (版本 \u003e= 0.50)，一款 macOS 平台的翻译和 OCR 软件\n\n2. 下载此插件: [claude-translator.bobplugin](https://github.com/jtsang4/bob-plugin-claude-translator/releases/latest)\n\n3. 安装此插件\n\n4. 去 [Claude](https://console.anthropic.com/account/keys) 获取你的 API KEY\n\n5. 把 API KEY 填入 Bob 偏好设置 \u003e 服务 \u003e 此插件配置界面的 API KEY 的输入框中\n\n6. (可选) 安装 [PopClip](https://bobtranslate.com/guide/integration/popclip.html) 实现划词后鼠标附近出现悬浮图标\n\n## 感谢\n\n本仓库是在 [yetone](https://github.com/yetone) 优秀的 [bob-plugin-openai-translator](https://github.com/yetone/bob-plugin-openai-translator) 源码基础上对 Claude API 所做的适配，感谢原作者的卓越贡献。\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjtsang4%2Fbob-plugin-claude-translator","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjtsang4%2Fbob-plugin-claude-translator","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjtsang4%2Fbob-plugin-claude-translator/lists"}