10-05-2024, 10:00 AM | #1 |
Enthusiast
Posts: 28
Karma: 10
Join Date: Jan 2023
Device: Kindle Paperwhite
|
Koreader on all devices synching highlights, position, etc..
Hi, I've been trying for months to find a solution to make Koreader work between all my devices (iPhone, Windows PC, Linux PC, Kobo Clara BW) but I can't find it.
I have a Raspberry Pi 5 on which I installed syncthing (also on Kobo) for file synchronization. On the RPI5 I tried these ways: -) "docker-koreader". I exposed the service on the web and someone entered my server running a script in the container to generate cryptocurrencies. -) "koreader-novnc" but I can't get it to work Is there any other way to read also from devices that don't have koreader (iPhone, windows) and sync all the metadata? I'm currently using "calibre-server" to read on devices without koreader but clearly there is no bilateral synchronization of highlights and progress. Should I give up or is there a solution? Thanks a lot! |
10-05-2024, 03:35 PM | #2 |
Groupie
Posts: 195
Karma: 1074916
Join Date: Jan 2021
Device: Likebook Ares
|
You can set up a Rsync service to sync information from Devices. I have one in my desktop and one in my phone with Termux.
Then you can make scripts to sync from (pulling)/to(pushing) the server. You can run these scripts from NickelMenu or from KOReader (you can run scripts from the file manager). This way I how sync everything (sidecars, profiles, collections...) and even books. The only thing is I can't use the devices simultaneously. Before pulling the information from a device you have to push with the last device you used. You can start small with a simple script to sync sidecars. Sent from my CPH2021 using Tapatalk |
10-05-2024, 04:44 PM | #3 |
Wizard
Posts: 1,084
Karma: 3581333
Join Date: Sep 2014
Location: Ukraine
Device: Kindle PW2, PW3, PW4, Voyage
|
Good automation!
In the next release will appear a new feature https://github.com/koreader/koreader/pull/12564 Fire actions on events. If you need more triggering events, or more actions, let me know. |
10-05-2024, 06:39 PM | #4 |
Wizard
Posts: 1,332
Karma: 4740000
Join Date: Feb 2012
Location: Cape Canaveral
Device: Kindle Scribe
|
I had an unfortunate data wipe recently when updated from 5.16.2 to 5.16.9 by hand on my Kindle Scribe. I didn’t do a full backup, so that was a good lesson for me
I should definitely do something like this, so thank you for starting this topic! Do you guys know if rsync can handle and sync also detecting duplicates? For example, I have books in /mnt/us/books/ Once I read a book, I move to the archive folder under /mnt/us/books/ARCHIVE/ What I would like to do this: 1) Sync 1: book1.epub and its sdr folder are in /mnt/us/books/ 2) Read the book and put into archive at /mnt/us/books/ARCHIVE 3) Sync 2: rsync synced the book and added it to ARCHIVE. But I also would like it to delete backup from /mnt/us/books/ I now this is a trivial script and I should probably write it by hand, but maybe there are some advanced tools that can take care of this? |
10-05-2024, 08:17 PM | #5 | |
Militaires Sans Frontière
Posts: 19
Karma: 32
Join Date: May 2024
Device: PocketBook Era Color
|
Quote:
|
|
10-06-2024, 02:46 AM | #6 |
Wizard
Posts: 1,084
Karma: 3581333
Join Date: Sep 2014
Location: Ukraine
Device: Kindle PW2, PW3, PW4, Voyage
|
|
10-06-2024, 02:58 AM | #7 |
Militaires Sans Frontière
Posts: 19
Karma: 32
Join Date: May 2024
Device: PocketBook Era Color
|
|
10-06-2024, 03:52 AM | #8 |
Wizard
Posts: 1,084
Karma: 3581333
Join Date: Sep 2014
Location: Ukraine
Device: Kindle PW2, PW3, PW4, Voyage
|
Uploading may take time, and we cannot pause the system responding to the hard button pressing.
Please note that the sleep button is handled by the system itself. |
10-06-2024, 06:15 AM | #9 |
Wizard
Posts: 1,084
Karma: 3581333
Join Date: Sep 2014
Location: Ukraine
Device: Kindle PW2, PW3, PW4, Voyage
|
But I see that the KOsync plugin tries to update the progress before going to sleep, so I recommend it.
|
10-06-2024, 09:04 AM | #10 |
Wizard
Posts: 1,332
Karma: 4740000
Join Date: Feb 2012
Location: Cape Canaveral
Device: Kindle Scribe
|
There can a profile that does sync (with pause in that script until it is done) and only then asks for sleep.
|
10-08-2024, 11:11 AM | #11 | |
Connoisseur
Posts: 95
Karma: 81981
Join Date: Oct 2023
Location: Ontario, Canada
Device: Kobo Aura Edition 2, Kobo Clara 2E
|
Quote:
You sort of can. At least on a kobo I know that the sleep button does nothing more than triggering an event. Example on a Kobo device, it's under: koreader/frontend/device/kobo/device.lua Lines 700 to 710 in a3d42ac Code:
event_map = { [35] = "SleepCover", -- KEY_H, Elipsa [59] = "SleepCover", [90] = "LightButton", [102] = "Home", [116] = "Power", [193] = "RPgBack", [194] = "RPgFwd", [331] = "Eraser", [332] = "Highlighter", |
|
10-08-2024, 02:52 PM | #12 |
Wizard
Posts: 1,084
Karma: 3581333
Join Date: Sep 2014
Location: Ukraine
Device: Kindle PW2, PW3, PW4, Voyage
|
I'm afraid it's not the fact for Kindle (I've got Voyage).
|
10-20-2024, 07:33 AM | #13 |
(gtfo/freak)
Posts: 115
Karma: 2288752
Join Date: Nov 2019
Device: Likebook Alita
|
What about on charging while sleeping? Does that wake the system and allow running something, if KOReader was running when the system went to sleep?
|
11-04-2024, 03:19 PM | #14 |
Enthusiast
Posts: 48
Karma: 11226
Join Date: Mar 2022
Device: Kobo Libra 2, Aura H2O
|
To OP: see if this would suite your purposes better https://www.mobileread.com/forums/sh...d.php?t=364436
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Best way to pull and sync highlights and notes across different koreader devices | arooni | KOReader | 32 | 11-17-2023 03:35 PM |
Lobo aura or synching reading position after latest update | thomasn75 | Kobo Reader | 5 | 03-08-2017 01:15 PM |
Synching between devices | kanyiva | Marvin | 7 | 02-03-2014 05:58 PM |
Synching between devices | kevinp | General Discussions | 1 | 08-17-2010 01:19 PM |