I’ve been using KOReader for a little bit now and really love the stats feature, but I’ve got a bit of a gap I’m trying to solve.
I’ve been reading pretty much every day since late 2023 (tracked in Goodreads), and I’d love to have that history reflected in KOReader so I can actually see the full streak and stats there, not just from when I started using it.
I started looking into how KOReader stores stats (SQLite DB, "page_stat_data", etc.), and it seems like it might be possible to generate fake reading sessions per day and insert them so it rebuilds the streak and attributes it to books.
My idea was:
- Export Goodreads history
- Use date started / date read to generate daily “reading sessions”
- Write a script to insert those into KOReader’s stats DB so it shows both the streak and which books I was reading
Before I go too far down that rabbit hole:
- Has anyone done anything like this already?
- Any existing scripts/tools?
- Anything I should watch out for with the DB schema or stats system?
Thanks for any/all help!