jupyterlab-contrib / jupyterlab-link-share

JupyterLab Extension to easily share a link to a running server on Binder
BSD 3-Clause "New" or "Revised" License
53 stars 14 forks source link

Use public IP in link #35

Open ianhi opened 2 years ago

ianhi commented 2 years ago

Is your feature request related to a problem? Please describe.

I'd like to be able to launch a notebook on my laptop, and give a labmate or student sitting nearby access to edit. However, the default URL when l use Share will be localhost so I have to:

  1. Use ifconfig (no idea what I would do on windows)
  2. extract my IP address
  3. manually replace it in the URL

image

Describe the solution you'd like

Add an option (or even as default) to replace localhost with my IP address (maybe with a checkbox for private/public IP)

Describe alternatives you've considered

Manually doing this, or building a script that autoreplaces this for me

Additional context

ianhi commented 2 years ago

See also https://github.com/jupyterlab/jupyterlab/issues/12025