Two pigeons, the Legejo logo

Legejo*

A self-hosted library for your e-books.

Your books, your server, nothing in between. Read EPUBs everywhere — browser, Kobo, KOReader — and share shelves with your reading friends.

Get it on GitHub Run it with Docker

“Reading room” in Esperanto.

The library in Legejo: book covers in a grid, with shelves in the sidebar. The library in Legejo, in the dark design: book covers in a grid, with shelves in the sidebar.

The reading room

The back rooms

The doors back here stay closed until you open them. Legejo likes a good idea, but it likes being simple, fast and uncluttered more: the library and the reading come first, and everything else will always be yours to turn on.

Themes

Pigeons come in different colours.

In your pocket

Legejo is an app for your phone too, with no app store in between. Add it to the home screen and it opens in a window of its own, like any other app. Keep a book on the phone and read it without a network; your place catches up when you are back online.

Legejo on a phone: the library, and a chapter of Alice in Wonderland in the reader. Legejo on a phone, in the dark design: the library, and a chapter of Alice in Wonderland in the reader.

Up in a minute

SQLite is built in, so there is nothing else to set up. PostgreSQL is there if you want it, and an S3 bucket such as Cloudflare R2 for the book files on hosts without a lasting disk.

curl -O https://raw.githubusercontent.com/jularboolean/legejo/main/docker-compose.yml
docker compose up -d

Open http://localhost:3000 and create your account there; mail and the rest are set up on the Admin page. The image is published for amd64 and arm64 as slurvdjur/legejo.

The cover of The Legejo Cookbook

Your library begins with one book: The Legejo Cookbook, the user manual, written as a book of recipes. Read it right there, or download the EPUB first. It is in Esperanto too, as La Kuirlibro de Legejo.

Read the docs