I found that the examples in the App Gallery now all feature a “Launch Pyodide” button that will open the a purely browser-based WASM version of the visualization. While some seem to be broken at the moment (cf. #5521), some (like the Portfolio Optimizer) work great.
There is also documentation on how to convert Panel notebooks to WASM html files.
However, I was wondering what the suggested deployment workflow for these WASM pages would be?
It seems that the Panel documentation uses an enterprise version of the Anaconda cloud to host the gallery files. The examples are hosted at
pyodide_url = 'https://pyviz-dev.github.io/panel/pyodide'. GitHub pages seems like the method of choice for the larger userbase.
Could this be a custom GitHub actions workflow that:
panel convert mynotebook.ipynb --to pyodide-worker --out pyodideto generate an html file.
- Deploys the resulting
I would be happy to contribute to the documentation as soon as some experts have weighed in