{"id":14977165,"url":"https://github.com/shvbsle/react-jupyter-viewer","last_synced_at":"2025-10-28T01:30:35.195Z","repository":{"id":39337296,"uuid":"217072896","full_name":"shvbsle/React-Jupyter-Viewer","owner":"shvbsle","description":"A react component to embed .ipyb notebooks in a blog or something","archived":false,"fork":false,"pushed_at":"2023-01-27T04:33:01.000Z","size":2530,"stargazers_count":62,"open_issues_count":14,"forks_count":20,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-02-01T10:23:04.611Z","etag":null,"topics":["ipython","ipython-notebook","jupyter","jupyter-notebook","npm","react","react-component","react-components","react-native","reactjs"],"latest_commit_sha":null,"homepage":null,"language":"Jupyter Notebook","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/shvbsle.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2019-10-23T14:06:21.000Z","updated_at":"2024-11-30T05:53:45.000Z","dependencies_parsed_at":"2023-02-15T05:30:49.651Z","dependency_job_id":null,"html_url":"https://github.com/shvbsle/React-Jupyter-Viewer","commit_stats":null,"previous_names":["shvbsle/react-jupyter-viewer"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shvbsle%2FReact-Jupyter-Viewer","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shvbsle%2FReact-Jupyter-Viewer/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shvbsle%2FReact-Jupyter-Viewer/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shvbsle%2FReact-Jupyter-Viewer/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/shvbsle","download_url":"https://codeload.github.com/shvbsle/React-Jupyter-Viewer/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":238579176,"owners_count":19495510,"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":["ipython","ipython-notebook","jupyter","jupyter-notebook","npm","react","react-component","react-components","react-native","reactjs"],"created_at":"2024-09-24T13:55:13.698Z","updated_at":"2025-10-28T01:30:34.788Z","avatar_url":"https://github.com/shvbsle.png","language":"Jupyter Notebook","funding_links":[],"categories":[],"sub_categories":[],"readme":"# React-Jupyter-Viewer\n\n## IMPORTANT!!!!\nI'm looking for contributors. I noticed that quite a lot of developers find this tool useful and at the same time I feel guilty that I cannot devote enough time to this project due to personal committments. Please reachout in case anyone wants to contribute!\n\nJoin the following Slack Workspace for any queries:\n\nhttps://join.slack.com/t/reactjupytern-0nc7370/shared_invite/zt-140lhgtlg-HaVJNl5OTEdeK1ZomArVZA\n\n\n\n### Use jupyter notebooks as a blog\nThe only reason why I am creating this component is to be able to publish my .ipynb notebooks on my GitHub pages as blog post. I have too many notebooks lying around with my programming notes.  I'm too lazy to boot a ipython kernel to view one of my notebooks. Hence, this component.\n\nI like the default notebook viewer provided by github but there are a few features that would make it more usable for me, which are mostly these: **downloading it as a PDF, dark mode, mobile-enabled view and ability to publish my notebooks as blogs**\n\nDrop me a message if anyone wanna contribute.\n\n![alt text](/static/SupportCoverImages.png \"Desktop\")\n\n(cover image src: https://notionpress.com/blog/wp-content/uploads/2018/06/Cover-design.png)\n\n### Feature Roadmap\n\n* [X] Load from local file\n* [X] Load from URL\n* [X] Code blocks\n* [X] Render markdown blocks\n* [X] Render image blocks\n* [X] Render Error blocks\n* [X] Add tags to distinguish outputs\n* [X] Cell block numbering\n* [X] Header Tab (Showing name of notebook and date etc.)\n* [X] Hide code execution number (toggle)\n* [X] Theme Toggle\n* [X] Markdown Dark Theme\n* [X] Resolve Relative Markdown sources for images\n* [ ] Split as A4 size pages\n* [ ] Side-by-side view\n* [ ] Download notebook as pdf (will have to enable wordwrap while downloading it as pdf)\n* [ ] text/html code block parser\n* [ ] Markdown based index\n\n----\n\n#### Desirable Props\n\nprop     | priority | description\n---------|----------|-------------\nfile     | Critical | Load a file from storage  \nurl      | Critical | Load a file from storage\ntheme    | good to have| Change from dark to light\nblog title| Critical | Title for the blog.\nblog cover|good to have| An option to put in cover pic for your blog\n\n---\n\n### Usage\nNote that the notebook URL must be the raw_notebook url on github. Click on the 'raw' button in github notebook preview to get the raw source.\n\n```javascript\nimport React from 'react';\nimport './App.css';\nimport JupViewer from './JupViewer'\n\nconst ipynb = require('./BenchmarkNotebook.ipynb')\n\nclass App extends React.Component {\n  render() {\n    return (\n      \u003cdiv className=\"App\"\u003e\n        \u003cJupViewer\n          title=\"Jupyter as a Blog!\"\n          subtitle=\"I've always wanted to publish my jupyter notebooks as blogs. Finally I can.\"\n          coverImg=\"https://notionpress.com/blog/wp-content/uploads/2018/06/Cover-design.png\"\n          // file={ipynb} \n          file=\"https://raw.githubusercontent.com/jakevdp/PythonDataScienceHandbook/master/notebooks/00.00-Preface.ipynb\"\n        /\u003e\n      \u003c/div\u003e\n    )\n  }\n}\n\nexport default App;\n\n```\n---\n\n### Desktop Preview\n![alt text](/static/JupAsBlogDesk.png \"Desktop\")\n\n\n\n### Mobile Preview with theme toggle\nDark|Light\n----|----\n![alt text](/static/../static/JupDarkMobile.png \"Mobile\")|![alt text](/static/../static/LightThemeMobile.png \"Mobile\")\n\n\n---\n\n### Dependencies\n* react-ace\n* react-markdown\n* antd (UI lib cuz I'm too lazy)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fshvbsle%2Freact-jupyter-viewer","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fshvbsle%2Freact-jupyter-viewer","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fshvbsle%2Freact-jupyter-viewer/lists"}