Jupyterhub integration with Blockly in Angular

Hi, I’m really new with JupyterHub and I have a question that has been in my head for the past couple of weeks. I have developed a Blockly app in Angular which is connected to a FastAPI backend that works as a compiler and returns the code associated with the blocks.

The problem is that I truly don’t know how to make this multi-tenant. Is it possible to incorporate what I’ve mentioned before in the JupyterHub architecture? Thx in advance

The components of JupyterHub are fairly well decoupled

This is probably easiest to see when using Docker: JupyterHub starts a Docker container containing your singleuser server, e.g. JupyterLab/jupyter-server, and ensures the user is authorised to access the singleuser server, but there’s not that much interaction between JupyterHub and JupyterLab/Jupyter-server.

This means if you can get your app working as a Jupyter-server extension and/or JupyterLab extension it should hopefully automatically work with JupyterHub.

1 Like

Did you look at jupyterlab-blocky? It works without problems under jupyterhub.

If you do not need to interact with Jupyter environment, e.g., running the code in Kernel, you can just add a launcher shortcut using Jupyter Server Proxy.

1 Like