Share your JupyterLite Examples

@walt You should be able to do whatever you need already! You can use the JupyterLite hosted on EdgeCollective’s (@donblair’s) GitHub Pages: https://edgecollective.io/jupyterlite/

The only thing that’s necessary to get that to work with Farmier-hosted instances is we need to “bless” (via CORS config) the edgecollective.io domain in your instance so that your browser “trusts” the third-party URL. I did that already for yours, so you should be good to go!

(If anyone else is using Farmier and wants to play around with https://edgecollective.io/jupyterlite/ ping me!)

Ultimately, it will be great to include the new Drupal JupyterLite module that @Symbioquine and I started on Farmier - but that’s not strictly necessary. The only benefit is you don’t need to configure CORS because it’s serving JupyterLite from the same domain, so your browser will automatically “trust” it.

@walt Just be aware of the way “file storage” works with JupyterLite, so you don’t lose anything! All files you upload or create in JupyterLite are stored IN YOUR BROWSER SESSION … they are NOT stored on the farmOS server. If you clear your browser cache or change browsers, they are gone!

We have some fun ideas to store/serve files from farmOS itself being discussed here:

2 Likes