Skip to main content
Pre-release

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

Documents

Reads your own documents aloud: text files, Markdown, PDF, Word (.docx), OpenDocument (.odt), EPUB and HTML, from folders on the device and from urls.

It is a provider for the common reading pipeline, like the fairy-tale and article providers, so a document reads the way a story does: announced, read a sentence at a time, paused, continued where it stopped, and (with the pipeline's "player": "ovos-media") read through the media player with its controls.

Made for Emkay, and meant for any OpenVoiceOS device.

Usage

  • "Read me the document holiday plans"
  • "Read my documents" / "Read me a document" (the newest one)
  • "Tell me board minutes march" (a title of two words or more on its own)
  • "Læs dokumentet ferieplaner", "Læs mine dokumenter"
  • and "pause", "continue", "stop" as for any reading

It understands "document", "file" and "my documents" in English, Danish, German, Spanish, French, Italian, Dutch and Portuguese, and answers in every language the device is set up for. A document is read as it is written; nothing is translated.

Where it finds documents

In the skill's settings, one per line:

  • Folders on the device, read with their subfolders (~/Documents/Reading, /media/usb/books, ...).
  • Urls: a url to a document (https://example.com/letter.pdf) is that document. Any other url is fetched as a page of links - a web server's folder listing, or any page that links to documents - or as a plain text list with one url per line, and every link to a document becomes one.

The skill's own upload folder (uploads in its data folder) is always read too. It looks for new documents every 10 minutes (rescan_minutes, 0 = only at start).

Nothing is fetched from the internet unless you add a url. A url's document is fetched when it is read (at most once a day; its text is kept), not when the skill looks for documents.

What a document is called

In this order: the name you gave it, the document's own title (PDF/Word/OpenDocument/EPUB metadata, the first Markdown heading, the HTML <title>), the link's text on a page of links, or the file name (min_rapport-2024.pdf is "min rapport 2024"). The author is read from the document when it has one.

What is read

Paragraphs, headings and list items, in order. A table row is read as one line with its cells joined by ": ", so a play reads "Ivanov: I am reading". Left out because they don't read well aloud: code blocks, page numbers, footnote markers, navigation, scripts and styles, and an EPUB's own edition pages (title page, imprint, colophon, tables of contents, notes). A word hyphenated at the end of a line is joined again. A PDF seldom marks its paragraphs, so it often reads as one paragraph per page; the pipeline reads it sentence by sentence all the same. Scanned PDFs (images of text) have no text to read.

In the control panel

With ovos-control-panel on the device, the skill brings its own page, Documents, under Reading. There you can:

  • upload a document (up to 50 MB) and give it a title to ask for it by,
  • give any document another title, or go back to its own,
  • delete documents you uploaded (your own folders are left alone),
  • set the folders and web addresses it looks in.

Setting folders and addresses, uploading and deleting need the panel's access token.

The messages behind it

Message Data Answer (<message>.response)
ovos.documents.list documents (id, title, author, name, kind, source, custom_title, modified; newest first), upload_folder, folders, urls, formats
ovos.documents.rename id, title ("" = back to the automatic title) ok
ovos.documents.rescan as list
ovos.documents.sources folders, urls (lists, or text with one per line) as list, after saving them in the settings and looking again

The page uploads by putting files in upload_folder and asking for a rescan, so it has to run on the same device as the skill. The library is also kept in library.json in the skill's data folder.

Install

pip install ovos-skill-documents

It needs ovos-common-reading-pipeline-plugin in the intent pipeline, as every reading provider does.

Development

pip install -e ".[test]"
pytest tests

The tests build their own sample documents of every format (nothing binary is committed), and test_with_the_pipeline.py checks with the real reading pipeline that the requests above are understood and that "the weather report" and the like are left to their own skills.

Category

Entertainment, Productivity

Tags

#documents #reading #pdf #word #epub #commonreading #provider

Metadata

Release files for ovos-skill-documents 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-documents 0.1.0a3
File Size Uploaded Provenance Actions
ovos_skill_documents-0.1.0a3.tar.gz 48.9 kB With provenance Details for ovos_skill_documents-0.1.0a3.tar.gz

Built distribution (wheel)

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

Total release size: 97.5 kB

Release files / ovos_skill_documents-0.1.0a3.tar.gz

Download URL ovos_skill_documents-0.1.0a3.tar.gz
Size 48.9 kB
Tags Source
SHA-256 checksum
How to use checksums
9ef03533bd3c694b038a858d15a30c961ac2fc7f1b429c4afbe51aba10cf7a95
BLAKE2b-256 checksum
How to use checksums
c59da4d26a1f3fd6cc77a6cb1c77715788bccbe0e472800c94d2962d078bee9f
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_documents-0.1.0a3-py3-none-any.whl

Download URL ovos_skill_documents-0.1.0a3-py3-none-any.whl
Size 48.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
e8c9aeffe97a71dc6d27091e38b9186ad231c26eb5b3520d5778757973f6ace0
BLAKE2b-256 checksum
How to use checksums
eeed417ec63e090f551fe904176571cc162cec4385b4c5b676bb56550eb60407
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-documents 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_documents-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