Git Product home page Git Product logo

pot's Introduction

Logo

Pot

一个跨平台的划词翻译软件

快速上手 | 软件下载 | 进阶配置

Downloads Release License CI QQ

AUR version AUR version AUR version


支持平台

Linux Windows MacOS
划词翻译
独立窗口

支持接口

  • 有道翻译(无需申请)
  • Open AI(需要申请 api服务 0.002$/1000token)
  • 百度翻译(需要申请 api服务 每月免费额度100万字符)
  • 彩云小译(需要申请 api服务 每月免费额度100万字符)
  • 腾讯翻译(需要申请 api服务 每月免费额度500万字符)
  • 火山翻译(需要申请 api服务 每月免费额度200万字符)
  • 谷歌翻译(无需申请,但需要自己解决网络问题,已提供镜像站地址设置选项)
  • DeepL
  • 阿里翻译

具体的api服务申请,请看申请指南

由于使用api产生的费用本作者概不负责

参与贡献

参考 接口贡献指南

使用截图

example example

使用方法

  1. 鼠标选择需要翻译的内容
  2. 按下划词翻译快捷键(默认Ctrl+D)
  3. 完成翻译

安装

Linux

Debian

Release 下载最新deb包安装

注意:低版本系统请下载 pot_<version>_amd64_universal.deb 否则会因为glibc版本过低无法运行

Arch

已提供 AUR

关于Wayland

虽然本软件依赖于X11,但是得益于xwayland,实测wayland下通过GDK_BACKEND=x11启动是可以正常使用的。

Windows

Release 下载最新msi安装包安装

手动编译

所需工具

  • rust 1.67.0
  • pnpm
  • nodejs 19

编译步骤

  1. 克隆仓库
git clone https://github.com/Pylogmon/pot.git
  1. 安装构建依赖
sudo apt-get install -y libgtk-3-dev libwebkit2gtk-4.0-dev libappindicator3-dev librsvg2-dev patchelf
  1. 开始编译
cd pot

pnpm install # 安装前端依赖

pnpm tauri build # 编译打包

感谢

pot's People

Contributors

binw666 avatar ccslykx avatar pylogmon avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.