
Private Ebook Library You Host Yourself
Turn your DRM-free ebooks and PDFs into a private, searchable library on your own computer or home server. Your AI installs a working FastAPI + SQLite app, sets it to local-only or password access, and customizes it: categories, classification rules, AI provider. Covers and metadata come from Google Books; PDF highlights become reading notes. #Productiviteit #Lifestyle
A ready-to-run private library for the DRM-free ebooks and documents you own, installed and customized by your AI.
What it does
You get a working web app and a Skill that tells your AI how to set it up safely and change it:
- Upload or batch-import EPUB, PDF, MOBI, AZW3, TXT, DJVU, FB2, CBZ and more (200 MB per file). Originals stay where they are.
- Automatic metadata: title, author, ISBN, publisher and a cover thumbnail from the Google Books API, with title clean-up and Simplified-to-Traditional Chinese conversion.
- Classification into 17 default categories using layered keyword rules, with optional AI suggestions through your own Gemini or Anthropic API key (rate-limit back-off and fallback built in).
- PDF highlights to notes: highlighted and underlined passages are pulled out of your PDFs; magazine-article PDFs get issue numbers and their own section.
- Search, filters, trash with restore, download stats, an inline PDF viewer, and for a household: comments, emoji reactions and a shared to-read / to-buy list.
- Private by default: it listens only on your own computer. Household access requires a password, and there is no anonymous public mode.
Who it's for
Readers with a folder of DRM-free purchases, public-domain classics and their own papers who want one tidy, searchable shelf on their own computer, NAS or home server, without a cloud service.
How it works
- Your AI asks four things: OS, where it runs, just you or a household, and whether you have an AI key.
- It copies the app, creates a Python virtual environment, writes the settings file and starts the server.
- It checks the homepage and API, uploads a public-domain test book and confirms it's listed.
- It imports your folder (dry run first) and shows you how to start, stop and back up.
- Later requests: new categories, keyword rules, a different AI model, English UI strings or a new feature, each compile-checked and verified.
What you provide / what you get
You provide: a computer with Python 3, your own ebook files, optionally a Gemini or Anthropic API key.
You get: the full app source (FastAPI, SQLite, no-build React page, batch import script, start script), an architecture guide with known gotchas, and a hosting checklist your AI reads before anything leaves localhost.
Example requests
- "Set up my ebook library on this Mac, just for me, and import ~/Books/DRM-free."
- "Let my family use it on our home Wi-Fi with a password, and add a 'Poetry' category."
Requirements
Python 3.10+ (tested on 3.13), macOS, Linux or Windows. Internet for Google Books metadata and the page's CDN scripts. An AI API key is optional; a ChatGPT or Claude subscription is not an API key.
Limits
- For files you have the right to store. No DRM removal or conversion of protected files, and no public or anonymous sharing.
- One shared login for a household, not per-user accounts.
- The interface and keyword rules are Traditional-Chinese-first. Your AI can translate the UI.
- It opens PDFs in the browser; other formats download to your own reader app.
- The hosting checklist is practical guidance, not legal advice.


