Skip to main content
Himesh Dua

LibreBooks - Free Book Library & Reader

Oct 2025 – Jan 2026

LibreBooks
Tech Stack

Web App·PWA·Next.js·Supabase·IndexedDB

Open Knowledge, Built for Speed

LibreBooks is a free and open digital library that lets users browse, search, and read thousands of public-domain books from the Project Gutenberg ecosystem via the Gutendex API. The product prioritizes fast discovery, clean typography, and a distraction-free reading experience.

Modern Frontend with Persistent Caching

The frontend is built with Next.js 16 using React's cache utilities for deduplicated queries and predictable data access. Fetched book data is persisted using IndexedDB via idb-keyval, enabling instant reloads and near-offline performance once a book has been opened.

Auth & Backend Infrastructure

Authentication and favorites are handled by Supabase: signed-in readers can favorite a book, and the favorite is stored in a database table. Reading position is saved per book in the browser, so it stays on the device and does not sync between devices. The UI is built with Tailwind CSS and ShadCN UI.

Crafted byHimesh Dua
GitHubHimeshDua
Deployed onVercel
StackNext.js · TypeScript · Tailwind CSS
LicenseMIT License