Hosting Books at Home using Calibre Web
I don't buy DRMed books anymore. I stopped buying books on Kindle and also stopped using Audible. I have been buying only DRM-free eBooks or physical books. I use the FBReader App to read the books. It integrates well with FBReader Book Network to provide sync and backup features using OPDS. FBReader Book Network indirectly uses Google Drive to store ebook files. So I was still dependent on propitiatory Drive and FBReader Network. I wanted a FOSS.
Like my music, I wanted to bring it to my internal network. There is no real need for it to be a public web service. I was looking for a web application that would
- Store and serve DRM-free EPUBs and PDFs
- Supports OPDS
- Highlight and Annotation syncing
Even though it's not 100% there, I deployed Calibre Web recently and started moving my eBooks. I used docker to deploy; it was straightforward, other than setting up metadata.db. It needs a valid Calibre metadata.db from your Desktop Calibre Application setup.
You can use the default one provided if you do not have one. It should be writable. After that, log in and start uploading books.
- I can use EPUB, PDF, and event audio books
- It supports OPDS, <url>/opds is the path, and needs a username and password.
- Currently, I can't sync page numbers, highlights, or annotations.
For now, I export annotations and highlights from my reader applications. I usually sync it to my notes application. Its not ideal but works and its FOSS.