You can also collaborate between computers connected to the same wifi with jupyterlab v4 running on one of the connected computers, (for instance having different computers connected to wifi on a home network). Assuming you are running jupyterlab from a python environment such as Anaconda or Miniconda (
https://docs.anaconda.com/free/miniconda/miniconda-install/ ) installed on one of the machines you will need to get that machines ip address. On Windows or Mac you can use the ipconfig command from the Command Prompt to obtain the computers ip address.
ipconfig
...
IPv4 Address. . . . . . . . . . . : 192.168.0.29
Subnet Mask . . . . . . . . . . . : 255.255.255.0
Default Gateway . . . . . . . . . : 192.168.0.1
Ensure you have the jupyter-collaboration extension installed in jupyterlab v4.
pip install jupyter-collaboration
Then launch jupyter lab using the IPv4 Address. You can run
jupyter lab --no-browser --ip="<remote server ip>"
which in this case will be
jupyter lab --no-browser --ip="192.168.0.29"
and you will get the something like this in the output
Then copy the link with the ip address of the host machine in a browser address bar to get jupyterlab interface in a browser of any of the computers connected to the same wifi network. (e.g. a computer with a ip address of 192.168.0.23 for instance)
Then you should see the JupyterLab interface in the browser and you can open notebooks and share links using jupyter-collaboration icon in upper right side of interface to collaborate with others just as before.
This way if students are in a classroom setting with computers connected via wifi or ethernet and one or more of the computers has jupyterlab v4 installed on it with the jupyter-collaboration extension in a python environment such as Anaconda or Miniconda, then you can launch jupyterlab on these computers with it's ip address with one these commands.
jupyter lab --no-browser --ip="<remote server ip>"
as explained above or with just
jupyter lab --ip="<remote server ip>"
and then share links of notebooks with collaborators.
The alternative is to set up a JupyterHub with JupyterLab on a powerful computer or cluster of computers with sufficient compute resources for your students to run vpython on JupyterLab. On the other hand if some of the students can have a local copy of JupyterLab and vpython installed and running on their own computer they can share links with other collaborators connected to the same wifi network and use the compute resources of the computer running the JupyterLab server and vpython on that local machine.
John