Borg/pkg/pwa
google-labs-jules[bot] efee04bfdb feat: Add PWA download and serve commands
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.
2025-10-31 20:32:46 +00:00
..
pwa.go feat: Add PWA download and serve commands 2025-10-31 20:32:46 +00:00
pwa_test.go feat: Add PWA download and serve commands 2025-10-31 20:32:46 +00:00