Build jupyterlite apps out of repositories
Install from PyPI:
pip install repo2jupyterlite
You 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-build
You 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
uvicorn
to run the web appuvicorn binderlite.run:app