Packaging for wasm apps #1961
Replies: 2 comments 1 reply
-
Generally this is handled by fastn.app. WASM file for a fastn package should be distributed with the package itself, so if I use auth package a dependency, and it needs wasm file, it will be part of auth package, and I will simply mount the auth package on say amitu.com/auth/. Read these discussions: https://github.com/orgs/fastn-stack/discussions?discussions_q=fastn.app |
Beta Was this translation helpful? Give feedback.
-
We loose a lot of information about the compiled wasm binary when we choose to do this. Where the binary is coming from? How do I get dependabot alerts? The packaging can't just be "upload a binary with your package and specify a path to it in our fastn.url-mappings" for these reasons. We need some more metadata (where is the source at least). |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
We currently support handling http request via wasm but there's no answer on how to ship these compiled wasm files with a fastn package.
Moreover a wasm package may also want to deliver UI that should be customisable (or overwritable) by the package user.
Possible use cases
Footnotes
This requires that a subset of our new ftd language should be compilable to other formats (html/pdfs etc). ↩
Beta Was this translation helpful? Give feedback.
All reactions