babluboy / bookworm

A simple ebook reader for Elementary OS
GNU General Public License v3.0
1.33k stars 101 forks source link

Remote fetch of books into Bookworm #30

Open baimafeima opened 7 years ago

baimafeima commented 7 years ago

Is it possible to include an option to sync the book list with https://www.librarything.com/ or to import an online database from LibraryThing into bookworm?

babluboy commented 7 years ago

@baimafeima Thanks for the suggestion. I was not aware of the LibraryThing. Will open an account to see how it works. My plans are to allow sync with cloud apps like Dropbox to sync across devices. However to sync with library sites is something I can look at later. My priority at this time is to provide a stable reader application to work with downloaded ebooks available locally on the desktop...

baimafeima commented 7 years ago

However to sync with library sites is something I can look at later.

That sounds great! I suggested LibraryThing as it is more academic and independent than Goodreads which was acquired by Amazon.

My plans are to allow sync with cloud apps like Dropbox to sync across devices.

Dropbox has zero awareness for security and privacy. Better alternatives: SpiderOak, Syncthing, ...

babluboy commented 7 years ago

@baimafeima I had a look at librarything but not sure how the sync would work: 1- For exporting the books (on local) into librarything, probably there might be an API to upload books to librarything and read the books online 2- For importing the books on librarything to local and readiong on bookworm - I'm not sure if librarything offers a download option. Didnt find one in my quick look.

babluboy commented 7 years ago

@baimafeima Thanks for your pointers on Dropbox and alternatives - will be good to have a research done before I work on cloud options

baimafeima commented 7 years ago

I had a look at librarything but not sure how the sync would work: 1- For exporting the books (on local) into librarything, probably there might be an API to upload books to librarything and read the books online

@babluboy The ability to sync all data from LibraryThing into Bookworm (and vice versa?) would be one of my most-wanted features (besides the PDF annotation capabilities to make reading more effective). On their website I've found this link about how to implement APIs: https://www.librarything.com/services/

baimafeima commented 6 years ago

@babluboy Thanks for your continued hard work on this amazing project. Just wanted to check whether you have found a way to sync to Library Thing via Bookworm.

babluboy commented 6 years ago

@baimafeima Sorry, have not been able to do further research on this. At the moment the most pressing feature will be to implement pagination (currently its chapter wise navigation). But will keep this issue to remind me of this feature...

captain-cavemaaaan commented 5 years ago

LibraryThing doesn't store books, just metadata (there's no way to upload books, read them online, or download them to read locally). It's not clear to me what "sync with LibraryThing" even means: bookworm is for e-books, not physical books, in which case the metadata is already there and there's no value in the data in LibraryThing (if it differs from what's in your e-book, it's probably wrong -- at least for your e-book. But in order for it be in LibraryThing at all, you must have put it there, so it shouldn't differ from your books!). It's trivial to upload your e-book data to LibraryThing -- if they have ISBNs (just have bookworm export a list of ISBNs; use "Import/Export"/"Universal import", under the "More" tab on LT, to upload the data -- but, IME, most e-books (non-DRMed -- the ones we're concerned with here) don't have ISBNs, so you'd just be dumping lousy data into LT ... don't do it!)

babluboy commented 5 years ago

@captain-cavemaaaan thanks for your inputs. If Library Thing does not support actual download of ebooks then probably syncing meta data does not make sense.

I was thinking on the lines of a user Downloading the ebook from Library Thing and opening the same from the same spot in Bookworm ...similarly opening Library Thing and continue to read where left off in Bookworm...

For the above it is necessary to have the same book in Bookworm as being read on Library Thing...does this makes sense @baimafeima ?

babluboy commented 5 years ago

I was thinking that if there can be an API to pull books from remote locations, then it can be loaded into Bookworm. This is a more feasible feature than syncing of books.

babluboy commented 5 years ago

@quanhungbang @quanhungbang@gmail.com Looping you into this conversation