Keyboard shortcuts

Press ← or → to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

webcat.config.json Schema

The manifest generator expects a Webcat config file (commonly webcat.config.json or a JSON equivalent) matching the schema below:

FieldTypeDescription
appstringFor open source apps, origin URL of the application being packaged. This is metadata; the format is not validated.
versionstringGit tag to be used for reproducibility and auditing.
default_cspstringBase Content-Security-Policy applied to all assets; see the CSP guide.
default_indexstringDefault index file served when a directory is requested; leading / is stripped automatically.
default_fallbackstringAbsolute path served when a file is missing; must begin with /.
wasmstring[]List (may be empty) of base64url SHA-256 digests for inline WebAssembly modules. .wasm files are added automatically during generation.
extra_cspRecord<string, string>Per-path CSP overrides. Keys must start with /. Example: { "/app": "default-src 'none'" }. May be empty ({}).

Use the JSON example in the end-to-end example as a starting point and adjust fields to match your application.