uptimely export¶
Export the packaged HTML, CSS, JavaScript, current Explorer snapshot, and latest
run for ordinary static HTTP hosting. The output can be a directory or a ZIP
file. A .zip suffix selects archive output. The generated config.js uses a
relative URL for data/explorer.json, so the export can live beneath a
documentation site's path prefix. Run information, logs, and profile previews
are saved in data/run.json and loaded through a relative URL, without live API
endpoints. Exports made before the first run show an explicit "No saved run"
state. The latest test report is saved in data/test.json and case details are
saved in per-profile files under data/test/cases/. Review these artifacts for
sensitive data before publishing. When exporting to an existing directory,
stale JSON files in data/test/cases/ are removed.
Usage¶
The command reads and validates the saved snapshot once. It does not start
FastAPI, compile the project, or render pages. Build the project first with
uptimely build. The same ZIP is available from the local server
at GET /api/explorer/export.
| Option | TOML setting | Default | Purpose |
|---|---|---|---|
PROJECT_ROOT |
— | Current working directory | Project root containing the Explorer snapshot. |
--project-root PATH |
— | Current working directory | Explicit form of the project directory argument. |
--output PATH |
Output directory or .zip archive. Matching files in an existing output directory are replaced. |