Skip to main content

CLI Options

mobitty [options]
FlagDescriptionDefault
-p, --port <number>HTTP server port8000
-i, --interface <address>Bind address127.0.0.1
-l, --log-level <level>Log level (debug, info, warn, error)info
--tls-cert <path>Path to TLS certificate file
--tls-key <path>Path to TLS private key file
--tls-ca <path>Path to TLS CA certificate file
-v, --versionPrint version and exit
-h, --helpPrint help and exit
note

When using TLS, both --tls-cert and --tls-key must be provided together.

Environment variables

VariableDescriptionDefault
MOBITTY_DATA_FOLDERData directory for sessions, themes, and logs~/.mobitty