Home

Awesome

Jupyter Google Colab XBlock

Overview

Provides a convenient way to launch Google Colab notebooks with within Open edX.

Demo available at https://www.youtube.com/watch?v=ddZDNW_g-v4

Installation

XBlock

Edx Server Setup

In the following files:

Add the following at the bottom of the INSTALLED_APPS section:

    # Colab XBlock
    'colab_xblock',

Restart edxapp via /edx/bin/supervisorctl restart edxapp:

The Google Colab Link can now be added to a unit by selecting Colab XBlock from the Advanced component menu

How it works

Provides a button that will open a new tab/window to the provided google colab notebook.

If the link is a github link, we reformat it to a google colab link, otherwise we leave it as is.

The user can enter optional instructions or a summary that will be displayed above the link.