/jupyter-launcher-shortcuts

Launcher shortcuts for classic Jupyter Notebook & JupyterLab

Primary LanguagePythonBSD 3-Clause "New" or "Revised" LicenseBSD-3-Clause

Jupyter Launcher Shortcuts

Extensions for JupyterLab and classic Jupyter Notebook to add user defined 'launcher' shortcuts. Primarily useful in JupyterHub / Binder situations.

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

labextension.png

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

nbextension.png

Installation

The supporting notebook server extension & classic notebook extension can be installed with pip.

pip install jupyter-launcher-shortcuts

The JupyterLab extension needs to be installed separately.

jupyter labextension install jupyterlab-launcher-shortcuts

Configuring

The extension can be configured in a jupyter_notebook_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'
    }
}