Lenny is a free, open-source plug-and-play digital library lending system connected to Open Library. Inspired by the neighborhood “Little Free Libraries” movement, Lenny enables any library, archive, community, or individual to install their own instance on their servers, store and own their own EPUB copies on the internet, and share them via OPDS 2.0 feeds — freeing institutions from subscription-based commercial lending systems.
History
[edit]Lenny was co-created from scratch by Roni Bhakta with his mentor Michael E. Karpeles (Mek), Program Lead of Open Library at the Internet Archive, during Roni's 2025 Google Summer of Code fellowship under ArchiveLabs. During its inception, Roni built a one-step installation script (lennyforlibraries.org/install.sh) that ships with 800+ free open-access ebooks preloaded for instant deployment, bringing sidewalk libraries online globally.
Ongoing work on Lenny is supported by BRIET (briet.app) and The Brick House Cooperative, led by journalist and information activist Maria Bustillos. Working closely with Maria Bustillos as a consultant and as Lenny Ecosystem Lead, Roni demos Lenny instances to partner libraries, installs them on their servers, and directly engineers briet.app with the BRIET team to connect libraries to adopt Lenny.
Philosophy
[edit]Lenny is built on the belief that libraries should own their digital books and infrastructure rather than being forced into expensive, subscription-based commercial lending platforms where access disappears if a subscription lapses. By connecting to Open Library and exposing standard OPDS 2.0 feeds, Lenny lets libraries store their own EPUBs and participate in an open, federated network of digital collections.
Deployment options
[edit]Lenny offers three primary deployment modes tailored to different library needs:
- Self-Hosted: Runs as a Docker stack on a library's own Linux servers with full ownership of EPUB files and native Open Library metadata integration.
- Plug & Play: Pre-installed on compact hardware (such as a Raspberry Pi) for schools or community libraries to run offline-ready local lending hubs.
- Hosted: A managed cloud instance with a web administration dashboard for zero-maintenance library operations.
Features
[edit]- Open Library & OPDS 2.0 Integration: Connects directly to Open Library for book metadata and generates standard OPDS 2.0 catalog feeds compatible with reader.archive.org and Thorium Reader.
- Single Sign-On & Patron Authentication: Supports OAuth 2.0 for reading apps, external identity providers, Internet Archive sign-in, and email one-time passcodes.
- Librarian Dashboard & BRIET Support: Includes the Lenny Admin Console for team permissions, bulk EPUB uploads, and BRIET ebook voucher redemption.
Architecture
[edit]Lenny is a containerized stack orchestrated with Docker. Backend services are written in Python using FastAPI and SQLAlchemy backed by PostgreSQL and Garage S3 object storage, while the administration dashboard is built with Next.js, React, TypeScript, and TurboRepo.