All Projects → ShivBhosale → React-Jupyter-Viewer

ShivBhosale / React-Jupyter-Viewer

Licence: other
A react component to embed .ipyb notebooks in a blog or something

Programming Languages

Jupyter Notebook
11667 projects
javascript
184084 projects - #8 most used programming language
HTML
75241 projects
CSS
56736 projects

Projects that are alternatives of or similar to React-Jupyter-Viewer

Tutorials
CatBoost tutorials repository
Stars: ✭ 563 (+1026%)
Mutual labels:  ipython, ipython-notebook
Telepyth
Telegram notification with IPython magics.
Stars: ✭ 54 (+8%)
Mutual labels:  ipython, ipython-notebook
Nteract
📘 The interactive computing suite for you! ✨
Stars: ✭ 5,713 (+11326%)
Mutual labels:  ipython, react-components
awesome-web-react
🚀 Awesome Web Based React 🚀 Develop online with React!
Stars: ✭ 31 (-38%)
Mutual labels:  react-component, react-components
Ipytracer
📊 Algorithm Visualizer for IPython/Jupyter Notebook
Stars: ✭ 138 (+176%)
Mutual labels:  ipython, ipython-notebook
05 Python Files
Python too supports file handling and allows users to handle files i.e., to read and write files, along with many other file handling options, to operate on files. The concept of file handling has stretched over various other languages, but the implementation is either complicated or lengthy, but like other concepts of Python, this concept here …
Stars: ✭ 163 (+226%)
Mutual labels:  ipython, ipython-notebook
Ansible Jupyterhub
Ansible role to setup jupyterhub server (deprecated)
Stars: ✭ 14 (-72%)
Mutual labels:  ipython, ipython-notebook
Video React
A web video player built for the HTML5 world using React library.
Stars: ✭ 2,227 (+4354%)
Mutual labels:  react-component, react-components
Spark Py Notebooks
Apache Spark & Python (pySpark) tutorials for Big Data Analysis and Machine Learning as IPython / Jupyter notebooks
Stars: ✭ 1,338 (+2576%)
Mutual labels:  ipython, ipython-notebook
Sci Pype
A Machine Learning API with native redis caching and export + import using S3. Analyze entire datasets using an API for building, training, testing, analyzing, extracting, importing, and archiving. This repository can run from a docker container or from the repository.
Stars: ✭ 90 (+80%)
Mutual labels:  ipython, ipython-notebook
nbmerge
A tool to merge / concatenate Jupyter (IPython) notebooks
Stars: ✭ 75 (+50%)
Mutual labels:  ipython, ipython-notebook
Ipywebrtc
WebRTC for Jupyter notebook/lab
Stars: ✭ 171 (+242%)
Mutual labels:  ipython, ipython-notebook
React Native demo
react-native实现网易新闻和美团,实现大部分页面。使用最新的react-navigation等组件,同时支持安卓和iOS设备。
Stars: ✭ 237 (+374%)
Mutual labels:  react-component, react-components
Vscodejupyter
Jupyter for Visual Studio Code
Stars: ✭ 337 (+574%)
Mutual labels:  ipython, ipython-notebook
Yoshino
A themable React component library!Flexible Lightweight PC UI Components built on React! Anyone can generate easily all kinds of themes by it!
Stars: ✭ 216 (+332%)
Mutual labels:  react-component, react-components
Nbstripout
strip output from Jupyter and IPython notebooks
Stars: ✭ 738 (+1376%)
Mutual labels:  ipython, ipython-notebook
React Splitters
React splitter component, written in TypeScript.
Stars: ✭ 127 (+154%)
Mutual labels:  react-component, react-components
React Border Wrapper
A wrapper for placing elements along div borders.
Stars: ✭ 147 (+194%)
Mutual labels:  react-component, react-components
Show ast
An IPython notebook plugin for visualizing ASTs.
Stars: ✭ 76 (+52%)
Mutual labels:  ipython, ipython-notebook
Sqlcell
SQLCell is a magic function for the Jupyter Notebook that executes raw, parallel, parameterized SQL queries with the ability to accept Python values as parameters and assign output data to Python variables while concurrently running Python code. And *much* more.
Stars: ✭ 145 (+190%)
Mutual labels:  ipython, ipython-notebook

React-Jupyter-Viewer

IMPORTANT!!!!

I'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!

Join the following Slack Workspace for any queries:

https://join.slack.com/t/reactjupytern-0nc7370/shared_invite/zt-140lhgtlg-HaVJNl5OTEdeK1ZomArVZA

Use jupyter notebooks as a blog

The 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.

I 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

Drop me a message if anyone wanna contribute.

alt text

(cover image src: https://notionpress.com/blog/wp-content/uploads/2018/06/Cover-design.png)

Feature Roadmap

  • Load from local file
  • Load from URL
  • Code blocks
  • Render markdown blocks
  • Render image blocks
  • Render Error blocks
  • Add tags to distinguish outputs
  • Cell block numbering
  • Header Tab (Showing name of notebook and date etc.)
  • Hide code execution number (toggle)
  • Theme Toggle
  • Markdown Dark Theme
  • Resolve Relative Markdown sources for images
  • Split as A4 size pages
  • Side-by-side view
  • Download notebook as pdf (will have to enable wordwrap while downloading it as pdf)
  • text/html code block parser
  • Markdown based index

Desirable Props

prop priority description
file Critical Load a file from storage
url Critical Load a file from storage
theme good to have Change from dark to light
blog title Critical Title for the blog.
blog cover good to have An option to put in cover pic for your blog

Usage

Note 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.

import React from 'react';
import './App.css';
import JupViewer from './JupViewer'

const ipynb = require('./BenchmarkNotebook.ipynb')

class App extends React.Component {
  render() {
    return (
      <div className="App">
        <JupViewer
          title="Jupyter as a Blog!"
          subtitle="I've always wanted to publish my jupyter notebooks as blogs. Finally I can."
          coverImg="https://notionpress.com/blog/wp-content/uploads/2018/06/Cover-design.png"
          // file={ipynb} 
          file="https://raw.githubusercontent.com/jakevdp/PythonDataScienceHandbook/master/notebooks/00.00-Preface.ipynb"
        />
      </div>
    )
  }
}

export default App;

Desktop Preview

alt text

Mobile Preview with theme toggle

Dark Light
alt text alt text

Dependencies

  • react-ace
  • react-markdown
  • antd (UI lib cuz I'm too lazy)
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].