Files
flit/cli/daemon.toml.example

27 lines
838 B
Plaintext
Raw Permalink Normal View History

# flit daemon config — copy to ~/.flit/daemon.toml and fill in.
#
# Run with: flit daemon
# Files land in download_dir as peers send them.
# Required — WebSocket URL of your waste-go anchor
signal_url = "wss://your-anchor.example.com/ws"
# Optional — TURN relay for cross-network transfers
turn_url = "turn:your-anchor.example.com:3478"
turn_secret = "" # coturn use-auth-secret; leave empty to use STUN only
# Directory where received files are saved (~ is expanded)
download_dir = "~/flit-inbox"
# Trusted peers — add one [[peers]] block per device.
# Get a peer's id by pairing once via `flit send` / PWA and reading
# the "peer connected" log line, or from the PWA's Known devices list.
[[peers]]
id = "aabbccddeeff..." # hex Ed25519 pubkey
label = "phone"
[[peers]]
id = "112233445566..."
label = "laptop"