janeczku / calibre-web

:books: Web app for browsing, reading and downloading eBooks stored in a Calibre database
GNU General Public License v3.0
12.53k stars 1.32k forks source link

Retain last read position across devices via web interface #1797

Open jogaman opened 3 years ago

jogaman commented 3 years ago

I installed calibre via docker and calibre web in the hopes I could read books on both my phone and my laptop and that the last read page would be synced. Calibre web works well and looks great per device!

However, it seems like the last read position is not stored server side, but rather in the browser instead? If I open the same book as a web page on a different device the last read location is only remembered from that device. So I cant pick up a book on my phone that I've started on my laptop.

Xwang1976 commented 3 years ago

I would be interested in this feature too.

Xwang1976 commented 3 years ago

I could try to have a look, because it seems that pdfjs gives access to the last page read so maybe it could be possible to modify calibre-web so that to store that value in a specific field added to the calibre library and open the book from that position. I do not know if pdfjs can execute something when it's tab is closed so that to "communicate" to calibre web the last page read. The above are just alpha stage ideas (maybe silly too). If someone with more experience in python and or calibre-web would like to give advices ....

benab commented 3 years ago

I also installed Calibre-web with the hopes that it would remember page position across devices. I haven't found a project yet with this feature.

@Xwang1976 Do you know if formats other than PDF give access to the last page read?

Maxxximo commented 1 year ago

I would be interested in this feature too.

DovieW commented 1 year ago

I need this. I was hoping that I could just save the URL to the page, but it seems to redirect me to the first page when I load it.

Darthholi commented 1 year ago

Most probably needs to be stored as a different format than pdf to allow this.

jmnicolas90 commented 9 months ago

Kavita reader does this, might be worth it to check how they implemented it. Sadly, as is, Calibre Web isn't usable for me. It's a pity because it seems much more user friendly than Kavita (it's mainly a manga reader).

Darthholi commented 8 months ago

tried, works for epub and mobi formats

silverhook commented 7 months ago

It’s probably obvious, but just in case I’ll add that storing this position (as well as Read and Archived status) should be stored separately for each individual user.

(Thanks for this, so far pretty happy with it)

nullishamy commented 2 months ago

As described in the "Sharing over the net" page, you must use a user account to sync positions across the web. This works as an interim until e.g anonymous position tracking is implemented.

jimbobjonesbob commented 1 month ago

this 'feature' can also be really annoying. I only read on my kobo, and I keep getting a message when I open books about would I like to sync... there is nothing to sync to.

annoying.