4 ms·
JupyterLite is a great project! Addressing some other comments: the main limitation you'll find is probably the filesystem. WASM File System APIs are not extre
by santiagobasulto 4y ago
JupyterLite is a great project!
Addressing some other comments: the main limitation you'll find is probably the filesystem. WASM File System APIs are not extremely well evolved and (i think?) they're still in-memory FSs.
- tartakovsky 4y agoFiles seem to persist even after quitting chrome, refreshing or closing the tab. I'm not an expert, but assume it's cookie storage.
- santiagobasulto 4y agoI think JupyterLite is using localStorage by default. But there are File System APIs for WASM and some external projects[0], I don't think they're yet integrated. [0] https://github.com/jvilk/BrowserFS https://github.com/jvilk/BrowserFS
- brianjacobs 4y ago> I think JupyterLite is using localStorage by default This has been a problem when using Konqueror.
- tartakovsky 4y agoThanks, yes I see it now. It stores the notebook, which is a json, as a value in the localStorage object, with the filename as a key. Interesting, yes, not quite easy to configure (though I haven't read through the documentation or code to find this).
- martinRenou1 4y agoJupyterLite has a binding between the browser local storage and the WASM File System, so you can create a file from Python and it will be saved in the browser local storage for next time you come