# Self-Hosting Custom Jupyter Notebooks

**URL:** <https://discourse.jupyter.org/t/self-hosting-custom-jupyter-notebooks/708>\
**Category:** General\
**Tags:** community\
**Created:** [April 4, 2019, 9:30am UTC](https://discourse.jupyter.org/t/self-hosting-custom-jupyter-notebooks/708 "2019-04-04T09:30:40Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![mathematicalmichael](https://yyz1.discourse-cdn.com/flex031/user_avatar/discourse.jupyter.org/mathematicalmichael/32/322_2.png) [@mathematicalmichael](https://discourse.jupyter.org/u/mathematicalmichael)\
**Post date:** [April 4, 2019, 2:09pm UTC](https://discourse.jupyter.org/t/self-hosting-custom-jupyter-notebooks/708/3 "2019-04-04T14:09:51Z")

</div>

This is a personal passion of mine… sharing work and making it accessible. I basically found myself diving into jupyterhub and dev-ops to help answer this since it appears to do exactly that: run python (or other) code (safely) and display something in a browser.

I used [`nbinteract`](https://www.nbinteract.com/) and `voila`, which both have relative advantages. Here is what embedding `nbinteract` widgets looks like on a static website: [regularization](https://mathematicalmichael.com/project/regular). Only problem is that binder is quite slow to react, but I believe I can link it to a jupyter kernel on a rented server to speed it up.

I like the ability to embed the notebook (literally this was just a notebook and then I scraped the header html away) within the style of my website, widgets and all. Here is another little example made with `nbinteract`, but keeping the default styles: [biz.mathfight.club](https://biz.mathfight.club)

Using Dash to create pages is way prettier, but it’s a learning curve… This can go from prototype to website in no time. Thebelab was cool but I had some trouble getting it to work as expected with widgets.

That book is by far the cleanest standalone implementation. But when writing blogs, I prefer to hide the code, so my personal use-case is a bit more dashboard-y.

---

_[View the full topic](https://discourse.jupyter.org/t/self-hosting-custom-jupyter-notebooks/708)._
