Skip to content

Turn static HTML pages into live documents with Jupyter kernels.

License

Notifications You must be signed in to change notification settings

ouseful-PR/thebe

 
 

Repository files navigation

thebe logo

Thebe: Integrate Jupyter based computation into web apps and static web pages

test launch badge

Note: This readme has been updated for the 0.9.0 release

The previous README for 0.8.x is now located here, or alternatively see the 0.8.x branch.

Important

thebe 0.9.0 is still under development and documentation is work in progress (PRs welcome!)

Thebe is a set of libraries allowing web applications and static web pages to provide interactive computation backed by a Juptyer kernel. It is organized in multiple libraries to allow it to be used flexibly in different web contexts.

Thebe comprises the following packages (located in the packages/ folder in this repo):

  • thebe - a browser bundle providing the same high level functionality found in earlier versions of thebe. Add the js & css bundles to your webpage, along with configuration information and make code cells editable, executable and interactive.
  • thebe-core - a typescript library shipped as esm/cjs/browser-bundle providing access to low level runtime objects and functions for working with Jupyter Servers, Sessions, Notebooks and Cells.
  • thebe-lite - a drop in typescript library shipped as a browser bundle that can be side-loaded alongside thebe-core that adds a jupyterlite server for WASM based kernels.
  • thebe-react - a typescript library providing React hooks and provider components for using thebe-core functionality within React applications.

Documentation

The latest thebe documentation is build using mystmd and is hosted here.

Demos

The demo page from apps/simple are hosted here on github pages which let's you check out the interactivity that the top level thebe library provides along with thebe-lite for JuptyerLite based pyodide kernel access.

Development Setup

For the latest information on setting up a local development environment see CONTRIBUTING.md in this repository.

Legacy information on thebe builds is here

For more information on contributing to thebe, see the thebe contributing documentation although note that

Acknowledgements

thebe was developed as a part of OpenDreamKit – Horizon 2020 European Research Infrastructure project (676541). It is currently stewarded by the Executable Books Project. Additional support was provided by the U.S. Department of Education Open Textbooks Pilot Program funding for the LibreTexts project (P116T180029).

About

Turn static HTML pages into live documents with Jupyter kernels.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Jupyter Notebook 89.5%
  • TypeScript 7.1%
  • HTML 1.9%
  • JavaScript 0.9%
  • CSS 0.3%
  • Python 0.2%
  • Other 0.1%