glx serve
Serve a local browser-based viewer for a GLX archive (prints a URL to open)
Synopsis
Serve a read-only, browser-based viewer for a GENEALOGIX archive.
Starts a small local web server and prints a URL to open in your browser (it does not open the browser for you). The viewer is interactive and shows:
- Dashboard: entity counts, assertion confidence, and coverage
- Person profiles: names, vitals, event timeline, assertions with evidence
- Family tree: interactive pedigree and descendancy charts
- Sources: every source with its citations and locators
The server binds to localhost by default so the archive stays on your machine. The archive is loaded once at startup; restart the server to pick up external edits made by the CLI or a text editor.
Accepts either a multi-file directory or a single .glx file. If no path is given, the current directory is used.
glx serve [path] [flags]Examples
# Serve the current directory on the default port
glx serve
# Serve a specific archive
glx serve my-family-archive
# Serve a single-file archive on a custom port
glx serve family.glx --port 9000
# Pick any free port (printed on startup)
glx serve --port 0Options
-h, --help help for serve
--host string Host/interface to bind (use 127.0.0.1 to keep the viewer local) (default "127.0.0.1")
-p, --port int Port to listen on (0 picks any free port) (default 8080)Options inherited from parent commands
-q, --quiet Suppress non-error output (where supported)SEE ALSO
- glx - GENEALOGIX CLI - Manage and validate genealogy archives