container2wasm icon indicating copy to clipboard operation
container2wasm copied to clipboard

Voila integration?

Open Justyouraveragehomie opened this issue 8 months ago • 2 comments

Hey there, im wondering if Voila web apps can work with container2wasm. https://github.com/voila-dashboards/voila Since Voila needs a local port to display the python web app, I wasnt sure if this was possible.

Would be great to get an example using the localhost with voila if possible

Justyouraveragehomie avatar May 27 '25 18:05 Justyouraveragehomie

Sorry for the slow reply. Docs related networking is available here https://github.com/container2wasm/container2wasm/tree/3350b66320f3d2b5764c048b3e1db8bde68e01e8/examples/networking

This also seems to be related to ongoing threads about port forwarding: #469 and #195

ktock avatar Jun 05 '25 12:06 ktock

I also added the question here: https://github.com/voila-dashboards/voila/issues/1530
I believe voila relies on websockets. But obviously it doesnt actually need the use of a terminal since it just creates a dashboard from a ipynb and exposes it on the local port.

Maybe this can be given a go for an example: https://github.com/binder-examples/voila
If anyone can figure it out.

Justyouraveragehomie avatar Jun 05 '25 21:06 Justyouraveragehomie