jupyterlab-desktop
jupyterlab-desktop copied to clipboard
Allow JupyterLab Native to connect to binder
As a default (not locally installation) we could allow JupyterLab Native to connect to binder. Here is an issue on the binder hub repo that is discussing the proposed API for starting a binder instance with a a REST API.
https://github.com/jupyterhub/binderhub/issues/13
@yuvipanda
Would love it if whoever wants to implement this in the app could outline what their ideal API would look like :D
Here is a rough sketch:
- We need a REST API end point to hit that 1) starts the binder, and 2) returns the URL of the running instance with any security token needed to connect.
- We would then hit the REST end point, grab the URL+token and point JupyterLab at it.
- Would be helpful to get the url and token base separately as JSON
- If the instances timeout, it would be helpful to have a way to query if the instance is still running or if we have to restart. or that, it might be helpful to have the REST end point take the URL from an existing instance and return the running one or a new one at that URL.
On Wed, Aug 2, 2017 at 4:04 PM, Yuvi Panda [email protected] wrote:
Would love it if whoever wants to implement this in the app could outline what their ideal API would look like :D
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/jupyterlab/jupyterlab_app/issues/90#issuecomment-319822618, or mute the thread https://github.com/notifications/unsubscribe-auth/AABr0FlfpDLpv2WzyuzHp6DtQ4nNQ5wgks5sUQCMgaJpZM4Orw-9 .
-- Brian E. Granger Associate Professor of Physics and Data Science Cal Poly State University, San Luis Obispo @ellisonbg on Twitter and GitHub [email protected] and [email protected]
Ready to go!
https://github.com/jupyterhub/binderhub/blob/master/examples/binder-api.py