LupBook: a Free and Accessible Interactive Textbook Framework

LupLab @UC Davis

Motivation

Interactive textbooks are valuable tools when teaching programming languages. However, existing solutions typically require a server to execute code interactively, which can be costly for either writers or readers. LupBook addresses this issue by providing a new framework that runs entirely on the clients’ side, functioning offline and offering a truly free interactive textbook experience.

Demo

You can get access to the latest build here: https://gitlab.com/luplab/lupbook/pandoc-lupbook/-/jobs/artifacts/main/file/build/book.html?job=build. You’ll need to click on the provided link in order to run the interactive textbook in your browser.

Source code

LupBook’s code base is available at: https://gitlab.com/luplab/lupbook. There are two main pieces in LupBook: