This commit introduces two new commands: `pwa` and `serve`. The `pwa` command downloads a Progressive Web Application (PWA) from a given URL. It discovers the PWA's manifest, downloads the assets referenced in the manifest (start URL and icons), and packages them into a single `.tar` file. The `serve` command takes a `.tar` file created by the `pwa` command and serves its contents using a standard Go HTTP file server. It unpacks the tarball into an in-memory filesystem, making it a self-contained and efficient way to host the downloaded PWA. |
||
|---|---|---|
| .. | ||
| all.go | ||
| cat.go | ||
| collect.go | ||
| helpers.go | ||
| ingest.go | ||
| pwa.go | ||
| root.go | ||
| serve.go | ||