# Executing .ipynb on github?

**URL:** <https://discourse.jupyter.org/t/executing-ipynb-on-github/36611>\
**Category:** General\
**Created:** [July 8, 2025, 5:29pm UTC](https://discourse.jupyter.org/t/executing-ipynb-on-github/36611 "2025-07-08T17:29:15Z")\
**Posts on this page:** 1\
**Showing post:** 11

<div class="post-metadata">

**Author:** ![fomightez](https://yyz1.discourse-cdn.com/flex031/user_avatar/discourse.jupyter.org/fomightez/32/495_2.png) [@fomightez](https://discourse.jupyter.org/u/fomightez)\
**Post date:** [September 2, 2025, 6:29pm UTC](https://discourse.jupyter.org/t/executing-ipynb-on-github/36611/11 "2025-09-02T18:29:55Z")

</div>

I’m not sure what you _really_ mean by “I am able to deploy jupyter Notebook code using index.html into my GitHub”? When I look at the source code for the pages [https://github.com/nasrin1748/jupyter\_trying](https://github.com/nasrin1748/jupyter_trying), it is only referencing making static pages via GitHub’s Pages offering. Static pages aren’t going to run Python/Jupyter code. Unless you pivot to using JupyterLite/Voici and it doesn’t seem you have.

It looks to me you just made a static page with some of the css features of Jupyter to make look what looks like a cell above some other content that lets you upload and download.

That being said, to make it only show what I understand you are calling the ‘_result_’, remove the code making the cell at the top.

* * *

However, [as we’ve dicussed before](https://discourse.jupyter.org/t/struggling-to-deploy-voila-or-voici-on-github/31381/6), you seem to actually want Voici?  
It lets you make pages like [Voila](https://github.com/voila-dashboards/voila#) but on static served sites. The documents with the content for Voici pages are Jupyter `.ipynb` files.

Go [here](https://github.com/voila-dashboards/voici) to look into it some.  
Then go to the guide referenced under [Make your own Github pages deployment](https://github.com/voila-dashboards/voici?tab=readme-ov-file#make-your-own-github-pages-deployment) to try a demo by clicking on ‘try lite now’ badge. Or clicking on the link under [‘Try it in your browser’](https://github.com/voila-dashboards/voici-demo?tab=readme-ov-file#-try-it-in-your-browser-). Since you mention `.html` here, I’ll note that link ends at a `.html` site that you can go to directly, too, by putting `https://voila-dashboards.github.io/voici-demo/voici/render/demo.html` in your browser’s URL bar. (Or click the following link [https://voila-dashboards.github.io/voici-demo/voici/render/demo.html](https://voila-dashboards.github.io/voici-demo/voici/render/demo.html).)  
[That guide](https://github.com/voila-dashboards/voici-demo#-how-to-make-your-own-deployment) will tell you how to set things up on your own GitHub Pages.

I have a demo I made doing that on my own GitHub Pages [here](https://github.com/fomightez/voici-demotestMay24/). You launch my clicking the ‘try line now’ badge there. The first one listed there, `demo.ipynb`, fully works because I just tried it. Plus, ‘`old_simple_demo.ipynb`’ in that listing that goes to `https://fomightez.github.io/voici-demotestMay24/voici/render/old_simple_demo.html` works, too. The other ones listed there are tests though and so best avoided at this time. (I see `test_providing_inside_nb.ipynb` runs fine, too.)

---

_[View the full topic](https://discourse.jupyter.org/t/executing-ipynb-on-github/36611)._
