Voila: from Jupyter notebooks to webpages

notes
jupyter
voila
How to serve Jupyter notebooks as webpages or dashboards

TL;DR

Voilà allows you to create webpages and dashboards from Jupyter notebooks. I found this useful when trying to share a notebook. Once installed (follow instructions), create a webpage/dashboard from a notebook:

voila notebook.ipynb --Voila.ip=0.0.0.0 --port=8866

You can access the webpage from your browser with http://<server-ip>:8866.

I use --Voila.ip=0.0.0.0 to allow the server to listen to all available network interfaces (be mindful or this, it may have security implications depending on your setup) and --port=8866 to specify port 8866 as the port where the webpage will be served.

Resources