# Hosting interactive jupyter HTML file (with ipywidgets) on github as web page?

**URL:** <https://discourse.jupyter.org/t/hosting-interactive-jupyter-html-file-with-ipywidgets-on-github-as-web-page/8361>\
**Category:** JupyterHub\
**Created:** [March 16, 2021, 9:36pm UTC](https://discourse.jupyter.org/t/hosting-interactive-jupyter-html-file-with-ipywidgets-on-github-as-web-page/8361 "2021-03-16T21:36:39Z")\
**Posts on this page:** 1\
**Showing post:** 8

<div class="post-metadata">

**Author:** ![MikeLemon](https://yyz1.discourse-cdn.com/flex031/user_avatar/discourse.jupyter.org/mikelemon/32/3950_2.png) [@MikeLemon](https://discourse.jupyter.org/u/MikeLemon)\
**Post date:** [March 21, 2021, 9:04pm UTC](https://discourse.jupyter.org/t/hosting-interactive-jupyter-html-file-with-ipywidgets-on-github-as-web-page/8361/8 "2021-03-21T21:04:06Z")

</div>

> [@fomightez](#):
>
> In particular note [Embedding Jupyter Widgets in Other Contexts than the](https://ipywidgets.readthedocs.io/en/latest/embedding.html#embedding-jupyter-widgets-in-other-contexts-than-the-notebook)

Yeah so according to [this](https://ipywidgets.readthedocs.io/en/latest/embedding.html#python-interface)

which is better illustrated with VS code intelesense:

 ![image](https://canada1.discourse-cdn.com/flex031/uploads/jupyter/original/2X/1/1a776203ea816ed35e3d7e0110a9ca6b8ac6df1d.png)

what is that manager state attribute mean anyway?

The code in [“this”](https://ipywidgets.readthedocs.io/en/latest/embedding.html#python-interface) basically concatinates and embeds the widgets into an HTML template and exports this to a functional export.HTML file which defeats the whole purpose of Jupyter notebooks but that’s a getting started point.

And say I wanted to link and add an interactive matplotly graph to a slider how’d you do that?

and how’d you achive this function of Jupyter notebooks?:

```
a = widgets.FloatText()
b = widgets.FloatSlider()

display(a,b)

mylink = widgets.jslink((a, 'value'), (b, 'value'))

```

I guess such example could explain the whole independent HTML hosting and considered a solution.

---

_[View the full topic](https://discourse.jupyter.org/t/hosting-interactive-jupyter-html-file-with-ipywidgets-on-github-as-web-page/8361)._
