Hatoba README

The project's README from github.com/scarletkc/Hatoba. As one markdown file: 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

The AI assistant finds and fixes an nginx 502 on a server, then Hatoba deploys its sync Worker to Cloudflare

Hatoba keeps your hosts, keys, and terminal sessions in one place, syncs them between your devices, and puts an AI assistant beside each terminal. The sync backend is a Worker and a D1 database that you deploy to your own Cloudflare account.

Features

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. The maintainer uses Windows, so the Linux and macOS builds get little testing on real machines. If something doesn't work on them, please open an issue.

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.

Build from source

You need Rust stable, Node.js 22 or later, and pnpm. Windows also needs WebView2, which Windows 11 includes, macOS needs the Xcode Command Line Tools, and Linux needs the Tauri system dependencies such as libwebkit2gtk-4.1-dev.

pnpm install
pnpm tauri dev

pnpm tauri build --no-sign produces the NSIS installer on Windows, and the deb package and the AppImage on Linux, without the update signatures that only release builds carry. On macOS, don't pass --no-sign: it also drops the ad-hoc code signature, and Apple Silicon Macs report an app without one as damaged once it is downloaded or copied from another Mac. Turn off the update artifacts instead, and the build produces the app bundle and the DMG:

pnpm tauri build --config '{"bundle":{"createUpdaterArtifacts":false}}'

The development guide covers the browser-only frontend, tests, and the generated TypeScript bindings.

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

License

Hatoba is licensed under MIT.

Hatoba (scarletkc/Hatoba)

Searching Database…

129 ·GitHub

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

Creator
scarletkc
Size
21.4 MB
Stars
129
Age
13d
Commits · 90 Days