{"id":16282459,"url":"https://github.com/jtpio/jupyterlab-iframe-bridge-example","last_synced_at":"2025-04-08T21:19:26.906Z","repository":{"id":142164818,"uuid":"579484010","full_name":"jtpio/jupyterlab-iframe-bridge-example","owner":"jtpio","description":"An example bridge extension to demo passing messages between a host page and JupyterLab running in an IFrame.","archived":false,"fork":false,"pushed_at":"2022-12-17T21:16:46.000Z","size":129,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-02-14T16:50:31.454Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://jtpio.github.io/jupyterlab-iframe-bridge-example/","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/jtpio.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-12-17T21:05:34.000Z","updated_at":"2023-01-31T19:43:38.000Z","dependencies_parsed_at":null,"dependency_job_id":"b558e60d-7d32-414c-9652-86e3d5535056","html_url":"https://github.com/jtpio/jupyterlab-iframe-bridge-example","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jtpio%2Fjupyterlab-iframe-bridge-example","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jtpio%2Fjupyterlab-iframe-bridge-example/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jtpio%2Fjupyterlab-iframe-bridge-example/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jtpio%2Fjupyterlab-iframe-bridge-example/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jtpio","download_url":"https://codeload.github.com/jtpio/jupyterlab-iframe-bridge-example/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247927406,"owners_count":21019526,"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-10-10T19:10:44.321Z","updated_at":"2025-04-08T21:19:26.874Z","avatar_url":"https://github.com/jtpio.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# jupyterlab-iframe-bridge-example\n\n[![Github Actions Status](https://github.com/jtpio/jupyterlab-iframe-bridge-example/workflows/Build/badge.svg)](https://github.com/jtpio/jupyterlab-iframe-bridge-example/actions/workflows/build.yml)\n\nAn example bridge extension to demo passing messages between a host page and JupyterLab running in an IFrame.\n\n⚠️ This is an example extension for demo purposes only.\n\n![image](https://user-images.githubusercontent.com/591645/208265862-2a3bed60-8719-4860-9400-42f551da520d.png)\n\n## Requirements\n\n- JupyterLab \u003e= 3.0\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# Install package in development mode\npip install -e .\n# Link your development version of the extension with JupyterLab\njupyter labextension develop . --overwrite\n# Rebuild extension Typescript source after making changes\njlpm 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\njlpm watch\n```\n\n### Usage\n\nBuild a new JupyterLite site:\n\n```bash\ncd examples\njupyter lite build --output-dir lite\n\n# start a local server\npython -m http.server\n```\n\nThen go to http://localhost:8000/examples.\n\n## Development uninstall\n\n```bash\npip uninstall jupyterlab_iframe_bridge_example\n```\n\nIn development mode, you will also need to remove the symlink created by `jupyter labextension develop`\ncommand. To find its location, you can run `jupyter labextension list` to figure out where the `labextensions`\nfolder is located. Then you can remove the symlink named `jupyterlab-iframe-bridge-example` within that folder.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjtpio%2Fjupyterlab-iframe-bridge-example","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjtpio%2Fjupyterlab-iframe-bridge-example","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjtpio%2Fjupyterlab-iframe-bridge-example/lists"}