Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add ability to specify notebook server instead of Binder server #101

Closed
SamLau95 opened this issue Jan 1, 2019 · 0 comments · Fixed by #102
Closed

Add ability to specify notebook server instead of Binder server #101

SamLau95 opened this issue Jan 1, 2019 · 0 comments · Fixed by #102
Assignees

Comments

@SamLau95
Copy link
Owner

SamLau95 commented Jan 1, 2019

Right now, the JS API only allows specifying a Binder URL. To start a widget, the JS does three things:

  1. Request a notebook server from Binder.
  2. Request a Python kernel from the notebook server.
  3. Connect the widgets to the Python kernel.

It should also be possible to specify the URL of a running notebook server as well. This will skip step 1), which happens to also be the most time-consuming step by far for initial widget render — step 1) takes something on the order of 10 seconds; steps 2) and 3) take around 100ms.

The author will have to set up a publicly facing notebook server themself, however, since binder.org requires users to go through step 1) before we can do step 2) and 3).

Requested by @mathematicalmichael

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
1 participant