Jupyter Tidbit: Launch Notebook on Binder without leaving your browser

August 23, 2018

This post originates from a gist that supports comments, forks, and execution in binder.


You can launch a temporary Jupyter Notebook server in the cloud with any pip or conda packaged libraries preinstalled using the GitHub Gist and Binder web UIs.

  1. Visit
  2. Click New Gist in the top right
  3. Enter requirements.txt as the filename (or environment.yaml if you prefer conda).
  4. Add libraries you wish to use in your notebook server (e.g., pandas, altair).
  5. Click Create Public Gist.
  6. Visit
  7. Select Gist from the dropdown.
  8. Enter your gist username/gistid.
  9. Click Launch.


When I add the requirements.txt file below to a new gist, enter parente/3675d82eae802db2c011037033d614a5 into the binder web UI, and click the launch, here's the result:




Another Read: Jupyter Tidbit: Use nbconvert to clear notebook outputs »

nbcovert has a preprocessor that clears cell outputs from notebook files, leaving cell inputs intact.