Skip to main content

Omnivook, omnivore articles as a (daily) book 📚

Automates the process of generating an eBook from Omnivore articles and sending it via email to your Kindle device.

Usage

The easiest way of running the latest version is using uv.

For a one-time run:

OMNIVORE_APIKEY=<key> uvx omnivook

To install it permanently, use

uv tool install omnivook

To upgrade it:

uv tool upgrade omnivook

Then simply run

OMNIVORE_APIKEY=<key> omnivook

By default it will generate an epub with the articles since the day before.

Pass --help to see all the options.

Alternatively, you can install omnivook with pipx, pip, etc.

Automated daily ebook via email ⏰: Setup Github Action

Clone this repo and configure the following GitHub Secrets in your repository:

  • OMNIVORE_APIKEY: Get yours at https://omnivore.app/settings/api
  • MAIL_CONNECTION: The SMTP connection URL in the format: smtp://user:password@server:port. If this is set, you don't need to provide SERVER, USERNAME, PASSWORD, SERVER_PORT, or SECURE.
  • MAIL_FROM: The email address from which the eBook will be sent.
  • MAIL_TO: The Kindle email address where the eBook will be delivered.

Alternatively, if MAIL_CONNECTION is not set, you can configure the following secrets individually:

  • SERVER: The SMTP server address.
  • USERNAME: The SMTP username.
  • PASSWORD: The SMTP password.
  • SERVER_PORT: The SMTP server port (optional, defaults to 465).
  • SECURE: Whether the SMTP connection is secure (optional, defaults to true).

This setup relies on the action-send-mail GitHub Action for sending emails.

You can overwrite these environment variables if you want to change the dynamic setup of:

  • PROJECT_NAME = a.k.a the file name of the epub. Default to omnivook_since_<DATE>to<DATE>.epub
  • EPUB_TITLE: a.k.a the title of the document. Default to omnivook since <DATE> to <DATE>
  • EPUB_AUTHORS: a.k.a List of site names of all the articles. Default set to the repo owner

Manual Trigger 🔧

You can manually trigger the workflow from the GitHub Actions tab. When triggering manually, you have the following options:

  • SINCE: Specify the start date to filter articles (format YYYY-MM-DD). If not provided, defaults to the previous day.
  • archive: A boolean flag (true or false) that determines whether to archive the articles after processing. Defaults to true.
  • label: (optional) Specify a label to filter articles.

Metadata

Release files for omnivook 0.1.6

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

Source distribution (sdist)

Source distribution for omnivook 0.1.6
File Size Uploaded Provenance
omnivook-0.1.6.tar.gz 6.3 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for omnivook 0.1.6
File Interpreter ABI Platform
omnivook-0.1.6-py3-none-any.whl Python 3 none any Details

Total release size: 13.3 kB

Release files / omnivook-0.1.6.tar.gz

Download URL omnivook-0.1.6.tar.gz
Size 6.3 kB
Tags Source
SHA-256 checksum
How to use checksums
e67c4353b16486680529ac3375e8449c32d7b99de6ba1e36868363eca9de1d4f
BLAKE2b-256 checksum
How to use checksums
c1ceec550b50c039c8721e8f6e826ff9cc5c9fbb02a7349ec01b86d76b234ce8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/5.1.1 CPython/3.12.6

Release files / omnivook-0.1.6-py3-none-any.whl

Download URL omnivook-0.1.6-py3-none-any.whl
Size 7.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
436d1527efe3df252349b180e5ac8e979038fe4f344c81e8b48f2bac9e1efbd7
BLAKE2b-256 checksum
How to use checksums
27065714849b8b572265d7696fdcce453e08ee1bdd08a2fff3e02ad9ca0b6c9d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/5.1.1 CPython/3.12.6

Security for omnivook 0.1.6

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.

No provenance found

None of the files in this release were uploaded with provenance metadata.

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.

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