3 ms·
I've been looking for something like this, but I'm still unsure it quite hits the spot. I think that this would be very interesting if it allows a person to run
by bArray 2y ago
I've been looking for something like this, but I'm still unsure it quite hits the spot. I think that this would be very interesting if it allows a person to run a blog like a Jupyter notebook.
I have a lightweight hack [1] that runs Python in markdown documents and can output basic images/graphs - which is embedded into static pages. The point was being able to write an article that somebody else could see the code behind it and test themselves, e.g. [2]. One of the browsers I test in is Netsurf with JS disabled. Unfortunately it doesn't look great in Lynx.
[1] https://gitlab.com/danbarry16/pandoc-highlight-filter https://gitlab.com/danbarry16/pandoc-highlight-filter
[2] https://coffeespace.org.uk/projects/langtons-ant-universe.html https://coffeespace.org.uk/projects/langtons-ant-universe.ht...
- DerThorsten 2y agoThere is jupyerlite which does exactly that https://github.com/jupyterlite/jupyterlite https://github.com/jupyterlite/jupyterlite Kernels are compiled to wasm and can therefore run in the browser. Try it out at: https://jupyterlite.readthedocs.io/en/stable/_static/lab/index.html https://jupyterlite.readthedocs.io/en/stable/_static/lab/ind... Its easy to create your own deployments, there is a template repo for that https://github.com/jupyterlite/demo https://github.com/jupyterlite/demo
- bArray 2y ago> There is jupyerlite which does exactly that https://github.com/jupyterlite/jupyterlite https://github.com/jupyterlite/jupyterlite Had a quick look, this seems quite cool! Is there alternative output is the WASM is not run? It would be good if it defaulted to a pre-run static output, otherwise users could be left with nothing?