Jupyterlab commands to launch jupyterlab proxy to a given port (modal window) and lauch it either as new jupyterlab tab or new browser tab
npm install jupyterlab_proxy_launcher_command_extension





JupyterLab extension providing a command to launch jupyter-server-proxy connections via modal dialog, opening proxied services in either a JupyterLab tab or new browser window.
- Modal dialog - Configure port, path suffix, and target (JupyterLab tab or browser window)
- JupyterLab tab - Embed proxied service in an IFrame within JupyterLab
- Browser tab - Open proxied service in a new browser window
- Command palette - Access via "Open Proxy Launcher" in the Proxy category
- Keyboard shortcut - Ctrl+Shift+P (Windows/Linux) or Cmd+Shift+P (Mac)
- Programmatic API - Call with arguments to pre-fill dialog values
1. Open command palette (Ctrl+Shift+C / Cmd+Shift+C)
2. Search for "Open Proxy Launcher"
3. Enter port number and optional path suffix
4. Choose whether to open in new browser tab
5. Click "Open"
When calling the command programmatically, the following arguments are supported:
| Argument | Type | Description |
| ----------------------- | ------- | ----------------------------------- |
| default_port | number | Pre-fill port input |
| default_path | string | Pre-fill path suffix input |
| default_newBrowserTab | boolean | Pre-check the browser tab checkbox |
| title | string | Custom title for the JupyterLab tab |
Example:
``typescript`
app.commands.execute('proxy-launcher:open', {
default_port: 8501,
default_path: '/api/docs',
title: 'Streamlit App'
});
- JupyterLab >= 4.0.0
- jupyter-server-proxy
`bash`
pip install jupyterlab_proxy_launcher_command_extension
`bash``
pip uninstall jupyterlab_proxy_launcher_command_extension