The reading room
-
Fast, fun and light
One small container, built from the ground up in Rust and SvelteKit, idling at around 30 MB of memory. Everything answers at once, search and filters included, which makes tidying your library oddly enjoyable.
-
Made for e-readers
EPUB is the first-class citizen here: every file gets a health check on upload, what can be mended is mended, missing details come from Open Library, and title, author, series and cover are written back into the file. Kobo sync, KOReader sync and OPDS are part of the core, and highlights and notes on a Kobo sync both ways.
-
A reader built in
A full-featured EPUB reader comes with it. Themes, typefaces and margins to taste, highlights and notes, search inside the book, words looked up in Wiktionary, and reading aloud with the voices your device already has. PDF files and comics open in the browser too, a PDF with highlights and notes, a comic a page or a spread at a time.
-
Bonvenon, esperantistoj
Legejo is Esperanto for a place where one reads, and it speaks the language: a complete Esperanto interface, search that understands the x-system (
cxambrofinds ĉambro), and the manual as La Kuirlibro de Legejo. Before you read a book in Esperanto, learn its words in order of frequency, with their meanings, tick the ones you know and take the rest to Anki; while you read, select a word to look it up in Reta Vortaro. -
Shelves to share
Legejo is made for more than one reader. A shelf can stay private, be shared with users on your instance, or be given to someone elsewhere by a private link: pasted into their Legejo it becomes a shelf there, and it opens in KOReader and other reading apps too.
-
Free, and staying that way
Free software under the AGPL. No paid tier, no store, no ads, no tracking, and what is open stays open.
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.
-
Libraries beyond your own
Reading reaches past your shelves in two ways. Add the OPDS catalog of another library, such as Project Gutenberg, browse and search it from Legejo, and fetch a book with one click. And shelves of free books travel over ActivityPub: they can be followed from other Legejo instances and from Mastodon, so that readers elsewhere find them too.
-
Read your way into a language
Turn on vocabulary, and every book in a language you are learning gets a study list: its words in order of how often they occur, each in its dictionary form with an English meaning. Learn the ones that matter before you start, tick the ones you know, take a level test, and see how much of each book you understand. Esperanto is built in; Spanish, French, German, Dutch, Swahili and more are language packs, installed with one click under Admin → Languages.
-
Uncanny librAIrian
Ask for something to read in your own words, and a language model of your choosing suggests books from your shelves. There is also a read-only MCP server, so that Claude, ChatGPT or another assistant can search your library and read your books.
-
Audiobooks, as podcasts
Drop in a folder of audio files and the book becomes a private podcast feed. Listen in the podcast app you already use; it keeps your place.
Themes
Pigeons come in different colours.
-
Light
White doves of peace.
-
Dark
For the night owl.
-
Zamenhof
For the esperantistoj.
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.
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.
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.