Beta
hain

Your files. Your machines.
No one in between.

Hain syncs folders between your devices, directly. Currently in beta.

GitHub
macOS · Linux
$ curl -fsSL https://raw.githubusercontent.com/hainlabs/hain-releases/main/install.sh | bash
Manual download →
The hain TUI running in a terminal — file browser for a space called Project with two connected peers and synced status.

Ready before your coffee gets cold

Install with one command. Create a shared space with another. No accounts to create, no configuration to untangle, no permissions to request. You're syncing files in under a minute.

Direct means fast

Your files travel straight from one machine to another over an encrypted connection. No cloud relay. No upload queue. No waiting for a server to catch up.

Runs where you work

Run hain in any terminal and get a full-screen interface — file browser, command palette, live sync status. Drop to the CLI when you want to script something. Works anywhere a shell does, including over SSH.

Four steps. That's the whole thing.

1

Launch Hain

Run it in any terminal. First time, pick a folder for your vault. The TUI opens to a file browser.

hain
2

Create a space

Press / to open the command palette, then create a space for what you're working on.

/space-create "Project"
3

Share one key

Press Ctrl+Shift+S to show your share key. Send it to whoever needs access — that's the only setup they need.

Ctrl+Shift+S
4

They're in

Your collaborator launches Hain and pastes the key into the palette. Files start syncing.

hain

Prefer the command line? Every action has a CLI equivalent.

Your files shouldn't need a passport.

Hain keeps your data on your machines and nowhere else.

Install Hain