-
Notifications
You must be signed in to change notification settings - Fork 521
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feature: WASM web app #136
Comments
This is a goal. @alixander thoughts on doing it for the playground? That way we don't even need a stateful API, all static!!! |
without goja, playwright, elk, dagre, i got the build down to 27M, compressed with gzip is 6.5M. compressed with brotli is 4.4M. i think that's a reasonable size to serve to users, even with fast load times as a top priority for the playground. further removing fonts, mathjax, pflag and net, can probably hit a bit over 3M compressed? @nhooyr wdyt |
Yea we don't need goja on the web, we can run the JS directly in the browser. See #366 Yes, 4.4M is excellent. |
+1 for this. Would love to have something like a fully embeddable playground/static site. |
could tinygo perhaps be useful here for making a smaller wasm binary? https://tinygo.org/docs/guides/webassembly/ |
Thank you for the suggestion. I tried tinygo with some minimal effort ~a year ago but ran into errors. The size shouldn't be an issue anyway once we shed unused dependencies for wasm. |
i forgot why i asked for this feature and what is D2 but, gratz! and thank you :3 |
haha yeah this one's been on the backburner for a while |
Slick! 🚀 |
Awesome! |
A web editor, for at least preview can be done with https://go-app.dev/. I may work on this, couldn't find anything similar on issues. pls hit me up if someone already works on a web app.
The text was updated successfully, but these errors were encountered: