Publishing
The publish command is the default — any argument that isn’t a subcommand is a file to publish:
hupp <file> [--name=<name>] [--ttl=<duration>] [--raw] [--no-comments] [--public | --team[=<name>] | --private] [--revises=<id>] [--json]File types
Section titled “File types”The file extension picks the input type:
.html— served byte-for-byte as you wrote it..md— rendered to a styled HTML page (GitHub-flavored Markdown). The first heading becomes the page title.
Use - as the file to read from stdin; stdin defaults to HTML unless --name
gives it an extension:
generate-report | hupp - --name=report.mdNaming the link
Section titled “Naming the link”--name (or -n) sets the filename shown in the URL path:
hupp build/index.html --name=launch-plan.htmlExpiry (TTL)
Section titled “Expiry (TTL)”--ttl (or -t) expires the page after a duration like 30m, 12h, or 7d:
hupp demo.html --ttl=24hOn the Free plan every file expires 30 days after upload regardless of TTL; paid plans keep files for as long as you say — forever, if you never set a TTL.
Raw mode
Section titled “Raw mode”--raw (or -r) serves the file as text/plain instead of rendering it —
useful for sharing source, configs, or logs verbatim:
hupp deploy.log --rawComments
Section titled “Comments”Pages include a comment widget by default. Publish without one:
hupp final.html --no-commentsJSON output
Section titled “JSON output”Every API-backed command takes --json (or -j) and prints one JSON object on
stdout — errors go to stderr as JSON too. Built for scripts and CI.