Skip to content

Config Schema

term-serve.conf uses TOML.

Only these flat keys are valid:

KeyTypeNotes
hoststringBind address
portnumberListening port
auth_tokenstringShared WebSocket auth token
KeyTypeNotes
portnumberSame meaning as top-level port
hoststringSame meaning as top-level host
publicbooleantrue maps to host 0.0.0.0
KeyType
auth_tokenstring
KeyType
cwdstring
KeyTypeNotes
themestringMust match a known theme ID
fontstringFont family name
font_sizenumber OR [number, number]Single size or [desktop, mobile]
KeyType
verboseboolean
KeyTypeNotes
argvstring[]Non-empty array; first element is command
  • Unknown keys/sections fail parsing.
  • Do not duplicate a value in both top-level and section form (for example port + [server].port).
  • Do not combine host intent with public intent in the same config.

See Configuration File for practical examples.