Build jupyterlite apps out of repositories
Install from PyPI:
pip install repo2jupyterliteYou can use the repo2jupyterlite command to check out any supported repo
(Git, Dataverse, Figshare, Local filestore, etc) and builds a jupyterlite
installation with jupyter lite build.
repo2jupyterlite https://github.com/yuvipanda/environment.yml requirements-buildYou can serve the requirements-build/ directory now statically, and it should
have the contents of the repo be present!
A simple web app to dynamically build and serve jupyterlite instances.
-
Create a new conda env with required dependencies
mamba env create -n binderlite -f environment.yml -
Install repo2jupyterlite from this repo
pip install -e . -
Use
uvicornto run the web appuvicorn binderlite.run:app