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 02-26-2026, 11:05 AM   #1
slm
(who/what)
slm ought to be getting tired of karma fortunes by now.slm ought to be getting tired of karma fortunes by now.slm ought to be getting tired of karma fortunes by now.slm ought to be getting tired of karma fortunes by now.slm ought to be getting tired of karma fortunes by now.slm ought to be getting tired of karma fortunes by now.slm ought to be getting tired of karma fortunes by now.slm ought to be getting tired of karma fortunes by now.slm ought to be getting tired of karma fortunes by now.slm ought to be getting tired of karma fortunes by now.slm ought to be getting tired of karma fortunes by now.
 
Posts: 545
Karma: 5338704
Join Date: Feb 2003
Device: Kindle: Voyage,PW1,KOA, Kobo: Clara Colour, Nook GLP, Pocketbook verse
BookSync-a web page to access Calibre Libraries on Dropbox

BookSync is a rough-and-ready solution for accessing your Calibre Libraries stored on Dropbox from the internet. It is a simple web page, accessible from any device with an internet connection and a browser. (But it probably won’t work on most eReader browsers).

BookSync will not work correctly if your Calibre Libraries contain more than 10,000 books.

I am looking for beta testers. You can just go the website to use it: https://books.millmans.us/bluebooks.html If you click on a book title, you will get be a standard book details screen (Title, cover, author, and blurb) with a button to download the epub and/or azw formats, if available.

I wrote BookSync because of the problems people started having with Calibre Sync when Calibre modified its database structure. I was already using a personal program that looks like this one and—except for the way in which it accesses Dropbox--works the same way.

BookSync is a simple web page: it doesn’t collect any information, and it doesn’t need to be “installed” into iOS or Android to run. Although it reads files and folders in your DropBox account, it does not write to them.

Book Sync is fairly robust because it scans the Calibre folder structure, not the database and it uses standard Dropbox APIs to read file and folder data. It should be fairly low-maintenance, thus reducing the risk of becoming obsolete since it doesn’t have to keep up with the changes Apple and Google keep making to their app store requirements or changes Calibre may make to its database structure and it doesn’t need to be side-loaded. In addition, the source code is available to anyone who wants to run it (with necessary changes) from their own server.
It isn’t pretty—see screenshot. It takes about 2 seconds to build the list of my 3500 books. If you have a really big library, BookSync may not be for you. But it provides access from anywhere to the copy of your Calibre libraries you may have on your Dropbox account


A few non-features that don’t count as bugs:
  1. The program shows all your Calibre books, not just the books from a single library. (In fact, it treats any folder that contains a file named “metadata.opf” as containing a book.)
  2. The program gets the book title and author from the folder name. Since Calibre sometimes shortens book or author names when it creates folders (and sometimes changes some characters), this may not be the full title or author.
  3. It doesn’t work with other cloud sync services: I know even less about these than I did about Dropbox. And I don’t have a Calibre library stored on any other cloud service, so I’m not going to try to extend the program to other cloud services. Any one else is welcome to do so, of course.

I am also looking for Beta Fixers. As mentioned, the source code is freely available (3 small files) and it can be run (with a few changes and some adjustments to the Dropbox console) on other servers. My general Javascript knowledge is middling and everything I know about authorizing Dropbox and accessing it through the API, I learned from Google Gemini for this project—some of it wrong. A lot of you can do a better job. I’m not a GitHub member, so send me a private message with an email address if you want the code (or just copy if from the Developer Tools).

I would also be happy to entertain ideas for a better name and an icon.


Last edited by slm; Today at 10:14 AM. Reason: revised program to be faster.
slm is offline   Reply With Quote
Old Yesterday, 08:05 PM   #2
slm
(who/what)
slm ought to be getting tired of karma fortunes by now.slm ought to be getting tired of karma fortunes by now.slm ought to be getting tired of karma fortunes by now.slm ought to be getting tired of karma fortunes by now.slm ought to be getting tired of karma fortunes by now.slm ought to be getting tired of karma fortunes by now.slm ought to be getting tired of karma fortunes by now.slm ought to be getting tired of karma fortunes by now.slm ought to be getting tired of karma fortunes by now.slm ought to be getting tired of karma fortunes by now.slm ought to be getting tired of karma fortunes by now.
 
Posts: 545
Karma: 5338704
Join Date: Feb 2003
Device: Kindle: Voyage,PW1,KOA, Kobo: Clara Colour, Nook GLP, Pocketbook verse
Fixed a stupid choice, now scans all 3500 books in 2 seconds!
(I've changed some of the text in the first post)
slm is offline   Reply With Quote
Old Yesterday, 10:41 PM   #3
Sirtel
Grand Sorcerer
Sirtel ought to be getting tired of karma fortunes by now.Sirtel ought to be getting tired of karma fortunes by now.Sirtel ought to be getting tired of karma fortunes by now.Sirtel ought to be getting tired of karma fortunes by now.Sirtel ought to be getting tired of karma fortunes by now.Sirtel ought to be getting tired of karma fortunes by now.Sirtel ought to be getting tired of karma fortunes by now.Sirtel ought to be getting tired of karma fortunes by now.Sirtel ought to be getting tired of karma fortunes by now.Sirtel ought to be getting tired of karma fortunes by now.Sirtel ought to be getting tired of karma fortunes by now.
 
Sirtel's Avatar
 
Posts: 14,758
Karma: 245110511
Join Date: Jan 2014
Location: Estonia
Device: Kobo Sage & Libra 2
Hmm. For some reason it only shows books from one of my libraries (the largest), but not from others. And filtering seems to be very buggy - when I try to filter by the name of the author, several duplicate entries are displayed and many entries aren't displayed.
Sirtel is online now   Reply With Quote
Old Yesterday, 11:48 PM   #4
slm
(who/what)
slm ought to be getting tired of karma fortunes by now.slm ought to be getting tired of karma fortunes by now.slm ought to be getting tired of karma fortunes by now.slm ought to be getting tired of karma fortunes by now.slm ought to be getting tired of karma fortunes by now.slm ought to be getting tired of karma fortunes by now.slm ought to be getting tired of karma fortunes by now.slm ought to be getting tired of karma fortunes by now.slm ought to be getting tired of karma fortunes by now.slm ought to be getting tired of karma fortunes by now.slm ought to be getting tired of karma fortunes by now.
 
Posts: 545
Karma: 5338704
Join Date: Feb 2003
Device: Kindle: Voyage,PW1,KOA, Kobo: Clara Colour, Nook GLP, Pocketbook verse
Thanks for trying this out.


I can replicate the filtering problem, but it isn't actually the filtering but the file list--for some reason, some books are "found" more than once in the search. This is "supposed" to happen, according to my very limited understanding.
I'm trying to figure out why is does.

As to missing your other library, a couple of questions may help:
1. how may books are in each library?
2. Can you open the folder for one of the books in the library that was missed and check that that folder does in fact contain a file whose name is "metadata.opf" (I can't imaging why it wouldn't but that is what the program searches for).
3. Finally, what OS are you on and what Browser? (Neither of these should matter, but it might be a place to start)
slm is offline   Reply With Quote
Old Yesterday, 11:59 PM   #5
Sirtel
Grand Sorcerer
Sirtel ought to be getting tired of karma fortunes by now.Sirtel ought to be getting tired of karma fortunes by now.Sirtel ought to be getting tired of karma fortunes by now.Sirtel ought to be getting tired of karma fortunes by now.Sirtel ought to be getting tired of karma fortunes by now.Sirtel ought to be getting tired of karma fortunes by now.Sirtel ought to be getting tired of karma fortunes by now.Sirtel ought to be getting tired of karma fortunes by now.Sirtel ought to be getting tired of karma fortunes by now.Sirtel ought to be getting tired of karma fortunes by now.Sirtel ought to be getting tired of karma fortunes by now.
 
Sirtel's Avatar
 
Posts: 14,758
Karma: 245110511
Join Date: Jan 2014
Location: Estonia
Device: Kobo Sage & Libra 2
You mean metadata.db, I think? Yes, they all have it. And all the books have metadata.opf files as well.

The largest is over 35 000 books and alphabetically the first one. The other two (that the app couldn't find) are about 5000 and 3000.

And the issue with filtering is not only duplicates, it's also that many books for the filtered author(s) aren't shown at all. I think the app may have problems with huge libraries - maybe it's unable to process such a number of books and that's the reason for both missing libraries and missing books.

I'm on Windows 11, the browser is Thorium (a Chromium fork. It's the only one where I'm logged in to Dropbox).
Sirtel is online now   Reply With Quote
Old Today, 12:08 AM   #6
slm
(who/what)
slm ought to be getting tired of karma fortunes by now.slm ought to be getting tired of karma fortunes by now.slm ought to be getting tired of karma fortunes by now.slm ought to be getting tired of karma fortunes by now.slm ought to be getting tired of karma fortunes by now.slm ought to be getting tired of karma fortunes by now.slm ought to be getting tired of karma fortunes by now.slm ought to be getting tired of karma fortunes by now.slm ought to be getting tired of karma fortunes by now.slm ought to be getting tired of karma fortunes by now.slm ought to be getting tired of karma fortunes by now.
 
Posts: 545
Karma: 5338704
Join Date: Feb 2003
Device: Kindle: Voyage,PW1,KOA, Kobo: Clara Colour, Nook GLP, Pocketbook verse
Quote:
Originally Posted by Sirtel View Post
You mean metadata.db, I think? Yes, they all have it. And all the books have metadata.opf files as well.
Actually, I really did mean "metadata.opf". Each library has a metadata.db file but each book has a metadata.opf file. (the "opf" file contains information, or references to the information that Calibre uses for the book. Calibre uses this to rebuild the database if it gets corrupted.)
slm is offline   Reply With Quote
Old Today, 12:11 AM   #7
slm
(who/what)
slm ought to be getting tired of karma fortunes by now.slm ought to be getting tired of karma fortunes by now.slm ought to be getting tired of karma fortunes by now.slm ought to be getting tired of karma fortunes by now.slm ought to be getting tired of karma fortunes by now.slm ought to be getting tired of karma fortunes by now.slm ought to be getting tired of karma fortunes by now.slm ought to be getting tired of karma fortunes by now.slm ought to be getting tired of karma fortunes by now.slm ought to be getting tired of karma fortunes by now.slm ought to be getting tired of karma fortunes by now.
 
Posts: 545
Karma: 5338704
Join Date: Feb 2003
Device: Kindle: Voyage,PW1,KOA, Kobo: Clara Colour, Nook GLP, Pocketbook verse
By the way, how long does it take to search 35,000 books?
slm is offline   Reply With Quote
Old Today, 12:24 AM   #8
Sirtel
Grand Sorcerer
Sirtel ought to be getting tired of karma fortunes by now.Sirtel ought to be getting tired of karma fortunes by now.Sirtel ought to be getting tired of karma fortunes by now.Sirtel ought to be getting tired of karma fortunes by now.Sirtel ought to be getting tired of karma fortunes by now.Sirtel ought to be getting tired of karma fortunes by now.Sirtel ought to be getting tired of karma fortunes by now.Sirtel ought to be getting tired of karma fortunes by now.Sirtel ought to be getting tired of karma fortunes by now.Sirtel ought to be getting tired of karma fortunes by now.Sirtel ought to be getting tired of karma fortunes by now.
 
Sirtel's Avatar
 
Posts: 14,758
Karma: 245110511
Join Date: Jan 2014
Location: Estonia
Device: Kobo Sage & Libra 2
Quote:
Originally Posted by slm View Post
By the way, how long does it take to search 35,000 books?
Less than a minute, but I suspect it's stopping long before it has scanned all of them. The list is displayed after it found 9000. So maybe that's the limit.
Sirtel is online now   Reply With Quote
Old Today, 10:17 AM   #9
slm
(who/what)
slm ought to be getting tired of karma fortunes by now.slm ought to be getting tired of karma fortunes by now.slm ought to be getting tired of karma fortunes by now.slm ought to be getting tired of karma fortunes by now.slm ought to be getting tired of karma fortunes by now.slm ought to be getting tired of karma fortunes by now.slm ought to be getting tired of karma fortunes by now.slm ought to be getting tired of karma fortunes by now.slm ought to be getting tired of karma fortunes by now.slm ought to be getting tired of karma fortunes by now.slm ought to be getting tired of karma fortunes by now.
 
Posts: 545
Karma: 5338704
Join Date: Feb 2003
Device: Kindle: Voyage,PW1,KOA, Kobo: Clara Colour, Nook GLP, Pocketbook verse
Your guess turns out to be correct: I verified it empircally and then did a search of the documentation, which does state this limit.

I've modified the initial post to warn that the program does not work correctly with large libraries.

I've actually found the recommended approach for larger searches but (because I tried using this technique at one point), I think it will be too slow to be reasonable for large libraries. I'm going to play with it a bit more to be sure.

Thank you very much for your help.
slm is offline   Reply With Quote
Old Today, 02:41 PM   #10
slm
(who/what)
slm ought to be getting tired of karma fortunes by now.slm ought to be getting tired of karma fortunes by now.slm ought to be getting tired of karma fortunes by now.slm ought to be getting tired of karma fortunes by now.slm ought to be getting tired of karma fortunes by now.slm ought to be getting tired of karma fortunes by now.slm ought to be getting tired of karma fortunes by now.slm ought to be getting tired of karma fortunes by now.slm ought to be getting tired of karma fortunes by now.slm ought to be getting tired of karma fortunes by now.slm ought to be getting tired of karma fortunes by now.
 
Posts: 545
Karma: 5338704
Join Date: Feb 2003
Device: Kindle: Voyage,PW1,KOA, Kobo: Clara Colour, Nook GLP, Pocketbook verse
@sirtel: The duplicated files issue has been solved. Not that it will do you can good, of course, since the 10,000 books limit is still present.
slm is offline   Reply With Quote
Old Today, 02:50 PM   #11
Sirtel
Grand Sorcerer
Sirtel ought to be getting tired of karma fortunes by now.Sirtel ought to be getting tired of karma fortunes by now.Sirtel ought to be getting tired of karma fortunes by now.Sirtel ought to be getting tired of karma fortunes by now.Sirtel ought to be getting tired of karma fortunes by now.Sirtel ought to be getting tired of karma fortunes by now.Sirtel ought to be getting tired of karma fortunes by now.Sirtel ought to be getting tired of karma fortunes by now.Sirtel ought to be getting tired of karma fortunes by now.Sirtel ought to be getting tired of karma fortunes by now.Sirtel ought to be getting tired of karma fortunes by now.
 
Sirtel's Avatar
 
Posts: 14,758
Karma: 245110511
Join Date: Jan 2014
Location: Estonia
Device: Kobo Sage & Libra 2
Thanks.

It's a pity there's no option to select a library. I'd give it a go at one of my smaller ones.
Sirtel is online now   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Cannot access Calibre-Web via Kobo web browser chakattack Server 14 08-19-2018 08:51 PM
Calibre web access problem EvilWayz Calibre 0 07-13-2014 01:18 PM
Multiple Libraries and Web Access wernercd Library Management 2 04-04-2014 06:59 PM
Can't get access to the web browser through calibre rethec Calibre 3 07-25-2013 04:25 AM
Calibre & web access Nate the great Calibre 4 03-03-2009 09:14 PM


All times are GMT -4. The time now is 05:48 PM.


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