Feature idea: extension to simplify Binder publishing (lab>git>binder)

Similar to the RStudio Server publishing functionality, I’d like to advocate for a publish-to-Binder feature within default JupyterLab UI. There’s an entire scientific community waiting to blossom to it’s full potential here; Twitter meets arxiv w graph-based citation NLP. The network effect (quadratic multiplier) of a scientific community is how you beat VS Code & Google Colab.

Key to success would be reducing the hassle of publishing to a version control repo. Maybe the solution is using a github token to make it dead simple to publish a nb as a gist? It has to be frictionless (< 5 clicks and a name/ tag text field).

I encountered this problem recently when I wanted to rapidly publish the output of the plotly charts in my nb. I decided to skip the publish process and just exported nb to html and uploaded to s3. I also didn’t want to invest time in specifying dependencies.

Validation for this workflow:

  • Deep Learning for Coders with fastai & PyTorch (JHoward, p.84); using Voila apps for inference UI.

Shoutout to @ellisonbg for highlighting the “share knowledge” theme in the first place.


1 Like

Sounds like a cool idea! It could be developed as a JupyterLab plugin to begin with. Is this something you’ve already started work on?

Would you expect people to already have a GitHub account, or do you envisage this being used on private Binderhubs where everyone is trusted and the Binderhub admin could setup a single GitHub token for everyone?

1 Like

I have not, but it should just be a few API calls, so I’ll look into it this week.

To start it would just be individual githubs to public binders, but yeah, good idea, I didn’t even think about the hubs.

1 Like

I like the idea!

One thing I am unclear about: is this about making it easy to publish from my laptop/desktop computer or from a running mybinder.org session?

Asking because for the “publish from a BinderHub session” there are a few issues on GitHub discussing ideas and their trade-offs. In particular the problem of “please don’t put any private credentials in your binder”. If that is what you want to target its worth digging through those (I can try and find them).

1 Like

Clarifying scenario: My name is Henrietta. I work at a biotech company. I pip install jupyterlab on my laptop and write a notebook. I can use a feature in JupyterLab to publish it to mybinder.org

Yes, I’ll read anything you share.

1 Like