Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre > Related Tools

Notices

Reply
 
Thread Tools Search this Thread
Old 10-14-2025, 02:36 PM   #1
pfx
Junior Member
pfx began at the beginning.
 
Posts: 3
Karma: 10
Join Date: Oct 2025
Device: Boox
Want to Create a web frontend that uses Calibre as backend: Looking for advice

Heyho,

as the title says I am currently working on a project with the aim to provide a modern offline-capable web frontend to read and manage ebooks.
I do plan the following feature set:

* Download books and read them offline
* Sync reading progress and annotations
* Manage Ebook library
* Support multiple users (e.g. scope of family)
* Manage a wishlist and explore books
* Maybe a federated network of recommendations (big maybe, and for later)

The project should be available for self hosting. In the background I want to use Calibre to prevent a lock-in of the user in "my" database. Also, Calibre has a ton of features that the user could still use then.
However, I am looking for advice from somebody who has some knowledge of Calibre and how it stores data - or at least has a gut feeling. I see multiple options for data management and I am researching what would be the best solution, given the above use-cases but assuming that the main use-case will be "Single User - Multi Devices". My ideas would be:

1) Use own database format and just export to Calibre format (most effort, most error prone as there will be separate 2 data schemas)
2) Manage book data with Calibredb, create custom columns to store reading progress, rating etc. per user. Store everything else (e.g. annotations) in datafiles. Could be a lot of custom columns - but will this be a problem?
3) Do everything with CalibreDb + Datafiles, no custom columns - Maybe it could even support the Calibre Content Server using this setup, but probably certain actions (e.g. filtering all books "owned" by a user) would take very long for big libraries. Would definitely require a cache layer.

Are there some opinions?

Thank you for reading
pfx is offline   Reply With Quote
Old 10-14-2025, 03:16 PM   #2
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 45,617
Karma: 28549044
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
Use the JSON api of the calibre content server, this is what the calibre content server's own UI uses.
kovidgoyal is offline   Reply With Quote
Advert
Old 10-14-2025, 04:05 PM   #3
pfx
Junior Member
pfx began at the beginning.
 
Posts: 3
Karma: 10
Join Date: Oct 2025
Device: Boox
Thank you very much! Very good hint

Can I ask two more questions?
1) Will it cause any trouble to have a lot of custom columns or is it fine? Assuming something like 10 users * 10 special columns per user for reading progress, first read, last read, etc. = ~100 custom columns.
2) I read that it is not possible to create custom columns using the calibredb command with a content server as the database needs to refresh, is this still valid? I also didn't find any command in the JSON API. I am asking as this is the only action that is missing to use it for this "generic" use-case like this.

Best regards
pfx
pfx is offline   Reply With Quote
Old 10-14-2025, 10:26 PM   #4
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 45,617
Karma: 28549044
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
1) no

2) no there is no database schema modifying capability in the content server
kovidgoyal is offline   Reply With Quote
Old 10-16-2025, 05:26 PM   #5
pfx
Junior Member
pfx began at the beginning.
 
Posts: 3
Karma: 10
Join Date: Oct 2025
Device: Boox
Thank you very much once again for your help and your work! Have a nice weekend
pfx is offline   Reply With Quote
Advert
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Calibre database backend q4brk Development 8 10-09-2014 06:28 PM
calibre V0.9.41 released, includes new database backend for testing Alexander Turcic Calibre 0 07-28-2013 03:47 AM
NewsBeamer Android App that uses calibre as a backend duluoz Related Tools 6 05-23-2013 09:19 AM
Gtk frontend for Calibre nbdarvin Calibre 6 05-06-2010 01:51 PM
Building calibre backend only? jesse Calibre 2 03-15-2009 06:32 PM


All times are GMT -4. The time now is 12:24 AM.


MobileRead.com is a privately owned, operated and funded community.