Sharing Jupyter Notebook

After you download the notebook you can share the notebook using any platform E-Mail, GitHub or any messaging apps. But we will discuss three best options to share the notebooks:

  1. Using GitHub
  2. Using GitHub Gist
  3. Using nbviewer

Share using GitHub

To share the notebook using GitHub follow the below simple steps:

  1. Go to your GitHub profile (https://github.com/username)
  2. Create or Open any repository
  3. Add the notebook .ipynb file to the desired location in the GitHub repository
  4. Click on Preview to get the preview of your notebook
  5. Copy the URL of the notebook and share it.

In the below screenshot you can see the notebook preview in GitHub:

Share using GitHub Gist

Follow the below steps to share the notebook via GitHub Gist:

  1. Go to GitHub Gist (https://gist.github.com/)
  2. Drag and drop the notebook file in the gist
  3. Add the title and description of you gist file
  4. Gist will get prefill with the notebook content
  5. Click on Create Public Gist

  1. After creating the gist file it will show on your profile (https://gist.github.com/username)
  2. Click on your gist file and it will show your notebook preview
  3. Share the URL of your gist file with others

In the below screenshot you can see the preview of notebook in the GitHub gist:

NbViewer to Access Notebooks

NbViewer is a web based service which helps the users to share the Jupyter Notebooks, all you have do it is to paste the URL of the notebook and nbviewer will render the notebook.

  1. Go the nbviewer website (https://nbviewer.org/)
  2. In the nbviewer interface, there is a text box where we can enter the URL.
  3. Paste the URL of notebook

After entering the URL, press “GO!” button. Nbviewer will fetch and render the notebook. In the below screenshot you can see the preview of notebook in the Nbviewer:

NbViewer provides a unique URL for our notebook, which you can share with others. This link allows anyone with the URL to view our notebook in their web browser, even if they don’t have Jupyter Notebook installed.



How to Export and Share Jupyter Jootbooks ?

In this article, we will cover How to export and share Jupyter Notebooks there are different options available in Jupyter Notebook to export/download the notebook in different formats like PDF, Markdown, HTML, etc, we will consider both methods web-based user interface and command-line interface to export the notebook, further we cover an example to get a better understanding and later in the article, we will discuss different options available to share Jupyter Notebooks.

Similar Reads

Export Jupyter Notebooks

Jupyter Notebook provides a lot of options to users to export their notebooks in different formats which are as follows:...

Sharing Jupyter Notebook

After you download the notebook you can share the notebook using any platform E-Mail, GitHub or any messaging apps. But we will discuss three best options to share the notebooks:...