{"id":44721525,"url":"https://github.com/aimuz/transy","last_synced_at":"2026-03-04T23:05:45.481Z","repository":{"id":279361140,"uuid":"938547756","full_name":"aimuz/transy","owner":"aimuz","description":"Transy 是一个基于大语言模型（LLM）的智能翻译工具，使用 Go 语言和 Wails 框架开发，提供跨平台的桌面翻译体验。","archived":false,"fork":false,"pushed_at":"2026-01-08T14:11:14.000Z","size":562,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2026-01-08T14:45:29.924Z","etag":null,"topics":["golang","llm","wails"],"latest_commit_sha":null,"homepage":"","language":"Go","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/aimuz.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":"2025-02-25T06:01:07.000Z","updated_at":"2026-01-08T14:11:18.000Z","dependencies_parsed_at":"2025-04-10T09:38:15.773Z","dependency_job_id":"c82b3c82-a77a-4afe-8183-162ecd75e7a3","html_url":"https://github.com/aimuz/transy","commit_stats":null,"previous_names":["aimuz/fanyihub"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/aimuz/transy","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aimuz%2Ftransy","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aimuz%2Ftransy/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aimuz%2Ftransy/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aimuz%2Ftransy/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/aimuz","download_url":"https://codeload.github.com/aimuz/transy/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aimuz%2Ftransy/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29483283,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-15T15:33:17.885Z","status":"ssl_error","status_checked_at":"2026-02-15T15:32:53.698Z","response_time":118,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["golang","llm","wails"],"created_at":"2026-02-15T16:01:20.423Z","updated_at":"2026-02-15T16:01:34.261Z","avatar_url":"https://github.com/aimuz.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Transy\n\nTransy 是一个基于大语言模型（LLM）的智能翻译工具，使用 Go 语言和 Wails 框架开发，提供跨平台的桌面翻译体验。\n\n## 功能特点\n\n- 🌐 **多语言支持**：自动检测多种语言，包括中文、英语、日语、韩语等 \n- 🤖 **LLM 翻译**：基于大语言模型的高质量翻译，支持多种 LLM 提供商\n- ⌨️ **全局快捷键**：通过自定义快捷键快速唤起翻译窗口\n- ⚙️ **灵活配置**：可配置多个 LLM 提供商，包括 OpenAI、Gemini、Claude 和兼容 OpenAI API 的其他服务\n- 🔄 **智能语言检测**：自动检测输入文本的语言，并选择合适的目标语言\n- 📸 **截图 OCR**：支持截图文字识别并翻译（macOS）\n- 💾 **智能缓存**：使用 BadgerDB 缓存翻译结果，提升响应速度\n- 📊 **用量统计**：显示每次翻译的 token 使用情况\n- 🖥️ **跨平台**：支持 macOS、Windows 和 Linux 系统\n\n## 安装\n\n### 预构建版本\n\n从 [Releases](https://github.com/aimuz/transy/releases) 页面下载适合您系统的预构建版本。\n\n### 从源码构建\n\n#### 前提条件\n\n- Go 1.21+\n- Wails CLI\n\n#### 安装步骤\n\n1. 安装 Wails CLI:\n\n```bash\ngo install github.com/wailsapp/wails/v2/cmd/wails@latest\n```\n\n2. 克隆仓库:\n\n```bash\ngit clone https://github.com/aimuz/transy.git\ncd transy\n```\n\n3. 构建应用:\n\n```bash\nwails build\n```\n\n## 使用方法\n\n1. 启动应用后，您可以通过全局快捷键（默认为 `Cmd+Shift+Space` 或 `Ctrl+Shift+Space`）唤起翻译窗口\n2. 在输入框中输入需要翻译的文本\n3. 应用会自动检测文本语言并翻译到目标语言\n4. 您可以在设置中配置 LLM 提供商和其他选项\n\n## 配置 LLM 提供商\n\nTransy 支持多种 LLM 提供商，包括：\n\n1. **OpenAI**：使用 OpenAI 的 GPT 模型\n2. **Gemini**：Google 的 Gemini 模型（支持思维模式开关）\n3. **Claude**：Anthropic 的 Claude 模型\n4. **兼容 OpenAI API 的服务**：如 Azure OpenAI、本地部署的大模型等\n\n在应用设置中，您可以添加、编辑和删除 LLM 提供商配置。\n\n## 许可证\n\n[MIT 许可证](LICENSE)\n\n## 贡献\n\n欢迎贡献代码、报告问题或提出功能建议！请查看 [贡献指南](CONTRIBUTING.md) 了解更多信息。\n\n## 联系方式\n\n如有问题或建议，请通过 GitHub Issues 联系我们。 ","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faimuz%2Ftransy","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Faimuz%2Ftransy","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faimuz%2Ftransy/lists"}