feat: ingest BookOrbit highlights as chapter entries (#50)
build / test (push) Successful in 4m7s
build / image (push) Successful in 24s

feat: ingest BookOrbit highlights as chapter entries (#50)

Co-authored-by: David Gwilliam <dhgwilliam@gmail.com>
Co-committed-by: David Gwilliam <dhgwilliam@gmail.com>
This commit was merged in pull request #50.
This commit is contained in:
2026-11-08 19:55:56 +00:00
committed by david
parent 499cd2be5d
commit 83604d8f8a
7 changed files with 647 additions and 9 deletions
+8
View File
@@ -125,6 +125,14 @@ func NewIngestCmd(kdb *db.KnoxDB) *cobra.Command {
record(r)
}
}
log.Printf("[knox] ingesting bookorbit...")
if results, err := ingest.NewBookOrbitIngester().IngestAll(); err == nil {
for _, r := range results {
record(r)
}
} else {
log.Printf("[knox] bookorbit ingest failed: %v", err)
}
log.Printf("[knox] ingesting opencode.db...")
if results, err := ingest.NewOpenCodeDBIngester().IngestAll(); err == nil {
for _, r := range results {