Skip to content

docs(ai): add OPDS system architecture reference#13026

Merged
mekarpeles merged 2 commits into
masterfrom
docs/ai-opds-system
Jun 24, 2026
Merged

docs(ai): add OPDS system architecture reference#13026
mekarpeles merged 2 commits into
masterfrom
docs/ai-opds-system

Conversation

@mekarpeles

Copy link
Copy Markdown
Member

Summary

Adds docs/ai/opds/index.md — the missing contributor-facing architecture reference for Open Library's OPDS 2.0 feed system.

Covers:

  • What the system does and who consumes it (reader.archive.org, Libby, PocketBook)
  • Call flow: reader app → opds.openlibrary.org → OL search API → Solr
  • Both repos: opds.openlibrary.org (FastAPI service) and pyopds2_openlibrary (Python library)
  • Key files with one-line purpose descriptions
  • All env vars and cache TTLs
  • Local dev setup with exact commands and expected output
  • Known gotchas: CACHE_ENABLED=false, docker-compose naming constraint, mock pattern after httpx pool PR

Also registers the new doc in docs/ai/README.md Domain Knowledge Bases section.

Related

Closes the onboarding debt for the OPDS domain — docs/ai/opds/index.md previously did not exist.

Covers opds.openlibrary.org service, pyopds2_openlibrary library,
call flow, key files, env vars, local dev setup, and known gotchas.
Registers in docs/ai/README.md Domain Knowledge Bases.
pyopds2_openlibrary extends pyopds2's DataProvider and
DataProviderRecord abstractions. Both repos and their
relationship were missing from the initial doc.
@mekarpeles mekarpeles merged commit f3e4f4c into master Jun 24, 2026
7 checks passed
@mekarpeles mekarpeles deleted the docs/ai-opds-system branch June 24, 2026 20:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant