It has been a long time since the question was asked, but I will answer using modern technology.
To embed interactive widgets, you need a backend, but there is a project called MyBinder that you can use as a backend in the cloud for free. This served as the basis for a library called NBinteract , which can convert any notepad with interactive widgets into one HTML page.
These HTML files load the script from cdn and independently manage all interaction with MyBinder.
There are several examples on their website, and I also posted a blog post where I used this technology along with Dockerfile, ffmpeg, matplotlib, animation, and interactive widgets. Therefore, I believe that this approach is quite reliable and flexible.
The official docs say you need a repo, but I could use histologists instead and introduced a problem in the main repo explaining how to do this.
Ezequiel castaΓ±o
source share