Skip to content

About

Share and connect to your Herdr terminal sessions from anywhere — end-to-end encrypted, direct over LAN/tailnet, with a free hosted Cloudflare relay or your own.

Topics

Resources

Stars

5 stars

Watchers

0 watching

Forks

Repository files navigation

Herdr Relay

English · 简体中文

Herdr Relay — Your agents. Any machine.

Access your Herdr sessions from another computer through the native terminal interface. Herdr Relay supports macOS and Linux, encrypted pairing, multiple shared sessions, and background sharing with automatic reconnect.

Install

Install Herdr latest on both computers. Herdr Relay supports compatible native Herdr clients without pinning a release number; 0.9.3 and 0.9.4 have been tested together. See Herdr compatibility.

Get Herdr Relay from the GitHub Releases (or the faster download site) or install it with Rust 1.99 or newer:

cargo install herdr-relay --locked

Quick start

On the computer you want to access, start herdr, then detach with Ctrl-B, release, Q. Start sharing:

herdr-relay serve

Select sessions with Space, press Enter, and copy the pairing link. The background service is installed and started automatically.

On the other computer:

herdr-relay pair

Paste the link and choose a host and session. For later connections, just run herdr-relay. The default hosted Relay requires no account or Cloudflare setup.

When both computers share a LAN or tailnet, Herdr Relay connects directly with the same end-to-end encryption and falls back to the relay otherwise; the host menu shows which path each host uses. Allow TCP port 47120 on the host's firewall to use it. On macOS, the app running herdr-relay may need Local Network permission.

Configuration

Herdr Relay needs no configuration. To change a default permanently, such as a self-hosted Relay's origin or the Herdr executable, save it in config.toml (~/.config/herdr-relay/config.toml by default):

herdr-relay config set origin https://relay.example.com
herdr-relay config set token     # a self-hosted Relay's access token, entered hidden
herdr-relay config show

Flags and environment variables still override the file. The hosted Relay never uses a token. See the configuration guide for every setting.

In action

Choose a shared session by name, then connect to its agent workspace.

Choose a shared Herdr session

Codex and Claude Code in an Ubuntu workspace connected from macOS

Terminal views rendered from real demo output.

Guides

License

MIT. Binary releases and the crate are public, along with this source repository.

About

Share and connect to your Herdr terminal sessions from anywhere — end-to-end encrypted, direct over LAN/tailnet, with a free hosted Cloudflare relay or your own.

Topics

Resources

Stars

5 stars

Watchers

0 watching

Forks

Releases

Packages

Used by

Contributors

Languages