relay-ttydocs
Reference

Configuration Files

.env

Environment variables for server configuration. See Environment Variables for all options.

Location: project root or working directory

~/.config/relay-tty/tunnel.json

Tunnel configuration, auto-created on first --tunnel use.

Contains the stable subdomain assigned by relaytty.com. Reused on subsequent runs so your URL stays the same.

~/.relay-tty/

Runtime data directory:

PathDescription
sessions/<id>.jsonSession metadata (command, created time, status)
sockets/<id>.sockUnix socket for pty-host communication

Session metadata is created by the pty-host process and persists across server restarts. Socket files are cleaned up when the pty-host process exits.

Service files

Created by relay server install:

PlatformPath
macOS~/Library/LaunchAgents/com.relay-tty.plist
Linux~/.config/systemd/user/relay-tty.service

On this page