zero-to-jupyterhub-k8s icon indicating copy to clipboard operation
zero-to-jupyterhub-k8s copied to clipboard

RTC support for Jupyterhub

Open Atharex opened this issue 3 years ago • 9 comments

There have been recent updates to jupyterlab's real-time collaboration (RTC) which seems to be in a working state now: https://jupyterlab.readthedocs.io/en/stable/user/rtc.html

Are there any plans to include this also in ZTJH?

There was already a discussion on the Jupyterlab forums and a blueprint of a working example created for a standalone jupyterhub: https://discourse.jupyter.org/t/plans-on-bringing-rtc-to-jupyterhub/9813/7 https://github.com/ktaletsk/jupyterhub-rtc-config-wrapper

Atharex avatar Nov 16 '21 12:11 Atharex

Yes, absolutely. I think it will be roughly:

  • release JupyterHub 2.0 with RBAC (this month or next)
  • identify access patterns, custom scopes/requests required to use these scopes to manage granting sharing access to users
  • implement necessary support, likely on both the jupyter_server and jupyterhub side

It's unclear if there will be anything specifically required in z2jh or not. My initial inclination is no, but we'll see.

One thing we will probably want, which is a JupyterHub 2.1 or 2.2 goal, is the ability to manage role assignments via REST API (or if sharing ends up being its own endpoint) so that a user can grant other users access to their own server via an API request. That's an admin-level operation right now.

Changing roles at runtime gets complicated, because then the configuration is necessarily inconsistent with the database, but we need to determine which should win - an updated configuration, or a deliberate rest-api change.

minrk avatar Nov 16 '21 14:11 minrk

+1 !

bjornarfjelldal avatar Dec 09 '21 12:12 bjornarfjelldal

Any updates on this?

tharwan avatar Oct 29 '22 13:10 tharwan

There's a Discourse thread linked in the original post: https://discourse.jupyter.org/t/plans-on-bringing-rtc-to-jupyterhub/9813

Since this involves multiple Jupyter components it's probably best to continue the discussion there.

manics avatar Oct 30 '22 15:10 manics

FWIU, RTC also works with JupyterLite?

There's a BinderLite effort: https://github.com/manics/binderlite-builder

For schools, BinderHub with auth and instructor-manageable RTC would probably be enabling for teachers

westurner avatar Mar 02 '23 21:03 westurner

Hello,

I was planning to enable RTC on my jupyterhub environment running in Kubernetes, but after reading the discourse thread I realized that it's not yet fully supported for this type of installation.

Any plan to add support of this in the near future ?

LucasVanHaaren avatar Sep 27 '23 08:09 LucasVanHaaren

RTC works with JupyterHub as long as the permissions are relatively static (users cannot yet manage access to their own servers). If users have the access:servers permission for a given server, installing jupyter-collaboration with jupyterlab 4 should enable RTC.

minrk avatar Sep 27 '23 10:09 minrk

Okay I will take a look, thank you !

LucasVanHaaren avatar Sep 27 '23 13:09 LucasVanHaaren

Does RTC work with JupyterLite; such that JupyterLite users can replay a collaborative notebook without installing libraries?

  • https://github.com/jupyterlite/jupyterlab-webrtc-docprovider/issues/16

On Wed, Sep 27, 2023, 9:48 AM vhash @.***> wrote:

Okay I will take a look, thank you !

— Reply to this email directly, view it on GitHub https://github.com/jupyterhub/zero-to-jupyterhub-k8s/issues/2488#issuecomment-1737438181, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAAMNS2GSPPVAURI6Q5EBOTX4QVBBANCNFSM5IEDSQMQ . You are receiving this because you commented.Message ID: @.***>

westurner avatar Sep 27 '23 14:09 westurner