Code Monkey home page Code Monkey logo

plutobook's Introduction

🚀 PLUTOBOOK

npm version GitHub last commit

This is a browser-based interactive code-editing notebook that supports both front-end web code (JS/JSX/HTML) and markdown for convenient code documentation.

You can write code and see it transpiled, bundled, and executed instantly in the preview windows.

🌑 Features

  • Lightning fast in-browser JSX transpilation and code bundling utilizing esbuild
  • Built in support for all NPM package imports (client-side packages) thanks to unpkg
  • Your code is rendered instantly in built in <iframe /> preview windows
  • Special built in show(replace_me) function to display items onto the preview window (supports React components, JSX, HTML elements, JS variables)
  • Beautiful user-interface, utilizing Monaco Editor (the same one VSCode uses!) as a code editor
  • Interconnected code between different cells! Your variables defined in one cell can be accessed by any other.

🌎 Getting started

Open up the directory where you want to save your file at and run npx plutobook serve yourFileName.js

Notes: Files are by default served to a port of 4005, you can change this by adding an additional parameter npx plutobook serve yourFileName.js --port=NUM and replacing NUM

🔭 Images

Demo

Special thanks to codepen.io, codesandbox.io, and Stephen Grider's React/TS tutorial for inspiration

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.