3 ms·
This GitHub Actions + GitHub Pages feature looks like the use case I would be looking to exploit for educational purposes. From this: https://github.com/jupyte
by tartakovsky 4y ago
This GitHub Actions + GitHub Pages feature looks like the use case I would be looking to exploit for educational purposes.
From this: https://github.com/jupyterlite/demo https://github.com/jupyterlite/demo you can easily get to https://jupyterlite.github.io/demo https://jupyterlite.github.io/demo
In case anyone wants to be helpful, I would love to see a guide to how to use this to transparently display where files are stored so that I could figure out how to automatically commit my changes or something like that. Each repository could be a lesson and worksheet for a coding/class, or even a collection of lessons. I imagine it would be fairly straightforward to create an interaction mode as well, for non-coders to ogle at other's charts and tables and interactive bokeh plots creations.
- abdullahkhalids 4y agoYes, the reason I posted this is because I was looking into how to host my mini-book online, which has a lot of computational interactions built in. I don't want to deal with hosting the backend on my server and all the security and performance issues it entails. This is a great solution. Though not ideal. I want to publish the book as a jupyter-book, and best would be if the code cells in it were interactive. I think my readers can do without the remaining features of Jupyter lab.
- ivansavz 4y agoThere was some work (and POC) on getting pyodide to work as a thebe backend. You can check out this thread: https://github.com/executablebooks/thebe/issues/465 https://github.com/executablebooks/thebe/issues/465 and other issues/PRs backlinked to it. I don't think anything like that has shipped yet, but definitely worth exploring (in the meantime the usual mybinder backend[1] for jupyter books works great, i.e. you don't have to host yourself). [1] https://jupyterbook.org/en/stable/interactive/launchbuttons.html#add-a-launch-on-binder-button https://jupyterbook.org/en/stable/interactive/launchbuttons....
- ivansavz 4y ago> I would love to see a guide to how to use this to transparently display where files are stored [...] I'm not 100% sure I understand your request for a guide, but if you create your own repo based on the jupyterlite/demo template, you can then put your notebooks in `content` dir[1] and they will automatically become available. The CI build step that does this is here[2]. So in some sense you don't need a guide, it just works ;) [1] https://github.com/jupyterlite/demo/tree/main/content https://github.com/jupyterlite/demo/tree/main/content [2] https://github.com/jupyterlite/demo/blob/main/.github/workflows/deploy.yml#L27 https://github.com/jupyterlite/demo/blob/main/.github/workfl...