galv-team / galv-frontend

React app to provide a user-friendly interface to the Galv REST API
https://galv-team.github.io/galv-frontend/
Other
6 stars 0 forks source link

Jupter Lab Instance #16

Closed BradyPlanden closed 2 months ago

BradyPlanden commented 3 months ago

Describe the solution you'd like A request from the Oslo workshop:

"Can a jupyter lab instance be hosted alongside the galv frontend with a button to export data into the notebook instead of the example scripts"

mjaquiery commented 3 months ago

Good question. Do you know offhand what this might involve? We're presumably loth to provide unlimited computational resources to people - can we provide a Jupyter instance in a way that isn't costly? We could write a nicer Python API and offer it on PyPI. A fairly significant undertaking, but would essentially be a wrapper to the existing API that provided a cleaner interface - e.g. allowing you to download anything and its related resources via its UUID.

mjaquiery commented 2 months ago

We can do this through the magic of Web Assembly. Instead of hosting a JupyterLab instance where we have to provide computational resources for users, we can spin up our own instance of JupyterLite.

JupyterLite is an instance of Jupyter compiled to WASM, meaning it runs entirely on the user's computer.

BradyPlanden commented 2 months ago

That's brilliant, nice one!