jupyterhub / zero-to-jupyterhub-k8s

Helm Chart & Documentation for deploying JupyterHub on Kubernetes
https://zero-to-jupyterhub.readthedocs.io
Other
1.56k stars 800 forks source link

RTC support for Jupyterhub #2488

Open Atharex opened 3 years ago

Atharex commented 3 years ago

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

minrk commented 3 years ago

Yes, absolutely. I think it will be roughly:

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.

bjornarfjelldal commented 2 years ago

+1 !

tharwan commented 2 years ago

Any updates on this?

manics commented 2 years ago

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.

westurner commented 1 year ago

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

LucasVanHaaren commented 1 year ago

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 ?

minrk commented 1 year ago

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.

LucasVanHaaren commented 1 year ago

Okay I will take a look, thank you !

westurner commented 1 year ago

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

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: @.***>