Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

OPDS Books

Reads books aloud from e-book catalogs: any OPDS catalog (OPDS 1 or 2), or a plain Atom/RSS feed of books, such as Standard Ebooks' new releases.

It is a provider for the common reading pipeline, like the fairy-tale, article and documents providers. A book reads the way a story does: it is announced, read a sentence at a time, paused, and continued where it stopped. With the pipeline's "player": "ovos-media", it is read through the media player and has that player's controls.

Made for Emkay, and meant for any OpenVoiceOS device.

Usage

  • "Read me the book Ivanov"
  • "Read the novel Confessions of Zeno"
  • "Read a book from Standard Ebooks" (a catalog by its name)
  • "Read me a book" / "Read my books" (a book picked at random)
  • "Læs bogen Den grimme ælling"
  • "Pause", "continue" and "stop", as for any reading

It understands "book", "e-book", "novel" and "my books" in English, Danish, German, Spanish, French, Italian, Dutch and Portuguese. A book is read in its own language; nothing is translated. Books in the device's language are found first. A book with no language of its own takes the catalog's (see below), or English.

Catalogs

In the skill's settings, one catalog per line:

url | name | username | password | language

Every field except the url can be left out:

https://standardebooks.org/feeds/atom/new-releases | Standard Ebooks
https://example.org/opds | Min bogreol | | | da
  • The name is what you call the catalog ("a book from Min bogreol").
  • The username and password are sent only to the catalog's own site.
  • The language is used for books whose catalog does not give one.

The skill reads the catalogs at start and then every refresh_hours (24 by default), in the background. It follows a catalog's shelves and pages on its own site, at most 60 pages and 5000 books. It keeps the list, not the books.

Standard Ebooks

The default catalog is Standard Ebooks' new releases feed. It is open to everyone, and the books are free (CC0). Their full catalog, https://standardebooks.org/feeds/opds, and their search are for members of their Patrons Circle. If you are a member, add it with your email as the username and an empty password:

https://standardebooks.org/feeds/opds | Standard Ebooks | you@example.com |

Other catalogs

Any OPDS catalog works: a Calibre content server (http://host:8080/opds), Kavita, Komga, COPS, or an OPDS 2 catalog. Books are read from EPUB first, and from PDF, HTML or text when a book has no EPUB.

Margin has an open OPDS catalog, but its robots.txt disallows /download/, so it is not among the defaults. Whether to add it is up to you. The skill downloads a book only when someone asks to hear it, as an e-reader app does.

Being polite to catalogs

  • robots.txt is honoured when the skill reads a catalog on its own. A book someone asks to hear is fetched like an e-reader app fetches it.
  • When a site answers "too many requests" or "unavailable", the skill waits as long as its Retry-After header asks.
  • A book is downloaded only when it is asked for. Its text is kept, so it is not downloaded again for the next chapter.
  • Requests carry a User-Agent that names the skill.

Searching

A request is first matched against the titles the skill already knows. When nothing matches well, it asks every catalog that can search (OpenSearch) and waits at most 1.5 seconds, inside the pipeline's 2. Standard Ebooks' search needs Patrons Circle access, as above.

What is read

The book itself, from its first chapter. The edition's own pages are left out: title page, imprint, colophon, copyright page, tables of contents, notes and note markers (EPUB epub:type). Paragraphs, headings and list items are read in order. A table row is read as one line with its cells joined by ": ", which is how a play is set, so it sounds like "Ivanov: I am reading… presently."

Install

pip install ovos-skill-opds-books

Like every reading provider, it needs ovos-common-reading-pipeline-plugin in the intent pipeline.

Development

pip install -e ".[test]"
pytest -c tests/pytest.ini tests

The tests serve their own small catalogs: OPDS 1 with shelves and pages, a Standard Ebooks-style Atom feed, RSS, and OPDS 2. They also build their own books, so nothing is fetched. test_with_the_pipeline.py uses the real reading pipeline to check that the requests above are understood, and that "book a table" and the like are left to their own skills.

extract.py is the same as in ovos-skill-documents; change both together.

Category

Entertainment

Tags

#books #ebooks #opds #reading #epub #standardebooks #commonreading #provider

Metadata

Release files for ovos-skill-opds-books 0.1.0a1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for ovos-skill-opds-books 0.1.0a1
File Size Uploaded Provenance Actions
ovos_skill_opds_books-0.1.0a1.tar.gz 37.6 kB With provenance Details for ovos_skill_opds_books-0.1.0a1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for ovos-skill-opds-books 0.1.0a1
File Interpreter ABI Platform Actions
ovos_skill_opds_books-0.1.0a1-py3-none-any.whl Python 3 none any Details for ovos_skill_opds_books-0.1.0a1-py3-none-any.whl

Total release size: 74.4 kB

Release files / ovos_skill_opds_books-0.1.0a1.tar.gz

Download URL ovos_skill_opds_books-0.1.0a1.tar.gz
Size 37.6 kB
Tags Source
SHA-256 checksum
How to use checksums
7e651143bd271da263eccb26e234db06b62dfe5776ef5a47d6caa99b30b2af8f
BLAKE2b-256 checksum
How to use checksums
c62fb9ccf1abd0e095e8eed903cb90f71cb5a9b6af2c3716bd6f3b778306be75
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 21, 2026.

Transparency log

Release files / ovos_skill_opds_books-0.1.0a1-py3-none-any.whl

Download URL ovos_skill_opds_books-0.1.0a1-py3-none-any.whl
Size 36.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
e6074d1e6f3ad506e83c0c3c8dbc3c5920093ecbd7c079c6ba1deda1f6db30f5
BLAKE2b-256 checksum
How to use checksums
664107b6c1079561d739c463aa4a9f93bcf21bdc801c145036d88692365a5388
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 21, 2026.

Transparency log

Security for ovos-skill-opds-books 0.1.0a1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for ovos_skill_opds_books-0.1.0a1.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 21, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page