Running voila without Internet

I have developed an interactive python application using ipywidgets + ipympl (matplotlib) from jupyterlab and it works great during development and even tried to deploy it using Voila. All works as expected on my development machine which has internet connectivity.

My target deployment system does not have internet connectivity. And launching voila shows blank page and inspection from web developer tools I notice three cdn requests (1. MathJax , 2 & 3 to Font-awesome styles). However while running the notebook application via jupyterlab on this system without internet everything works flawlessly all font-awesome icons appear without any issues.

Am I missing any settings while running from Voila ? Why running from voila requires these external server requests ? How to make Voila work on such environment ?

Here is the link to my original post on stackoverflow

Thanks in advance for your help.

To make an offline-ready version of voila today you need to overload every reference to cdn, unpkg, etc., cache those files, and bring them along.

You may want to track (and or contribute to) the on-going effort to port voila to using the prebuilt extensions (ne “federated” extensions) which are handled entirely by the package manager you’d use to get your voila package in the first place (e.g. pip, conda).

2 Likes