Lenny is a free, open source Lending System for Libraries.

docker
for deployment and containerizationnginx
handles patron requests (reverse proxy to app)FastAPI
(python) as the web & API microframeworkMinio
API for storing digital assets (Amazon, Internet Archive, or local flat-file)yaml
for configuring library-level rulespostgres
for the databaseSQLAlchemy
for the database pythonORM
- Readium
LCP
for DRM; see LCP Server - Readium Web SDK for a secure web reading experience
OPDS
RSS-like standard for syndicating holdings
/v{1}/api
/v{1}/manage
/v{1}/read
/v{1}/opds
/v{1}/stats
First, copy the file lenny_TEMPLATE.env
to lenny.env
(gitignored) and edit it to have the correct values (such as desired psql credentials).
Second, run docker compose:
docker compose -p lenny up -d --build
Finally, navigate to localhost:8080 or whatever $LENNY_PORT
you specified in your lenny.env
We're seeking partnerships with libraries who would like to try lending digital resources to their patrons.
- Authentication - How does your library perform authentication currently?