Lyostar
Ebook Server & Reader
An ultra-lightweight, single-binary, self-hosted ebook server and modern in-browser reading suite. Engineered in Go and Vue 3 with zero external runtime dependencies, idling under 30MB RAM on everything from low-spec cloud VPS nodes to E-Ink displays.
Features Built for Readers & Self-Hosters
A self-hosted reading platform designed to get completely out of your way and run on anything.
Single-Binary Deployment
The entire Vue 3 SPA frontend is embedded directly into the Go binary via embed.FS. Run backend API, database layer, and web UI from one standalone executable with zero runtime dependencies.
Dual In-Browser Ebook Engines
Foliate.js for smooth EPUB reading with customizable fonts, rapid pagination, and high contrast for E-Ink. Mozilla PDF.js integration with Hi-DPI vector rendering and selectable text layers.
Auto Progress Tracking & Resume
Granular reading position synchronization per account (Foliate CFI for EPUBs, exact page indices for PDFs). Automatically updates percentage and resumes from the 'Continue Reading' shelf.
Automated Library Scanner
Monitors local directories (.epub, .pdf), extracts metadata (titles, authors, blurbs), and caches covers via an automatic WebP pipeline. Treats /books as strictly read-only for storage safety.
Role-Based Access & Secure Auth
Built-in multi-user management with Admin and Reader roles. Passwords hashed with bcrypt; session management with 64-character CSPRNG hex tokens delivered via HttpOnly, SameSite=Lax cookies.
Instant Full-Text Search (FTS5)
Direct SQLite FTS5 virtual table integration delivers instant sub-millisecond search across book titles, authors, and series without requiring heavy external search clusters.
Zero-Bloat Architecture
Lyostar discards complex multi-container setups in favor of a clean, robust, single Go binary compiled with an embedded Vue 3 SPA frontend and a zero-CGO SQLite engine.
Ready to self-host your own library?
Run directly from source with a single make command or deploy using Docker: