Single HTML deployment
Author: nii236Created Feb 18, 2025Updated Feb 14, 2026
Hi,
One of the things I work on are HTML reports. These are completely self contained HTML files (excluding CDNs for CSS). I've been thinking about migrating these reports to go-app.
Go-app seems to generate quite a few files (wasm, js, css, html), which need to be served by either a server or an s3-compatible bucket.
Is there a way to embed all of the artifacts from go-app into a single HTML file?
I know its technically possible from this thread, to convert the wasm file to base64 then inject it into the HTML. I was wondering if go-app has functionality for the same output.
Source: maxence-charriere/go-app