Configuration
The CLI that reads this file has no published release yet — the source is closed and no binary is downloadable. This page documents the configuration surface the first release will read; the browser client stores none of it. See
Install.
Tallow stores its configuration in a TOML file following XDG conventions. The file is a set of tables — [network], [transfer], [privacy], [ui] — not a flat list of top-level keys.
Config File Location
| Platform | Path |
|---|---|
| Linux | ~/.config/tallow/config.toml |
| macOS | ~/Library/Application Support/tallow/config.toml |
| Windows | %APPDATA%\tallow\config.toml |
Show the path on your system (the resolved path is printed by config show):
tallow config show # prints "# Path: ~/.config/tallow/config.toml" and the effective valuestallow config edit # open it in $EDITORConfiguration Keys
Network — [network]
[network]# Local network discovery (mDNS)enable_mdns = true# Relay fallback when a direct path is unavailableenable_relay = true# Relay servers, in preference orderrelay_servers = ["<relay-host>:4433"] # the hosted relay is the built-in default# STUN / TURN servers used for NAT traversalstun_servers = ["<relay-host>:3478"]turn_servers = []The relay address, a SOCKS5 proxy and Tor are per-invocation flags (--relay, --proxy, --tor), not config keys: --tor is shorthand for --proxy socks5://127.0.0.1:9050, TALLOW_RELAY / TALLOW_PROXY supply the same defaults from the environment, and --tor/--proxy imply --no-p2p (see the CLI reference).
Transfer — [transfer]
[transfer]# Enable compression at all (the codec itself is chosen per send)enable_compression = true# Chunk size in byteschunk_size = 262144# Where received files are writtendownload_dir = "~/Downloads"# Auto-accept offers from trusted contactsauto_accept_trusted = false# Bandwidth throttle, e.g. "10MB"; empty = unlimiteddefault_throttle = ""# Exclusion defaults (gitignore syntax) and .gitignore handlingdefault_exclude = ""default_gitignore = falseThe codec is a command-line choice — tallow send --compress auto|zstd|brotli|lz4|lzma|none, default auto (zstd) — and is recorded in the share manifest, so the receiver reads it from the transfer rather than from its own config.
Privacy — [privacy]
[privacy]# Strip metadata (EXIF/GPS, PDF, Office docProps) from files before sending.# Read by the CLI/TUI only; `tallow send --strip-metadata` is the per-send switch.# On by default; set it to false to keep metadata intact.strip_metadata = true# Encrypt filenames (they are otherwise visible as send metadata)encrypt_filenames = false# Onion routing / DoH, when a DoH endpoint is wantedenable_onion_routing = falseuse_doh = falsedefault_proxy = ""What
strip_metadatadoes not control. The browser client never reads this file. Its stripping is a separate per-device preference — Settings → Privacy → Strip file metadata — and it is opt-in and off by default there too: an absent setting means off, only an explicittrueturns it on, and stripping a photo re-encodes it (lossy). The full behaviour, including which file types are rewritten, is on Security Model → Metadata.
Identity — [ui] and contact state
[ui]theme = "auto" # dark / light / autoshow_notifications = truelanguage = "en"The contact identity key is not a config key: generate one with tallow identity generate, and it lives in the config directory (identity.enc) rather than in config.toml. Display names and contacts are managed with tallow contacts.
CLI Management
# View current configuration (and the resolved file path)tallow config show
# Read one key, or list every key and valuetallow config get transfer.enable_compressiontallow config list
# Set a value (dotted keys; values are typed, not strings)tallow config set network.relay_servers relay.example.com:4433tallow config set network.enable_mdns falsetallow config set transfer.default_throttle 10MB
# Open the file in $EDITOR, or reset to defaultstallow config edittallow config reset --yesEnvironment Variables
Environment variables override config file values:
| Variable | Supplies |
|---|---|
TALLOW_RELAY |
The default for --relay (the relay address is a flag, not a config key) |
TALLOW_RELAY_PASS |
The relay password, where the relay requires one |
TALLOW_CODE |
The room code for send/receive |
TALLOW_PROXY |
The default for --proxy — a SOCKS5 endpoint; --tor is the 127.0.0.1:9050 shorthand |
NO_COLOR |
Disable coloured output |
Browser Client Settings
The browser client (homepage send module) keeps non-sensitive preferences in localStorage under the tallow-settings- prefix (for example, notification and privacy toggles). Cryptographic session keys and identity material live only in memory and are never persisted to disk.
Precedence
Configuration is resolved in this order (highest priority first):
- Command-line flags (
--relay,--proxy,--tor,--compress, …) - Environment variables (
TALLOW_RELAY,TALLOW_PROXY,TALLOW_CODE, …) —--relay,--proxyand the code read their defaults from these - Config file (
config.toml) - Built-in defaults