Skip to content

2i2c-org/jupyter-launcher-shortcuts

Jupyter Launcher Shortcuts

Extension for JupyterLab (version 4+) and classic Jupyter Notebook (version 7+, currently broken, see Issue #25 to add user defined 'launcher' shortcuts. Primarily useful in JupyterHub / Binder situations.

For JupyterLab, they're added in the launcher interface.

For classic Jupyter Notebook, they are added under the 'New' button

Installation

The JupyterLab extension, the classic Jupyter Notebook extension, and a Jupyter Server extension required behind the scenes can all be installed with pip.

pip install jupyter-launcher-shortcuts

Configuring

The extension can be configured in a jupyter_server_config.py file created in any of the directories under config in the output of jupyter --paths command.

c.LauncherShortcuts.shortcuts = {
    'my-shiny-application': {
        'title': 'Human Readable Shortcut Title',
        'target': '{base_url}shiny/my-shiny-application-directory/',
        'icon_path': '/path/to/svg/file'
    }
}