Normally, if you try to share a link to your active binder, you will get an error like this:
The issue is that you don’t have the authentication token for the session. You can get this token, however, by running the jupyter notebook list
command in the terminal. If you are in JupyterLab go to File > New > Terminal
. For me, it looks like this:
jovyan@jupyter-jupytercalpoly-2drich-2dcontext-2ddemo-2d76a9qi1l:~$ jupyter notebook list
Currently running servers:
http://0.0.0.0:8888/user/jupytercalpoly-rich-context-demo-76a9qi1l/?token=m8mGhkqcSDWmcpuNqF1Hgw :: /home/jovyan
All we need to do now is copy that URL, but replace the host of http://0.0.0.0
with https://hub.mybinder.org
. In this case it would be https://hub.mybinder.org/user/jupytercalpoly-rich-context-demo-76a9qi1l/?token=m8mGhkqcSDWmcpuNqF1Hgw
. Now if you are that URL with someone else, they will be able to connect to this same container. That means, if you save a file they will be able to see it.
We are using this for a demo of the new Rich Context work to try out multiple users commenting on a notebook at the same time, backed by a singular GraphQL server.