Skip to content

ArchiveLabs/lenny

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Lenny

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

Technologies

  • docker for deployment and containerization
  • nginx handles patron requests (reverse proxy to app)
  • FastAPI (python) as the web & API microframework
  • Minio API for storing digital assets (Amazon, Internet Archive, or local flat-file)
  • yaml for configuring library-level rules
  • postgres for the database
  • SQLAlchemy for the database python ORM
  • Readium LCP for DRM; see LCP Server
  • Readium Web SDK for a secure web reading experience
  • OPDS RSS-like standard for syndicating holdings

Endpoints

  • /v{1}/api
  • /v{1}/manage
  • /v{1}/read
  • /v{1}/opds
  • /v{1}/stats

Installation

docker/configure.sh  # generates lenny.env
docker compose -p lenny up -d --build

Navigate to localhost:8080 or whatever $LENNY_PORT you specified in your lenny.env

You may enter the API container via:

docker exec -it lenny_api bash

Rebuilding

docker compose -p lenny down
docker compose -p lenny up -d --build

Pilot

We're seeking partnerships with libraries who would like to try lending digital resources to their patrons.

Open Topics

  • Authentication - How does your library perform authentication currently?

About

An open source set of Lending APIs

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •