Skip to main content

Module publish

Module publish 

Source
Expand description

Publish a void repository as a browsable static website.

Generates a self-contained SPA (index.html) plus a CBOR content pack (content.cbor) that can be pinned to IPFS and viewed on any gateway.

Text files are individually gzipped (for browser DecompressionStream), binary assets are served at original paths, and commit provenance (signature, author, timestamp) is included for client-side verification.

Structs§

AssetFile
ExcludedFile
PublishOptions
PublishOutput
PublishStats

Enums§

ExcludeReason
FileClass
PublishError

Functions§

classify_file
Classify a file path into text, asset, or excluded.
publish
Publish a void repository as a static website.