Lenny

Lend ebooks from your own libraryserver, in any browser.

Lenny is free, open-source software for libraries to own, catalog and lend digital books. Readers sign in with Open Library and read in the browser, no app needed.Free and open source. A Library-in-a-Box from the team behind Open Library.
Dashboard
Recently added
Loans this week+18%
M
T
W
T
F
S
S
The problem

Libraries should own their digital shelves, not rent access to them.

  • Readers sign in with a free Open Library login or your OAuth. Lenny keeps only one-way hashes of emails, so they can't be recovered.reader@…9f2c…a71e
Your Lenny · everyone connects here
Readersborrow free, stay private
Reader appsone feed, every app
Open Libraryfinds your books
Publisherssold once, kept
Your teamyour rules, no fees
Step 1 · Stock your shelf

Three ways to fill the shelf. All in one place.

Add public-domain classics in one click, upload EPUBs you own, or redeem Phoenix Bookmarket purchase codes. Open Library fills in each record, and you approve every import.
3 selected · records from Open Library
Step 2 · Publish once

Every reader app. One catalog.

Lenny publishes your shelf as an OPDS 2.0 feed. Reader apps sync it, and loans follow the rules you set.
Your catalog
WaldenAvailable
DraculaOn loan
The Great GatsbyAvailable
The Time MachineAvailable
Published as an OPDS 2.0 feed/v1/api/opds
Bookserver
DraculaOn loan
The Great GatsbyF. Scott Fitzgerald
The Time MachineH. G. Wells
FrankensteinMary Shelley
How a loan works
https://lenny.yourlibrary.org/v1/api/opds
Open a live feed in the reader demo
Step 3 · Readers borrow

Readers sign in with one login. Then read in any browser.

Readers borrow with a free Open Library login, or the sign-in your library already runs. Books open in Thorium Web, so there is nothing to install.
Open Library loginYour own OAuth / OIDCThorium Web readerNothing to install
lenny.yourlibrary.org/read/a-little-princess
Everything included

A whole library. One server.

Fill the shelf
Standard Ebooksfree classics
Your EPUBsupload
Phoenix Bookmarketpurchase codes
3
ways to fill the shelfMetadata is filled in from Open Library.
Lending
7days
Loans end on their ownUp to 10 loans per reader by default. Change both in your admin, or give one book its own loan length.
Catalog
GET /v1/api/opds
OPDS2.0
Your catalog as a feedReaders browse it in the Internet Archive Bookserver app at your Lenny's address, or in any OPDS 2.0 app.
Works with your setup
One install brings the database and book storage. Sign-in and publishing tools plug in.
Runs on
DockerPostgreSQLGarage S3
Sign-in
Open Library loginOAuth / OIDC
Plugs into
GhostPhoenix Bookmarket
Privacy
reader@example.orgc496…42c6
Emails never storedOnly a one-way hash, made with a key created when you install.
Protection
Coming soon
LCP
Readium LCPSupport for protected, licensed titles.
Reading pass
24hours
Members-only booksPaid members of your Ghost site open members-only books from a post or newsletter. No Lenny account and no loans: each Read gives a 24-hour pass.
Built to last

Built on open standards. Plugs into the tools you run.

Pull a book off the shelf
RReadiumkit
2.0OPDS 2.0feed
AaThorium Web◐
EPUB3.3
OL
Open Library4M
❦Standard Ebooksfree
v1LENNY★
PBPhoenix Bookmarket→
◉Ghost24h
🔑OAuth / OIDCSSO
▦Docker1 cmd
SQLPostgreSQL16
S3Garage S3■
∞ReadersOPDS
soonLCP🔒
c496
Privacyhash
Get started

Install with one command. Lend the same day.

The installer sets up Lenny with PostgreSQL and Garage S3 storage, using sensible defaults.
  1. 01
    Run the commandWorks on Linux and macOS. It needs curl and sudo, and installs Docker if it's missing.
  2. 02
    Answer three questionsEach is yes or no, and you can change them later.
    Preload free classicsLend with Open Library loginList books on Open Library
  3. 03
    Open your adminSign in at /admin as admin, with the password from auth.env. Then add books and set your loan rules.
[+] Docker ready, beginning Lenny install.
[?] Preload standard ebooks? [y/N] y
[?] Enable lending (use openlibrary.org for OTP auth)? [y/N] y
[?] Index your borrowable books in Open Library? [y/N] y
[+] Starting preload step...
[✓] Lenny installation complete!
Admin: open /admin and sign in as 'admin' with ADMIN_PASSWORD from auth.env.
Run it your wayYour server, a plug-in box, or hosted for you.
DockerPostgreSQLGarage S3
Free
Self-hostedBuilt for real servers. Run it on one machine or across a rack, with Docker, PostgreSQL and S3 storage that grow with your collection.
Read the install guide
Ask us
Plug & PlayLenny pre-installed on a small computer. Plug it in and start lending.
Contact us
lenny.yourlibrary.org/admin
Managed for you
Ask us
HostedWe run Lenny for you. You use the web admin.
Contact us

Questions.

What library teams ask before their first install.
Nothing. Lenny is free and open source. You only pay for the server you run it on, or nothing at all if you already have one.
No. Books open in the browser with Thorium Web. Readers who prefer an app can use any OPDS 2.0 app.
On your own server, in the Garage S3 storage that installs with Lenny.
No. Open Library helps readers find your titles. The files and the loans stay on your Lenny.
With a one-time password from a free Open Library account, or with your own OAuth / OIDC provider.
Lenny keeps a one-way hash made with your library’s key, never the email itself.
A Linux server or a Mac, and one command. PostgreSQL and Garage S3 come with it.
Still have a question?Ask the Lenny team on GitHub, or email us if something isn't working.
Built and maintained by
Mek Karpelesmek@archive.org

Your readers are already online. Now, so is your shelf.

Free and open source, from the team behind Open Library.