feat(ingest): add Kobo native KoboReader.sqlite read-only source adapter#29
Merged
ChelseaKR merged 2 commits intoJul 12, 2026
Merged
Conversation
Implements the first of roadmap item A1's "more read-only sources": a snapshot-first, strictly read-only reader over Kobo's `content` table (ContentType=6 volumes, chapter-row dedup, schema-drift tolerant), mirroring ingest/koreader.py's structure. Merges through the existing `unify` join with zero changes to ingest/unify.py. Wires a new optional `kobo_db` config field ([kobo] TOML section / STACKS_KOBO_DB env var), source-mtime tracking, and a `stacks doctor` check. Readest, Calibre-Web read-state, and sideloaded EPUB/PDF remain open follow-ups noted in docs/ROADMAP-FUTURE.md. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
# Conflicts: # docs/audits/coverage.xml # ingest/refresh.py
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Implements the first of roadmap item A1's "more read-only sources": a
snapshot-first, strictly read-only reader over Kobo's
contenttable(ContentType=6 volumes, chapter-row dedup, schema-drift tolerant),
mirroring ingest/koreader.py's structure. Merges through the existing
unifyjoin with zero changes to ingest/unify.py.Wires a new optional
kobo_dbconfig field ([kobo] TOML section /STACKS_KOBO_DB env var), source-mtime tracking, and a
stacks doctorcheck. Readest, Calibre-Web read-state, and sideloaded EPUB/PDF remain
open follow-ups noted in docs/ROADMAP-FUTURE.md.
Co-Authored-By: Claude Fable 5 noreply@anthropic.com
Backfill PR for a completed roadmap item (
roadmap/a1-more-read-only-ingest-sources-readest, 1 commit(s) overmain). Part of the portfolio roadmap batch.