mootoday.com
http://loopback.works - Collect Feedback and Share Updates All in One Place.
Excellent developer experience leads to excellent customer experience.
Orchestrating and executing Wasm components as a hobby π
666 posts
224 followers
147 following
Regular Contributor
Active Commenter
comment in response to
post
I think the repo may be private, I get a 404 error.
comment in response to
post
Very, very interesting βΊοΈ.
That was on a MacBook M1 with a single instance of the Wasm http server.
I'll be busy for a few days to build a more meaningful prototype and deploy it to production.
I have a feeling things will be even more interesting when it runs on some proper hardware.
comment in response to
post
Wow, nope but that changed today π.
Thanks for that, I've wondered why there's no community for all the related tech.
comment in response to
post
I didn't look into that.
Our customers use anything from React to WordPress to static HTML :).
What I have started to look into though for the last few weeks is Wasm components.
That would bring nice encapsulation and could even be used server side, e.g. for product analytics.
comment in response to
post
That someone is supposed to be me.. I really should do it.
I spent days making it work π
.
Our setup also allows for local development via query string parameters to load the widget from localhost so you get hot module reloading!
comment in response to
post
Yeah Vite lib mode gives me the web component.
The actual script customers add to their website is github.com/LoopbackApp/....
That adds the web component to the site, but you don't necessarily need that. We use it to have more control over what we load from where etc.
Iife... Maybe not needed
comment in response to
post
github.com/LoopbackApp/...
That's the Svelte component that creates the custom element. Definitely reply here or DM me if you have questions.
Also happy to screen share if that's more convenient.
comment in response to
post
Ok, I made the repo public.
github.com/LoopbackApp/...
comment in response to
post
Wait what... GitHub says I need to purchase another seat :D. One sec
comment in response to
post
This is the monorepo structure for the various widgets we provide.
Actually, let me add you as a contributor to the private repo.
comment in response to
post
No Svelte required.
comment in response to
post
π€―
There's always a way :)
comment in response to
post
I'd absolutely love to join, but it looks like all I could do is join for lunch π
comment in response to
post
We did that for the feedback widget at loopback.works.
We have a Svelte package that we ship to npm. Another Svelte package depends on that and generates a web component. We host that on Cloudflare R2 and people load it from there.
comment in response to
post
For a server runtime, I've had a great experience with docs.wasmtime.dev.
comment in response to
post
Oh... I should have paid more attention. You already know about that project βΊοΈ
comment in response to
post
Thank you!
It was a bit rushed because my mind already moved on to the next project...
Orchestrating Wasm components to build ETL pipelines!
Visually create pipelines, each node is a Wasm component, deploy wherever Wasm runtimes are available.
comment in response to
post
That worked flawlessly π₯°!
Now onto my next experiment: Integrate this into a new platform I'm building where people can define ETL pipelines with Wasm components. For local dev, they'll fire up the web app via CLI which serves the single SvelteKit HTML file.
comment in response to
post
I wrote a blog post and put together three git repositories to showcase what I had in mind.
bsky.app/profile/moot...
comment in response to
post
I published my blog post.
bsky.app/profile/moot...
comment in response to
post
At first glance, this sounds like what I've been using with @remult.dev.
Exciting to see more solutions that are along the same line.
comment in response to
post
Raycast! Yep, a must-have.
comment in response to
post
It's insane!
A friend and I built loopback.works on a weekend thanks to Remult, shadcn-svelte, and LayerChart.
That was a few months ago and Remult has gotten even better since then.
comment in response to
post
Costco does that to people π
comment in response to
post
Yeah that's my thinking too.
I have an initial prototype, without web UI. It's part of a blog post I'll publish but think there's more to it.
I'll leave a reply here when I have more to share.
comment in response to
post
I know what you're talking about and I'm disappointed it came to that.
comment in response to
post
Thank you, that sounds like a good approach.
I've got lots to learn βΊοΈ. Probably best to ship a prototype and monitor what happens, then adjust and repeat :)
comment in response to
post
Wait, are we thinking the same thing?!?
I dive into the tech stack in the thread, but tl;dr is a Rust environment that runs pipelines, where each step is a wasm component.
bsky.app/profile/moot...
comment in response to
post
Wow that's a blast from the past π
comment in response to
post
I felt so too, but took the brave path and posted it anyway haha
comment in response to
post
"AI wrote it"
comment in response to
post
Start by reading this page.
There are also detailed examples of various programming languages.
component-model.bytecodealliance.org/design/why-c...