Git Product home page Git Product logo

notebook's Introduction

๐Ÿ“• Notebook

Interactive browser development environment for JavaScript

All in one code editor, execution environment, and note-taking app for JavaScript. Quickly try out npm packages, or take and save notes on new JavaScript concepts without the hassle of setting up a development environment. Try it out here!

Notebook

Features

  • Compile and run your JavaScript code directly in the browser
  • Extremely fast bundling with esbuild
  • Easily download and import npm packages by name
  • Utilizes the same editor that powers VS Code
  • Code formatting using Prettier
  • Write notes with a rich text editor
  • Re-arrange code cells and their execution context instantly
  • First-class support for React and JSX
  • Download or upload your notebooks as JSON files
  • Light and dark mode

Technologies

Built using TypeScript, Next.js, React, and Tailwind CSS.

Bundling is done in the browser using the WASM version of esbuild. Packages are fetched with a custom esbuild plugin and then cached in IndexedDB for performance using localForage. Local state is managed using Redux Toolkit with a custom hook to easily get the execution context of the code cells.

UI Components were scaffolded using shadcn/ui. The code editor is @monaco-editor/react, a React wrapper for monaco-editor. The markdown editor is @uiw/react-md-editor.

Todo

  • JSX highlighting
  • Add support for TypeScript
  • Ability to store notebooks in the cloud
  • Public and private notebooks
  • Real-time collaborative editing

Acknowledgements

This project was inspired by and is an extension to the initial project from Stephen Grider's Udemy course React and Typescript: Build a Portfolio Project.

notebook's People

Contributors

mwpryer avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.