{"id":13401767,"url":"https://github.com/pot-app/pot-desktop","last_synced_at":"2025-05-15T01:00:39.593Z","repository":{"id":88978571,"uuid":"606762843","full_name":"pot-app/pot-desktop","owner":"pot-app","description":"🌈一个跨平台的划词翻译和OCR软件 | A cross-platform software for text translation and recognition.","archived":false,"fork":false,"pushed_at":"2025-01-27T22:04:38.000Z","size":81197,"stargazers_count":12154,"open_issues_count":326,"forks_count":550,"subscribers_count":50,"default_branch":"master","last_synced_at":"2025-05-02T04:24:32.748Z","etag":null,"topics":["linux","macos","ocr","pot","pot-app","recognize","tauri","translate","translation","tts","windows"],"latest_commit_sha":null,"homepage":"https://pot-app.com","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/pot-app.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG","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,"zenodo":null},"funding":{"github":null,"patreon":null,"open_collective":null,"ko_fi":null,"tidelift":null,"community_bridge":null,"liberapay":null,"issuehunt":null,"otechie":null,"lfx_crowdfunding":null,"custom":["https://afdian.com/a/pylogmon"]}},"created_at":"2023-02-26T13:52:11.000Z","updated_at":"2025-05-02T03:48:59.000Z","dependencies_parsed_at":"2023-10-04T17:22:25.994Z","dependency_job_id":"dc80b7ad-e738-4dac-abe1-0fd59b4dceea","html_url":"https://github.com/pot-app/pot-desktop","commit_stats":{"total_commits":1463,"total_committers":53,"mean_commits":27.60377358490566,"dds":"0.16131237183868763","last_synced_commit":"0716a8f0a4b4eaeca25ceb0281e12f296599744a"},"previous_names":[],"tags_count":128,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pot-app%2Fpot-desktop","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pot-app%2Fpot-desktop/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pot-app%2Fpot-desktop/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pot-app%2Fpot-desktop/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/pot-app","download_url":"https://codeload.github.com/pot-app/pot-desktop/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252693239,"owners_count":21789649,"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":["linux","macos","ocr","pot","pot-app","recognize","tauri","translate","translation","tts","windows"],"created_at":"2024-07-30T19:01:06.880Z","updated_at":"2025-05-07T12:47:37.809Z","avatar_url":"https://github.com/pot-app.png","language":"JavaScript","readme":"\u003cimg width=\"200px\" src=\"public/icon.svg\" align=\"left\"/\u003e\n\n# Pot (派了个萌的翻译器)\n\n\u003e 🌈 一个跨平台的划词翻译软件 ([QQ 频道](https://pd.qq.com/s/akns94e1r))\n\n![License](https://img.shields.io/github/license/pot-app/pot-desktop.svg)\n![Tauri](https://img.shields.io/badge/Tauri-1.6.8-blue?logo=tauri)\n![JavaScript](https://img.shields.io/badge/-JavaScript-yellow?logo=javascript\u0026logoColor=white)\n![Rust](https://img.shields.io/badge/-Rust-orange?logo=rust\u0026logoColor=white)\n![Windows](https://img.shields.io/badge/-Windows-blue?logo=windows\u0026logoColor=white)\n![MacOS](https://img.shields.io/badge/-macOS-black?\u0026logo=apple\u0026logoColor=white)\n![Linux](https://img.shields.io/badge/-Linux-yellow?logo=linux\u0026logoColor=white)\n\n\u003cbr/\u003e\n\u003chr/\u003e\n\u003cdiv align=\"center\"\u003e\n\n\u003ch3\u003e中文 | \u003ca href='./README_EN.md'\u003eEnglish\u003c/a\u003e | \u003ca href='./README_KR.md'\u003e 한글 \u003c/a\u003e\u003c/h3\u003e\n\n\u003ctable\u003e\n\u003ctr\u003e\n    \u003ctd\u003e \u003cimg src=\"asset/1.png\"\u003e\n    \u003ctd\u003e \u003cimg src=\"asset/2.png\"\u003e\n    \u003ctd\u003e \u003cimg src=\"asset/3.png\"\u003e\n\u003c/table\u003e\n\n# 目录\n\n\u003c/div\u003e\n\n-   [使用说明](#使用说明)\n-   [特色功能](#特色功能)\n-   [支持接口](#支持接口)\n-   [插件系统](#插件系统)\n-   [安装指南](#安装指南)\n-   [外部调用](#外部调用)\n-   [Wayland 支持](#wayland-支持)\n-   [国际化](#国际化weblate)\n-   [贡献者](#贡献者)\n-   [感谢](#感谢)\n\n\u003cdiv align=\"center\"\u003e\n\n# 使用说明\n\n| 划词翻译                                             | 输入翻译                                                       | 外部调用                                                             |\n| ---------------------------------------------------- | -------------------------------------------------------------- | -------------------------------------------------------------------- |\n| 鼠标选中需要翻译的文本，按下设置的划词翻译快捷键即可 | 按下输入翻译快捷键呼出翻译窗口，输入待翻译文本后按下 回车 翻译 | 通过被其他软件调用实现更加方便高效的功能, 详见 [外部调用](#外部调用) |\n| \u003cimg src=\"asset/eg1.gif\"/\u003e                           | \u003cimg src=\"asset/eg2.gif\"/\u003e                                     | \u003cimg src=\"asset/eg3.gif\"/\u003e                                           |\n\n| 剪切板监听模式                                                         | 截图 OCR                                          | 截图翻译                                         |\n| ---------------------------------------------------------------------- | ------------------------------------------------- | ------------------------------------------------ |\n| 在任意翻译面板上点击左上角图标启动剪切板监听默认，复制文字即可完成翻译 | 按下截图 OCR 快捷键后框选需要识别区域即可完成识别 | 按下截图翻译快捷键后框选需要识别区域即可完成翻译 |\n| \u003cimg src=\"asset/eg4.gif\"/\u003e                                             | \u003cimg src=\"asset/eg5.gif\"/\u003e                        | \u003cimg src=\"asset/eg6.gif\"/\u003e                       |\n\n\u003c/div\u003e\n\n\u003cdiv align=\"center\"\u003e\n\n# 特色功能\n\n\u003c/div\u003e\n\n-   [x] 多接口并行翻译 ([支持接口](#支持接口))\n-   [x] 多接口文字识别 ([支持接口](#支持接口))\n-   [x] 多接口语音合成 ([支持接口](#支持接口))\n-   [x] 导出到生词本 ([支持接口](#支持接口))\n-   [x] 外部调用 ([详情](#外部调用))\n-   [x] 支持插件系统 ([插件系统](#插件系统))\n-   [x] 支持所有 PC 平台 (Windows, macOS, Linux)\n-   [x] 支持 Wayland (在 KDE、Gnome 以及 Hyprland 上测试)\n-   [x] 多语言支持\n\n\u003cdiv align=\"center\"\u003e\n\n# 支持接口\n\n\u003c/div\u003e\n\n## 翻译\n\n-   [x] [OpenAI](https://platform.openai.com/)\n-   [x] [智谱 AI](https://www.zhipuai.cn/)\n-   [x] [Gemini Pro](https://gemini.google.com/)\n-   [x] [Ollama](https://www.ollama.com/) (离线)\n-   [x] [阿里翻译](https://www.aliyun.com/product/ai/alimt)\n-   [x] [百度翻译](https://fanyi.baidu.com/)\n-   [x] [彩云小译](https://fanyi.caiyunapp.com/)\n-   [x] [腾讯翻译君](https://fanyi.qq.com/)\n-   [x] [腾讯交互翻译](https://transmart.qq.com/)\n-   [x] [火山翻译](https://translate.volcengine.com/)\n-   [x] [小牛翻译](https://niutrans.com/)\n-   [x] [Google](https://translate.google.com)\n-   [x] [Bing](https://learn.microsoft.com/zh-cn/azure/cognitive-services/translator/)\n-   [x] [Bing 词典](https://www.bing.com/dict)\n-   [x] [DeepL](https://www.deepl.com/)\n-   [x] [有道翻译](https://ai.youdao.com/)\n-   [x] [剑桥词典](https://dictionary.cambridge.org/)\n-   [x] [Yandex](https://translate.yandex.com/)\n-   [x] [Lingva](https://github.com/TheDavidDelta/lingva-translate) ([插件](https://github.com/pot-app/pot-app-translate-plugin-template))\n-   [x] [Tatoeba](https://tatoeba.org/) ([插件](https://github.com/pot-app/pot-app-translate-plugin-tatoeba))\n-   [x] [ECDICT](https://github.com/skywind3000/ECDICT) ([插件](https://github.com/pot-app/pot-app-translate-plugin-ecdict))\n\n更多接口支持见 [插件系统](#插件系统)\n\n## 文字识别\n\n-   [x] 系统 OCR (离线)\n    -   [x] [Windows.Media.OCR](https://learn.microsoft.com/en-us/uwp/api/windows.media.ocr.ocrengine?view=winrt-22621) on Windows\n    -   [x] [Apple Vision Framework](https://developer.apple.com/documentation/vision/recognizing_text_in_images) on MacOS\n    -   [x] [Tesseract OCR](https://github.com/tesseract-ocr) on Linux\n-   [x] [Tesseract.js](https://tesseract.projectnaptha.com/) (离线)\n-   [x] [百度](https://ai.baidu.com/tech/ocr/general)\n-   [x] [腾讯](https://cloud.tencent.com/product/ocr-catalog)\n-   [x] [火山](https://www.volcengine.com/product/OCR)\n-   [x] [迅飞](https://www.xfyun.cn/services/common-ocr)\n-   [x] [腾讯图片翻译](https://cloud.tencent.com/document/product/551/17232)\n-   [x] [百度图片翻译](https://fanyi-api.baidu.com/product/22)\n-   [x] [Simple LaTeX](https://simpletex.cn/)\n-   [x] [OCRSpace](https://ocr.space/) ([插件](https://github.com/pot-app/pot-app-recognize-plugin-template))\n-   [x] [Rapid](https://github.com/RapidAI/RapidOcrOnnx) (离线 [插件](https://github.com/pot-app/pot-app-recognize-plugin-rapid))\n-   [x] [Paddle](https://github.com/hiroi-sora/PaddleOCR-json) (离线 [插件](https://github.com/pot-app/pot-app-recognize-plugin-paddle))\n\n更多接口支持见 [插件系统](#插件系统)\n\n## 语音合成\n\n-   [x] [Lingva](https://github.com/thedaviddelta/lingva-translate)\n\n更多接口支持见 [插件系统](#插件系统)\n\n## 生词本\n\n-   [x] [Anki](https://apps.ankiweb.net/)\n-   [x] [欧路词典](https://dict.eudic.net/)\n-   [x] [有道](https://www.youdao.com/) ([插件](https://github.com/pot-app/pot-app-collection-plugin-youdao))\n-   [x] [扇贝](https://web.shanbay.com/web/main) ([插件](https://github.com/pot-app/pot-app-collection-plugin-shanbay))\n\n更多接口支持见 [插件系统](#插件系统)\n\n\u003cdiv align=\"center\"\u003e\n\n# 插件系统\n\n\u003c/div\u003e\n\n软件内置接口数量有限，但是您可以通过插件系统来扩展软件的功能。\n\n## 插件安装\n\n你可以在 [Plugin List](https://pot-app.com/plugin.html) 查找你需要的插件，然后前往插件仓库下载插件。\n\npot 插件的扩展名为 `.potext`, 下载得到`.potext`文件之后， 在 偏好设置-服务设置-添加外部插件-安装外部插件 选择对应的 `.potext` 即可安装成功，添加到服务列表中即可像内置服务一样正常使用了。\n\n### 故障排除\n\n-   找不到指定的模块 (Windows)\n\n    出现类似这样的报错是因为系统缺少 C++库，前往[这里](https://learn.microsoft.com/en-us/cpp/windows/latest-supported-vc-redist?view=msvc-170#visual-studio-2015-2017-2019-and-2022)安装即可解决问题。\n\n-   不是有效的 Win32 应用程序 (Windows)\n\n    出现类似这样的报错说明你没有下载对应系统或者架构的插件，前往插件仓库下载正确的插件即可解决问题。\n\n## 插件开发\n\n在 [Plugin List](https://pot-app.com/plugin.html) 中的 [模板](https://pot-app.com/plugin.html#%E6%A8%A1%E6%9D%BF) 章节提供了各种插件的开发模板，具体的开发文档请查看对应的模板仓库。\n\n\u003cdiv align=\"center\"\u003e\n\n# 安装指南\n\n\u003c/div\u003e\n\n## Windows\n\n### 通过 Winget 安装\n\n```powershell\nwinget install Pylogmon.pot\n```\n\n### 手动安装\n\n1. 在 [Release](https://github.com/pot-app/pot-desktop/releases/latest) 页面下载最新 `exe` 安装包。\n\n    - 64 位机器下载 `pot_{version}_x64-setup.exe`\n    - 32 位机器下载 `pot_{version}_x86-setup.exe`\n    - arm64 机器下载 `pot_{version}_arm64-setup.exe`\n\n2. 双击安装包进行安装。\n\n### 故障排除\n\n-   启动后没有界面，点击托盘图标没有反应\n\n    检查是否卸载/禁用了 WebView2，如果卸载/禁用了 WebView2，请手动安装 WebView2 或将其恢复。\n\n    如果是企业版系统不方便安装或无法安装 WebView2，请尝试在 [Release](https://github.com/pot-app/pot-desktop/releases/latest) 下载内置 WebView2 的版本 `pot_{version}_{arch}_fix_webview2_runtime-setup.exe`\n\n    若问题仍然存在请尝试使用 Windows7 兼容模式启动。\n\n## MacOS\n\n### 通过 Brew 安装\n\n1. 添加我们的 tap:\n\n```bash\nbrew tap pot-app/homebrew-tap\n```\n\n2. 安装 pot:\n\n```bash\nbrew install --cask pot\n```\n\n3. 更新 pot\n\n```bash\nbrew upgrade --cask pot\n```\n\n### 手动安装\n\n1. 从 [Release](https://github.com/pot-app/pot-desktop/releases/latest) 页面下载最新的 `dmg` 安装包。（如果您使用的是 M1 芯片，请下载名为`pot_{version}_aarch64.dmg`的安装包，否则请下载名为`pot_{version}_x64.dmg`的安装包）\n2. 双击下载的文件后将 pot 拖入 Applications 文件夹即可完成安装。\n\n### 故障排除\n\n-   由于开发者无法验证，“pot”无法打开。\n\n    点击 取消 按钮，然后去 设置 -\u003e 隐私与安全性 页面，点击 仍要打开 按钮，然后在弹出窗口里点击 打开 按钮即可，以后打开 pot 就再也不会有任何弹窗告警了\n\n    如果在 隐私与安全性 中找不到以上选项，或启动时提示文件损坏。打开 Terminal.app，并输入以下命令，然后重启 pot 即可：\n\n    ```bash\n    sudo xattr -d com.apple.quarantine /Applications/pot.app\n    ```\n\n-   如果每次打开时都遇到辅助功能权限提示，或者无法进行划词翻译，请前往设置 -\u003e 隐私与安全 -\u003e 辅助功能，移除 “pot”，并重新添加 “pot”。\n\n## Linux\n\n### Debian/Ubuntu\n\n1. 从 [Release](https://github.com/pot-app/pot-desktop/releases/latest) 页面下载最新的对应架构的 `deb` 安装包。\n\n2. 使用 `apt-get` 进行安装\n\n    ```bash\n    sudo apt-get install ./pot_{version}_amd64.deb\n    ```\n\n### Arch/Manjaro\n\n\u003e [!WARNING]\n\u003e 在最新版本的 [Webkit2Gtk](https://archlinux.org/packages/extra/x86_64/webkit2gtk) (2.42.0) 中，由于 Nvidia 专有驱动未完全实现 DMABUF，将导致无法启动和崩溃的情况发生。\u003cbr\u003e\n\u003e 请降级或在 `/etc/environment` （或者其他设置环境变量的地方）中加入 `WEBKIT_DISABLE_DMABUF_RENDERER=1` 环境变量关闭 DMABUF 的使用。\n\n1. 在 [AUR](https://aur.archlinux.org/packages?O=0\u0026K=pot-translation) 查看\n\n使用 `AUR helper` 安装：\n\n```bash\nyay -S pot-translation # 或 pot-translation-bin\n\n# paru -S pot-translation # 或 pot-translation-bin\n```\n\n2. 如果你使用 `archlinuxcn` 源，可以直接使用 pacman 安装\n\n```bash\nsudo pacman -S pot-translation\n```\n\n### Flatpak\n\n\u003e [!WARNING]\n\u003e Flatpak 版本缺失托盘图标。\n\n\u003ca href='https://flathub.org/apps/com.pot_app.pot'\u003e\n    \u003cimg width='240' alt='Download on Flathub' src='https://flathub.org/api/badge?locale=zh-Hans'/\u003e\n\u003c/a\u003e\n\n\u003cdiv align=\"center\"\u003e\n\n# 外部调用\n\n\u003c/div\u003e\n\nPot 提供了完整的 HTTP 接口，以便可以被其他软件调用。您可以通过向 `127.0.0.1:port` 发送 HTTP 请求来调用 pot，其中的`port`是 pot 监听的端口号，默认为`60828`,可以在软件设置中进行更改。\n\n## API 文档:\n\n```bash\nPOST \"/\" =\u003e 翻译指定文本(body为需要翻译的文本),\nGET \"/config\" =\u003e 打开设置,\nPOST \"/translate\" =\u003e 翻译指定文本(同\"/\"),\nGET \"/selection_translate\" =\u003e 划词翻译,\nGET \"/input_translate\" =\u003e 输入翻译,\nGET \"/ocr_recognize\" =\u003e 截图OCR,\nGET \"/ocr_translate\" =\u003e 截图翻译,\nGET \"/ocr_recognize?screenshot=false\" =\u003e 截图OCR(不使用软件内截图),\nGET \"/ocr_translate?screenshot=false\" =\u003e 截图翻译(不使用软件内截图),\nGET \"/ocr_recognize?screenshot=true\" =\u003e 截图OCR,\nGET \"/ocr_translate?screenshot=true\" =\u003e 截图翻译,\n```\n\n## 示例：\n\n-   调用划词翻译：\n\n    如果想要调用 pot 划词翻译，只需向`127.0.0.1:port`发送请求即可。\n\n    例如通过 curl 发送请求：\n\n    ```bash\n    curl \"127.0.0.1:60828/selection_translate\"\n    ```\n\n## 不使用软件内截图\n\n这一功能可以让您在不使用软件内截图的情况下调用截图 OCR/截图翻译功能，这样您就可以使用您喜欢的截图工具来截图了，也可以解决在某些平台下 pot 自带的截图无法使用的问题。\n\n### 调用流程\n\n1. 使用其他截图工具截图\n2. 将截图保存在 `$CACHE/com.pot-app.desktop/pot_screenshot_cut.png`\n3. 向`127.0.0.1:port/ocr_recognize?screenshot=false`发送请求即可调用成功\n\n\u003e `$CACHE`为系统缓存目录，例如在 Windows 上为`C:\\Users\\{用户名}\\AppData\\Local\\com.pot-app.desktop\\pot_screenshot_cut.png`\n\n### 示例\n\n在 Linux 下调用 Flameshot 进行截图 OCR:\n\n```bash\nrm ~/.cache/com.pot-app.desktop/pot_screenshot_cut.png \u0026\u0026 flameshot gui -s -p ~/.cache/com.pot-app.desktop/pot_screenshot_cut.png \u0026\u0026 curl \"127.0.0.1:60828/ocr_recognize?screenshot=false\"\n```\n\n## 现有用法 (快捷划词翻译)\n\n### SnipDo (Windows)\n\n1. 从 [Microsoft Store](https://apps.microsoft.com/store/detail/snipdo/9NPZ2TVKJVT7) 下载安装 SnipDo。\n2. 从 [Release](https://github.com/pot-app/pot-desktop/releases/latest) 下载 pot 的 SnipDo 扩展 (pot.pbar)\n3. 双击下载的扩展文件完成安装。\n4. 选中文字，可以看到弹出的 SnipDo 工具条，点击翻译按钮即可翻译。\n\n### PopClip (MacOS)\n\n1. 从 [App Store](https://apps.apple.com/us/app/popclip/id445189367?mt=12) 下载安装 PopClip\n2. 从 [Release](https://github.com/pot-app/pot-desktop/releases/latest) 下载 pot 的 PopClip 扩展 (pot.popclipextz)\n3. 双击下载的扩展文件完成安装。\n4. 在 PopClip 的扩展中启用 pot 扩展，选中文本即可点击翻译。\n\n### Starry (Linux)\n\n\u003e Starry 目前仍处于开发阶段，因此您只能手动编译它。\n\nGithub: [ccslykx/Starry](https://github.com/ccslykx/Starry)\n\n\u003cdiv align=\"center\"\u003e\n\n# Wayland 支持\n\n\u003c/div\u003e\n\n由于各大发行版对于 Wayland 的支持程度不同，所以 pot 本身没法做到特别完美的支持，这里可以提供一些常见问题的解决方案，通过合理的设置之后，pot 也可以在 Wayland 下完美运行。\n\n## 快捷键无法使用\n\n由于 Tauri 的快捷键方案并没有支持 Wayland，所以 pot 应用内的快捷键设置在 Wayland 下无法使用。 您可以设置系统快捷用 curl 发送请求来触发 pot，详见[外部调用](#外部调用)\n\n## 截图无法使用\n\n在一些纯 Wayland 桌面环境/窗口管理器(如 Hyprland)上，pot 内置的截图无法使用，这时可以通过使用其他截图工具代替，详见 [不使用软件内截图](#不使用软件内截图)\n\n下面给出在 Hyprland 下的配置示例(通过 grim 和 slurp 实现截图)：\n\n```conf\nbind = ALT, X, exec, grim -g \"$(slurp)\" ~/.cache/com.pot-app.desktop/pot_screenshot_cut.png \u0026\u0026 curl \"127.0.0.1:60828/ocr_recognize?screenshot=false\"\nbind = ALT, C, exec, grim -g \"$(slurp)\" ~/.cache/com.pot-app.desktop/pot_screenshot_cut.png \u0026\u0026 curl \"127.0.0.1:60828/ocr_translate?screenshot=false\"\n```\n\n其他桌面环境/窗口管理器也是类似的操作\n\n## 划词翻译窗口跟随鼠标位置\n\n由于目前 pot 在 Wayland 下还无法获取到正确的鼠标坐标，所以内部的实现无法工作。 对于某些桌面环境/窗口管理器，可以通过设置窗口规则来实现窗口跟随鼠标位置，这里以 Hyprland 为例：\n\n```conf\nwindowrulev2 = float, class:(pot), title:(Translator|OCR|PopClip|Screenshot Translate) # Translation window floating\nwindowrulev2 = move cursor 0 0, class:(pot), title:(Translator|PopClip|Screenshot Translate) # Translation window follows the mouse position.\n```\n\n\u003cdiv align=\"center\"\u003e\n\n# 国际化([Weblate](https://hosted.weblate.org/engage/pot-app/))\n\n[![](https://hosted.weblate.org/widget/pot-app/pot-desktop/svg-badge.svg)](https://hosted.weblate.org/engage/pot-app/)\n\n[![](https://hosted.weblate.org/widget/pot-app/pot-desktop/zh_Hans/multi-auto.svg)](https://hosted.weblate.org/engage/pot-app/)\n\n\u003c/div\u003e\n\n\u003cdiv align=\"center\"\u003e\n\n# 贡献者\n\n\u003c/div\u003e\n\n\u003cimg src=\"https://github.com/pot-app/.github/blob/master/pot-desktop-contributions.svg?raw=true\" width=\"100%\"/\u003e\n\n## 手动编译\n\n### 环境要求\n\nNode.js \u003e= 18.0.0\n\npnpm \u003e= 8.5.0\n\nRust \u003e= 1.80.0\n\n### 开始编译\n\n1. Clone 仓库\n\n    ```bash\n    git clone https://github.com/pot-app/pot-desktop.git\n    ```\n\n2. 安装依赖\n\n    ```bash\n    cd pot-desktop\n    pnpm install\n    ```\n\n3. 安装依赖(仅 Linux 需要)\n\n    ```bash\n    sudo apt-get install -y libgtk-3-dev libwebkit2gtk-4.0-dev libayatana-appindicator3-dev librsvg2-dev patchelf libxdo-dev libxcb1 libxrandr2 libdbus-1-3\n    ```\n\n4. 开发调试\n\n    ```bash\n    pnpm tauri dev # Run the app in development mode\n    ```\n\n5. 打包构建\n    ```bash\n    pnpm tauri build # Build into installation package\n    ```\n\n\u003cdiv align=\"center\"\u003e\n\n# 感谢\n\n\u003c/div\u003e\n\n-   [Bob](https://github.com/ripperhe/Bob) 灵感来源\n-   [bob-plugin-openai-translator](https://github.com/yetone/bob-plugin-openai-translator) OpenAI 接口参考\n-   [@uiYzzi](https://github.com/uiYzzi) 实现思路\n-   [@Lichenkass](https://github.com/Lichenkass) 维护 Deepin 应用商店中的 pot\n-   [Tauri](https://github.com/tauri-apps/tauri) 好用的 GUI 框架\n\n\u003cdiv align=\"center\"\u003e\n","funding_links":["https://afdian.com/a/pylogmon"],"categories":["JavaScript","软件","开源工具推荐","GUI","Applications","辅助工具","包管理器"],"sub_categories":["音视频相关","Utilities"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpot-app%2Fpot-desktop","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpot-app%2Fpot-desktop","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpot-app%2Fpot-desktop/lists"}