Hatoba README

项目的 README,来自 github.com/scarletkc/Hatoba。合并为一个 markdown 文件:README.md。

Hatoba logo

Hatoba

Open-source desktop SSH client with an AI assistant and end-to-end encrypted sync through your own Cloudflare account

Website | Download | Documentation

Release CI Tauri Sync License Mentioned in Awesome Rust Mentioned in Awesome Cloudflare

https://github.com/user-attachments/assets/cd33e989-36e3-4e17-bc7f-74d472c96078

Hatoba keeps your hosts, keys, and terminal sessions in one place, syncs them between your devices, and puts an AI assistant beside each terminal.

Features

The documentation covers each one in detail.

Download

Download for Windows Download for Linux Download for macOS

The download page offers the newest release for your system, with its checksums and install steps, and Releases has every version.

Package managers can install and update it too. On Windows, from the Extras bucket of Scoop:

scoop bucket add extras
scoop install extras/hatoba

On Arch Linux and distributions based on it, install hatoba-bin from the AUR with an AUR helper such as yay:

yay -S hatoba-bin

If something doesn't work, open an issue. To build Hatoba yourself, follow the development guide.

Security

Keys are derived from your master password with Argon2id, and every item is encrypted with AES-256-GCM before it is stored or synced. The Worker stores ciphertext and the hashes it needs to sign you in, never your master password or any plaintext. If you forget the master password and lose the recovery code, your data cannot be recovered. The security model describes the key hierarchy and the threat model.

The AI assistant sends the model provider your messages, their attachments, the terminal's screen as each message is sent (unless you turn that off), and what its tools read. Host addresses, passwords, and keys reach the provider only when they appear on the screen, in a tool result, or in an attachment you send, except that a host you connect to without saving it is named by its address.

Set up sync

Sync is optional. It runs on a Worker and a D1 database that you deploy once to your Cloudflare account, and the free plan usually covers personal use. Hatoba can deploy them for you with a Cloudflare API token; otherwise deploy them with one click from the browser or with wrangler, then connect the first device with the Worker URL and a setup token you generate during deployment. Other devices need only the Worker URL and the master password.

Deploy the sync Worker walks through each way and connecting Hatoba, and covers upgrades, resets, and backups.

Documentation

Sponsors

Thanks to everyone who has sponsored Hatoba's author.

Sponsors

Sponsor Hatoba on GitHub

Star History

Star history chart

License

Hatoba is licensed under MIT.

Hatoba (scarletkc/Hatoba)

正在搜索数据库…

248 ·GitHub
这是什么?Hatoba 是一款开源的桌面 SSH 客户端,可以把主机、密钥和终端会话集中在一个地方管理;每个终端旁边还有一个 AI 助手面板,并且可以通过你自己部署的 Cloudflare Worker 和 D1 数据库,以端到端加密的方式同步所有内容。
它只是个终端模拟器,还是完整的主机管理器?它把主机列表(支持分组和标签)、服务器状态仪表盘、多标签终端、SFTP 文件面板和 AI 助手面板整合在一个 Tauri 桌面应用里,不只是一个普通的终端。
我该怎么把它跑起来?从下载页面下载适用于你操作系统的预编译安装包;或者用 Rust stable、Node.js 22+ 和 pnpm 从源码构建,在 Windows 上运行 'pnpm tauri build --no-sign' 生成 NSIS 安装包,在 Linux 上则生成 deb 或 AppImage。
用它需要 Cloudflare 账号或 API 密钥吗?只有在你想要云同步(Worker + D1,可以一键部署或用 wrangler 部署)时才需要 Cloudflare 账号;AI 助手需要你自己的 OpenAI 兼容或 Anthropic API 密钥。两者都是可选的。
Linux 和 macOS 版本的打磨程度能和 Windows 版本一样好吗?不能。Hatoba 以 Windows 为首要平台,带有自定义标题栏、Mica 效果以及 Windows 输入法支持;Linux 安装包和实验性的 macOS 版本都有,但实际使用中的测试要少得多。
我能不设置同步就使用 Hatoba 吗?可以。Hatoba 采用本地优先设计:所有功能都能完全离线使用,云同步完全是可选的。
开启同步后,我的数据究竟会流向哪里?同步完全在你自己的 Cloudflare 账号内运行,所有内容在离开你的设备之前就已经加密。因此即使 Worker、D1 数据库,甚至整个 Cloudflare 账号泄露,暴露出去的也只是密文。
如果我忘记了主密码会怎样?如果没有恢复码,你的保险库就无法恢复。主密码通过 Argon2id 派生加密密钥,服务器上从不存储明文数据。
AI 助手会看到我的密码或私钥吗?只有当它们出现在可见的终端屏幕上、工具返回结果中,或你发送给它的附件里时才会。否则模型服务商永远看不到它们。
如何把第二台设备关联到我的同步保险库?你只需部署一次 Worker 和 D1 数据库,然后用 Worker 网址和一次性设置令牌连接第一台设备;之后的其他设备只需要 Worker 网址和你的主密码。
除了终端,AI 助手还能做什么?它可以读取屏幕、输入并运行命令、读取/编辑/搜索主机或你本地机器上的文件、浏览网页,并使用技能或 MCP 服务器。除非你切换到 Auto 或 bypass 模式,否则每次操作都需要你的批准。
有哪些类似的项目?nyaterm, omnyssh, AceShell, edgeever, Codync, xpipe, WindTerm, pebrel
作者
scarletkc
大小
101.5 MB
星标
248
时长
1个月
提交 · 90 天