voila-dashboards / voila

Voilà turns Jupyter notebooks into standalone web applications
https://voila.readthedocs.io
Other
5.38k stars 500 forks source link

Pyodide/JupyterLite support? #1153

Open Denubis opened 2 years ago

Denubis commented 2 years ago

Problem

At present, deploying voila for Lat-Epig requires using myBinder with a significant startup wait. It'd be amazing to have compile-to-browser support for these dashboards. Looking at https://jupyterlite.readthedocs.io/en/latest/_static/lab/index.html and the/pyodide example dir, they support iPython widgets. It might be worth seeing if Voila was an easy include in those examples?

Proposed Solution

Have an example demonstration of how to deploy a voila dashboard to JS (on github pages) using existing code at https://jupyterlite.readthedocs.io/en/latest/_static/lab/index.html as the basis.

jtpio commented 2 years ago

Thanks @Denubis for opening this.

Indeed Voila should be able to eventually work with JupyterLite. Probably will need #846 first.

This is also discussed in the JupyterLite repo: https://github.com/jupyterlite/jupyterlite/discussions/202