Files and media

Share local PDFs, images, reports, and videos with a browser link.

Sometimes the thing to inspect is not a web app. It is a generated PDF, an image set, an HTML report, a video, or a folder of static artifacts.

Quackshell can expose a local static server so the output becomes a temporary browser link.

Good preview targets

  • Generated reports and dashboards.
  • PDFs, PNGs, JPGs, SVGs, and HTML exports.
  • Videos that need browser playback.
  • Static prototype folders created by an agent.

Serve static files

quackshell-cli-alpha serve-static --directory ./preview --port 8000
quackshell-cli-alpha --port 8000

Video note

Browsers often rely on HTTP range requests for video playback. Quackshell includes a range-capable static server so MP4 previews can behave like normal browser media instead of one large download.

Keep secrets out

Only serve the directory you intend to preview. Do not point a static server at a home directory, repository root with secrets, cloud credentials, key files, or private data you do not want reachable through the preview URL.

Security note

The signed, random URL is private as long as you keep it private. Stop the local server and Quackshell session when the preview is done.