{"id":19623127,"url":"https://github.com/robostack/jupyterlab-novnc","last_synced_at":"2025-04-28T04:31:37.437Z","repository":{"id":62573411,"uuid":"376032801","full_name":"RoboStack/jupyterlab-novnc","owner":"RoboStack","description":null,"archived":false,"fork":false,"pushed_at":"2021-07-05T07:38:50.000Z","size":7819,"stargazers_count":9,"open_issues_count":3,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-19T22:38:17.442Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/RoboStack.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2021-06-11T13:23:17.000Z","updated_at":"2024-09-21T13:35:16.000Z","dependencies_parsed_at":"2022-11-03T18:31:27.018Z","dependency_job_id":null,"html_url":"https://github.com/RoboStack/jupyterlab-novnc","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RoboStack%2Fjupyterlab-novnc","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RoboStack%2Fjupyterlab-novnc/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RoboStack%2Fjupyterlab-novnc/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RoboStack%2Fjupyterlab-novnc/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/RoboStack","download_url":"https://codeload.github.com/RoboStack/jupyterlab-novnc/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":251252108,"owners_count":21559730,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-11T11:31:52.621Z","updated_at":"2025-04-28T04:31:36.124Z","avatar_url":"https://github.com/RoboStack.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# jupyterlab-novnc\n\n![Github Actions Status](https://github.com/robostack/jupyterlab-novnc/workflows/Build/badge.svg)[![Binder](https://mybinder.org/badge_logo.svg)](https://mybinder.org/v2/gh/robostack/jupyterlab-novnc/main?urlpath=lab)\n\n![jupyterlab-novnc viewer running](docs/assets/screenshot.png)\n\nThis package adds a novnc viewer to JupyterLab. It's a simple extension that just runs noVNC in an iframe.\n\nYou can configure noVNC connections in the settings panel. You probably want to configure at least `host` and `port`. Additionally you can add a name to your connection to make it easier to find. \n\nThis extension is composed of a Python package named `jupyterlab-novnc`\nfor the server extension and a NPM package named `jupyterlab-novnc`\nfor the frontend extension.\n\n\u003cdiv\u003eIcons made by \u003ca href=\"https://www.flaticon.com/authors/smartline\" title=\"Smartline\"\u003eSmartline\u003c/a\u003e from \u003ca href=\"https://www.flaticon.com/\" title=\"Flaticon\"\u003ewww.flaticon.com\u003c/a\u003e\u003c/div\u003e\n\n### Settings\n\nYou need to open the Advanced Settings menu of JupyterLab and configure jupyterlab-novnc. Add your desired configurations to the \"configured_endpoints\" setting as a list.\n\nAfter configuration is done, you'll have one icon per configured endpoint:\n\n![Icons showing up in JupyterLab](docs/assets/icons_in_jlab.png)\n\nThe noVNC panel can also be opened from the command pallet.\n\nFor example:\n\n```\n{\n    \"configured_endpoints\": [\n    {\n        \"name\": \"Robot\",\n        \"host\": \"localhost\",\n        \"port\": 6080,\n        \"resize\": \"scale\",\n        \"password\": \"mycrazycomplicatedpassword\"\n    },\n    {\n      ...\n    }\n}\n```\n\nAllowed settings values for each item are:\n\n```ts\n{\n  name: string; // optional name, otherwise host is used\n  // autoconnect - Automatically connect as soon as the page has finished loading.\n  autoconnect: boolean;\n  // reconnect - If noVNC should automatically reconnect if the connection is dropped.\n  reconnect: boolean;\n  // reconnect_delay - How long to wait in milliseconds before attempting to reconnect.\n  reconnect_delay: number;\n  // host - The WebSocket host to connect to.\n  host: string;\n  // port - The WebSocket port to connect to.\n  port: number;\n  // encrypt - If TLS should be used for the WebSocket connection.\n  encrypt?: boolean;\n  // path - The WebSocket path to use.\n  path?: string;\n  // password - The password sent to the server, if required.\n  password?: string;\n  // repeaterID - The repeater ID to use if a VNC repeater is detected.\n  repeaterID?: string;\n  // shared - If other VNC clients should be disconnected when noVNC connects.\n  shared?: boolean;\n  // bell - If the keyboard bell should be enabled or not.\n  bell?: boolean;\n  // view_only - If the remote session should be in non-interactive mode.\n  view_only?: boolean;\n  // view_clip - If the remote session should be clipped or use scrollbars if it cannot fit in the browser.\n  view_clip?: boolean;\n  // resize - How to resize the remote session if it is not the same size as the browser window. Can be one of off, scale and remote.\n  resize?: \"off\" | \"scale\" | \"remote\";\n  // quality - The session JPEG quality level. Can be 0 to 9.\n  quality?: number;\n  // compression - The session compression level. Can be 0 to 9.\n  compression?: number;\n  // show_dot - If a dot cursor should be shown when the remote server provides no local cursor, or provides a fully-transparent (invisible) cursor.\n  show_dot?: boolean;\n  // logging - The console log level. Can be one of error, warn, info or debug.\n  logging?: \"error\" | \"warn\" | \"info\" | \"debug\";\n}\n```\n\n## Requirements\n\n* JupyterLab \u003e= 3.0\n\n## Install\n\n```bash\npip install jupyterlab-novnc\n```\n\n\n## Troubleshoot\n\nIf you are seeing the frontend extension, but it is not working, check\nthat the server extension is enabled:\n\n```bash\njupyter server extension list\n```\n\nIf the server extension is installed and enabled, but you are not seeing\nthe frontend extension, check the frontend extension is installed:\n\n```bash\njupyter labextension list\n```\n\n\n## Contributing\n\n### Development install\n\nNote: You will need NodeJS to build the extension package.\n\nThe `jlpm` command is JupyterLab's pinned version of\n[yarn](https://yarnpkg.com/) that is installed with JupyterLab. You may use\n`yarn` or `npm` in lieu of `jlpm` below.\n\n```bash\n# Clone the repo to your local environment\n# Change directory to the jupyterlab_novnc directory\n# Install package in development mode\npip install -e .\n# Link your development version of the extension with JupyterLab\njupyter labextension develop . --overwrite\n# If using a server extension, it must be manually installed in develop mode\njupyter server extension enable \u003cextension_name\u003e\n# Rebuild extension Typescript source after making changes\njlpm run build\n```\n\nYou can watch the source directory and run JupyterLab at the same time in different terminals to watch for changes in the extension's source and automatically rebuild the extension.\n\n```bash\n# Watch the source directory in one terminal, automatically rebuilding when needed\njlpm run watch\n# Run JupyterLab in another terminal\njupyter lab\n```\n\nWith the watch command running, every saved change will immediately be built locally and available in your running JupyterLab. Refresh JupyterLab to load the change in your browser (you may need to wait several seconds for the extension to be rebuilt).\n\nBy default, the `jlpm run build` command generates the source maps for this extension to make it easier to debug using the browser dev tools. To also generate source maps for the JupyterLab core extensions, you can run the following command:\n\n```bash\njupyter lab build --minimize=False\n```\n\n### Uninstall\n\n```bash\npip uninstall jupyterlab_novnc\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frobostack%2Fjupyterlab-novnc","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frobostack%2Fjupyterlab-novnc","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frobostack%2Fjupyterlab-novnc/lists"}