You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Idea: record reading position (start/end) in session journal records
#941
Hi! First of all, thank you for CrossInk — the reading stats in v2.0.0-rc are exactly what I was missing on my X4/X4 Pro.
Context
I read on both an Xteink (CrossInk) and a Boox with KOReader, and I'd like to merge my CrossInk reading sessions into KOReader's statistics (statistics.sqlite3), so all my reading history lives in one place. The new session journal (/.crosspoint/reading_sessions) almost makes this possible: each ReadingSessionJournal::Record already has the KOReader document ID, start/end timestamps, seconds and UTC offset. Since the document ID matches KOReader's partial MD5, sessions map to the right book with no extra work. 🎉
What's missing
KOReader's stats are page-based: page_stat_data(id_book, page, start_time, duration, total_pages). Without any position information in a session, I can only guess which part of the book was read, so the "pages read" counts and the progress shown in KOReader-based tools (e.g. KoShelf) become estimates.
Idea
Add the reading position at the start and at the end of each session to Record, for example:
startProgress / endProgress — book progress as a fraction (0–1) or in permille, or
startPage / endPage / totalPages — the rendered page numbers on the device at that time,
optionally pagesTurned for the session (you already track forward page turns per book).
Percent-based progress would be the most portable, since page numbers depend on font and screen size (KOReader rescales using total_pages anyway).
Optional, related
Sessions are removed from the SD card after a successful upload to CrossPoint Sync. An option to keep a local copy (or export the journal as JSON/CSV) would let people back up or merge their history without relying on the server.
Happy to test a build on X4 and X4 Pro. Thanks again for all the work on this firmware!
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
Hi! First of all, thank you for CrossInk — the reading stats in v2.0.0-rc are exactly what I was missing on my X4/X4 Pro.
Context
I read on both an Xteink (CrossInk) and a Boox with KOReader, and I'd like to merge my CrossInk reading sessions into KOReader's statistics (
statistics.sqlite3), so all my reading history lives in one place. The new session journal (/.crosspoint/reading_sessions) almost makes this possible: eachReadingSessionJournal::Recordalready has the KOReader document ID, start/end timestamps, seconds and UTC offset. Since the document ID matches KOReader's partial MD5, sessions map to the right book with no extra work. 🎉What's missing
KOReader's stats are page-based:
page_stat_data(id_book, page, start_time, duration, total_pages). Without any position information in a session, I can only guess which part of the book was read, so the "pages read" counts and the progress shown in KOReader-based tools (e.g. KoShelf) become estimates.Idea
Add the reading position at the start and at the end of each session to
Record, for example:startProgress/endProgress— book progress as a fraction (0–1) or in permille, orstartPage/endPage/totalPages— the rendered page numbers on the device at that time,pagesTurnedfor the session (you already track forward page turns per book).Percent-based progress would be the most portable, since page numbers depend on font and screen size (KOReader rescales using
total_pagesanyway).Optional, related
Sessions are removed from the SD card after a successful upload to CrossPoint Sync. An option to keep a local copy (or export the journal as JSON/CSV) would let people back up or merge their history without relying on the server.
Happy to test a build on X4 and X4 Pro. Thanks again for all the work on this firmware!
All reactions