I recently bought a Pocketbook Era Color because my old kindle finally broke.

I chose a Pocketbook because I wanted to leave the Amazon ecosystem and self host my books on Calibre-Web Automated.

CWA offers a Kosync functionality that let's you sync read progress across devices. As a client this mostly utilises KOReader and a plugin.

Since I'm no fan of KOReader I vibe coded a daemon that syncs the read progress of Pocketbook's native reader and CWA using CWAs kosync implementation.

I am open to critique or just have fun!

all 3 comments

sorted by: hot top controversial new old
[–] 2 points 4 days ago (2 children)

had a look at the repo. neat idea, especially skipping koreader.

the shutdown flush in the readme isn't actually wired up. deploy.sh only patches /etc/init.d/rcS, and nothing writes the rc.shutdown hook or that backup the readme mentions. the script does have a flush command, it just never gets called on power off, so a short reading session can still get eaten by the 90s cooldown.

the rest looks like you've already hit real device bugs, like comics being page 0 on the reader and page 1 on koreader, and cwa's put and get clocks not matching. if you add the hook, i'd also make undeploy remove it.

  • source
  • hideshow 2 child comments
  • [–] [S] 1 point 3 days ago (1 child)

    Thanks for looking at the repo and your feedback! It's highly appreciated! The funny thing is: Qwen deployed the shutdown hook to my device but didn't bother to write it into deploy.sh... That's what you get when you don't actually read your code.

  • source
  • parent
  • hideshow 1 child comment