Open westurner opened 1 year ago
@westurner unfortunately if I'm not wrong it looks like https://jupyterlite.readthedocs.io/en/latest/howto/extensions/kernel.html requires to write the kernel in TypeScript
which I'm not versed in at all 😵💫... maybe this is better suited for https://github.com/metachris/micropython-ctl 👍🏼
Emscripten compiles (Python, C, ) to WASM, which can be called from TypeScript.
Empack wraps emscripten.
ipywidgets recipe: https://github.com/emscripten-forge/recipes/blob/main/recipes/recipes_emscripten/ipywidgets/recipe.yaml
@westurner mmm maybe adapting https://github.com/emscripten-forge/recipes/blob/main/recipes/recipes_emscripten/ipython/recipe.yaml, but in that case I don't think I need to add/change anything in this kernel to get that working? So let me know if you try, maybe I could add the recipe.yaml/build instructions for that if you get it working 👍🏼
A JupyterLite build with this kernel
python -m http.server
doesn't do LetsEncrypt, so no auto HTTPS; which is necessary for various browser APIsjupyter lite build