Skip to content

Latest commit

 

History

History
19 lines (12 loc) · 882 Bytes

File metadata and controls

19 lines (12 loc) · 882 Bytes

zim serve

Start the embedded Svelte web application and JSON API for a startup archive:

zim serve <file.zim-or-library-name>

The server uses server.host, server.port, and the configured timeouts. The startup file may be outside the configured library, but later HTTP library selections are limited to that file or canonical .zim files beneath library.path.

zim serve simple-wiki

Press Ctrl+C to shut down gracefully. zim ui <file> is a deprecated compatibility alias and runs exactly the same server.

The web UI supports library selection, lexical search, optional semantic search, article navigation, and archive resources. Article HTML is isolated in a sandboxed iframe rather than inserted into the application document.

See HTTP server architecture and web server usage.