{"id":20971093,"url":"https://github.com/datalayer/jupyter-viewer","last_synced_at":"2025-05-14T11:33:46.026Z","repository":{"id":187620502,"uuid":"669832571","full_name":"datalayer/jupyter-viewer","owner":"datalayer","description":"🪐 👀 Serverless Jupyter Notebook viewer aka NbViewer in pure React.js.","archived":false,"fork":false,"pushed_at":"2025-04-14T16:55:08.000Z","size":241,"stargazers_count":16,"open_issues_count":5,"forks_count":2,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-04-14T17:55:43.000Z","etag":null,"topics":["jupyter","notebook","reactjs","viewer"],"latest_commit_sha":null,"homepage":"https://viewer.datalayer.tech","language":"TypeScript","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/datalayer.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},"funding":{"github":["datalayer"]}},"created_at":"2023-07-23T15:18:19.000Z","updated_at":"2025-04-09T10:26:07.000Z","dependencies_parsed_at":"2024-01-03T10:46:01.381Z","dependency_job_id":"fccba22f-11b1-4526-b220-f8c8dcd3ba2c","html_url":"https://github.com/datalayer/jupyter-viewer","commit_stats":null,"previous_names":["datalayer/jupyter-viewer"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/datalayer%2Fjupyter-viewer","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/datalayer%2Fjupyter-viewer/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/datalayer%2Fjupyter-viewer/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/datalayer%2Fjupyter-viewer/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/datalayer","download_url":"https://codeload.github.com/datalayer/jupyter-viewer/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254131899,"owners_count":22020040,"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":["jupyter","notebook","reactjs","viewer"],"created_at":"2024-11-19T04:00:50.545Z","updated_at":"2025-05-14T11:33:45.406Z","avatar_url":"https://github.com/datalayer.png","language":"TypeScript","funding_links":["https://github.com/sponsors/datalayer"],"categories":[],"sub_categories":[],"readme":"[![Datalayer](https://assets.datalayer.tech/datalayer-25.svg)](https://datalayer.io)\n\n[![Become a Sponsor](https://img.shields.io/static/v1?label=Become%20a%20Sponsor\u0026message=%E2%9D%A4\u0026logo=GitHub\u0026style=flat\u0026color=1ABC9C)](https://github.com/sponsors/datalayer)\n\n# 🪐 👀 Jupyter Viewer\n\n\u003e A revisited [NbViewer](https://nbviewer.org) as a modern Web application to view Jupyter notebooks.\n\n[NbViewer](https://nbviewer.org) is built on top of the [GitHub nbviewer repository](https://github.com/jupyter/nbviewer) and has been useful for many data scientists since years.\n\nJupyter Viewer takes over the concept of easy visualisation and brings it to the Web application developers with React.js components to render Notebooks without any Kernel. It is also available as JupyterLab extension.\n\nYou can try on \u003ca href=\"https://viewer.datalayer.tech\" target=\"_blank\"\u003ehttps://viewer.datalayer.tech\u003c/a\u003e.\n\nThe documentation lives on \u003ca href=\"https://jupyter-viewer.datalayer.tech\" target=\"_blank\"\u003ehttps://jupyter-viewer.datalayer.tech\u003c/a\u003e.\n\nIf needed, Users can connect the static view to a Kernel and make it executable.\n\n## Usage\n\nThis repository packages the [Jupyter UI Viewer](https://jupyter-ui.datalayer.tech/docs/components/viewer) component as a JupyterLab extension. Install and launch with the following commands (you will need Python installed on your machine).\n\n```bash\npip install jupyter_viewer\njupyter viewer\n```\n\nAfter launching, enjoy the 👀 views on http://localhost:8888/jupyter_viewer (served by Jupyter).\n\n\u003cdiv align=\"center\" style=\"text-align: center\"\u003e\n  \u003cimg alt=\"Jupyter Viewer\" src=\"https://datalayer-jupyter-examples.s3.amazonaws.com/jupyter-viewer.gif\" /\u003e\n\u003c/div\u003e\n\nYou can view a Notebook hosted on GitHub using the following pattern: `http://localhost:8888/github/{account}/{repo}/{branch}/{path}`\n\n```bash\n# For example...\nopen http://localhost:8888/jupyter_viewer/github/datalayer/examples/main/pytorch-gpu/pytorch-gpu-example.ipynb\n```\n\n## Develop\n\nDevelop the Web application.\n\n```bash\nyarn\nyarn start\n```\n\n```bash\n# Browse the Webpack server.\nopen http://localhost:3063\nopen http://localhost:3063/github/datalayer/examples/main/pytorch-gpu/pytorch-gpu-example.ipynb\n```\n\nDevelop the Jupyter Server\n\n```bash\npip install -e .[test]\njupyter viewer\n```\n\nBrowse the Jupyter Server.\n\n```bash\nopen http://localhost:8888/jupyter_viewer\nopen http://localhost:8888/jupyter_viewer/github/datalayer/examples/main/pytorch-gpu/pytorch-gpu-example.ipynb\n```\n\nDevelop the JupyterLab extension.\n\n```bash\npip install -e .[test]\njupyter labextension develop . --overwrite\njupyter labextension list\njupyter server extension list\nyarn jupyterlab\n```\n\n```bash\n# Browse JupyterLab.\nopen http://localhost:8888\n```\n\n## Publish\n\n```bash\nmake publish\nopen https://viewer.datalayer.tech\nopen https://viewer.datalayer.tech/github/datalayer/examples/main/pytorch-gpu/pytorch-gpu-example.ipynb\n```\n\n## Releases\n\nJupyter Viewer is released as a python package in [PyPI](https://pypi.org/project/jupyter-viewer).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdatalayer%2Fjupyter-viewer","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdatalayer%2Fjupyter-viewer","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdatalayer%2Fjupyter-viewer/lists"}