A lightweight, Flask-powered ebook server specifically designed for legacy devices, such as the iPad Mini 1.
LegacyLibrary provides a simple way to host, manage, and download your personal EPUB and PDF collection via a local network, featuring a lightweight early-2010s inspired interface.
LegacyLibrary acts as a central hub for your digital library, allowing you to bypass the lack of modern cloud app support (like Google Drive or Dropbox) on older hardware:
- Host: Run the server on your main computer.
- Upload: Access the web interface from a modern device (PC, Mac, or Smartphone) to upload your
.epubor.pdffiles. - Sync: The server automatically processes metadata and prepares the files.
- Enjoy: Open the site on your legacy device, download the books, and read them offline!
- Optimized for Legacy Browsers: Clean HTML/CSS using floats and standard JS that renders perfectly on older versions of Safari.
- Automated Metadata Extraction: Automatically extracts book covers from EPUB files using Python's
EbookLibandPillow. - Easy Management
- Custom styled upload buttons
- Inline title editing
- Quick download workflow
- Privacy First: Built to be hosted locally; your library stays on your private network.
- Python 3.x
pip(Python package manager)
- Clone the repository:
git clone [https://github.com/lauar-m/LegacyLibrary.git](https://github.com/lauar-m/LegacyLibrary.git) cd LegacyLibrary - Set up a Virtual Environment:
python -m venv venv
Activate it:
On Windows:
venv\Scripts\activateOn macOS/Linux:
source venv/bin/activate- Install dependencies inside the venv:
pip install Flask EbookLib Pillow
- Run the server:
To make it accessible to your iPad over Wi-Fi, run:
python app.py
Note: Ensure your computer and iPad are on the same Wi-Fi network. Access the server using http://:5000.
- Navigate to the server IP.
- Click "Choose File" and select your books.
- Click "Upload to Shelf". The book is now hosted on your local "cloud".
- Open Safari on your legacy iPad or similar app.
- Navigate to your server's IP address.
- Click the Download button.
- When the file opens, select Open in iBooks to save it permanently.
- Pro Tip: Use the "Add to Home Screen" option in Safari to use LegacyLibrary as a standalone app!
- EPUB upload and download
- Automatic EPUB cover extraction
- EPUB metadata extraction
- Dark mode
- OPDS support
This project was born out of the need to give new life to old hardware. If you have ideas for improving performance on legacy browsers or adding new features, feel free to open an issue or submit a pull request.
Developed with ❤️ by Malu Lauar to keep the joy of reading alive on every device.