How to save Jupyter notebooks from GitHub

  1. First click on Raw
  2. Then, press ctrl+s to save it as .ipynb (Note that you'll have to manually type '.ipynb' after the file name to make this work, as files from GitHub are saved as text files as default.)
  3. Open jupyter notebook
  4. Go to location where you saved .ipynb file
  5. Open file, you will see the code

Hope this helps


True to 2020:

  • Click Download enter image description here
  • Wait for JSON to finish loding in your browser
  • Ctrl S (save as .txt file)
  • remove .txt extension
  • Run locally

Here is the Lifesaver Extension developed by me for both

  • Chrome
  • Firefox

The project is open-sourced here.

The extension not only opens github hosted notebooks in Colab but also in nbviewer!

And you can open the github repo from Colab and nbviewer And go to nbviewer from Colab and github Works all 3 ways!!

A new feature of opening new notebooks in one-click is already developed in the master branch, just need to push it to the extension platforms :)

Firefox extension

Chrome extension