1st July 2018 at 5:10pm
Introduced in v5.1.18 See WebServer for details of TiddlyWiki's web server functionality.
Serves a wiki over HTTP.
The listen command uses NamedCommandParameters:
--listen [<name>=<value>]...All parameters are optional with safe defaults, and can be specified in any order. The recognised parameters are:
host hostname to serve from (default: "127.0.0.1")
path-prefix prefix for paths
port port number to listen on; non-numeric values are
interpreted as an environment variable name
(default: "8080")
credentials pathname of credentials CSV file (relative to
wiki folder)
anon-username username for signing edits for anonymous users
username username for basic authentication
password password for basic authentication
authenticated-user-header request header for trusted authentication
readers comma-separated list of principals allowed to read
writers comma-separated list of principals allowed to write
csrf-disable set to "yes" to disable CSRF checks (default: "no")
root-tiddler tiddler to serve at the root
(default: "$:/core/save/all")
root-render-type content type to render the root tiddler
(default: "text/plain")
root-serve-type content type to serve the root tiddler
(default: "text/html")
tls-cert pathname of TLS certificate file
tls-key pathname of TLS key file
debug-level set to "debug" for request details (default: "none")
gzip set to "yes" for gzip compression (default: "no")
use-browser-cache set to "yes" to allow browser caching (default: "no")For information on opening up your instance to the entire local network, and possible security concerns, see the WebServer tiddler at TiddlyWiki.com.