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.

In the control panel

With ovos-control-panel on the device, the skill brings its own page, Books, under Library. It shows each catalog with how many books it has, when it was read and, if it could not be read, why. There you add, change and remove catalogs, set how often they are read, and read them again at once. A password is never shown: leave the field empty to keep it. Changing the catalogs needs the panel's access token.

The messages behind it

Message Data Answer (<message>.response)
ovos.opds.catalogs.list catalogs (url, name, title, username, login, language, books, fetched, retry_after, error; never a password), refresh_hours, refreshing
ovos.opds.catalogs.set catalogs (url, name, username, password, language; a password of null keeps the one it had), optional refresh_hours as list, after saving them and starting to read them
ovos.opds.catalogs.refresh as list; the catalogs are read in the background

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.0a3

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.0a3
File Size Uploaded Provenance Actions
ovos_skill_opds_books-0.1.0a3.tar.gz 49.2 kB With provenance Details for ovos_skill_opds_books-0.1.0a3.tar.gz

Built distribution (wheel)

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

Total release size: 98.7 kB

Release files / ovos_skill_opds_books-0.1.0a3.tar.gz

Download URL ovos_skill_opds_books-0.1.0a3.tar.gz
Size 49.2 kB
Tags Source
SHA-256 checksum
How to use checksums
f57b51252210a05aebc0201f45dee3a3e7c1a2b88d7ecabe84e980ff3849ae95
BLAKE2b-256 checksum
How to use checksums
911df2725d95b62406e6fa0f613a7046b789417a2f71b7a7cba830375cd72092
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.0a3-py3-none-any.whl

Download URL ovos_skill_opds_books-0.1.0a3-py3-none-any.whl
Size 49.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
20ac1cb239008f6c646bac1ce2d3034f2aa3a421127f6207a0c63e1862d6aeb1
BLAKE2b-256 checksum
How to use checksums
883dd15cf4ccb9c649a698af029e9f7d678f978a4c22f71b3997879633f03e26
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.0a3

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.0a3.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