Omnivore EPUB

Caution

Unfortunately, Omnivore is shutting down and all data will be deleted on 15th November 2024. Please export your data by then. Omnivore will remain open-source and can still be self-hosted. This program should continue to work with self-hosted instances.

For people looking to migrate, personally I would recommend Readeck which is a great FOSS alternative though it is missing a few features. Readwise Reader is another good one but its paid and not open source. Both offer ways to import Omnivore data.

I am not affiliated with the Omnivore project in any way.

A program to generate epub file from articles saved in your Omnivore library and optionally send it to your eReader using email.

Omnivore is an open source read-it-later app similar to Pocket and Instapaper.

Forked from here

OS Support

This program uses no OS specific code and should work on all platforms supported by Deno.

Download

Usage

Send to eReader

List of eReaders that support sending ebook using email:

Tip

Make sure the email address used is approved to send ebook to your eReader

Configuring email

Caution

The email password is stored in plaintext on your device, unencrypted. Therefore, it is highly recommended to use app password instead of your account password whenever your email provider supports it

You may also need to turn on 2FA (Two Factor Authentication)

Instructions for setting an app password for a few popular email providers:

Configuration

Configuration options available in the config file

OptionTypeDescription
tokenstringOmnivore API Token
endpointstringOmnivore GraphQL API endpoint
titlestringTitle of the ebook
authorstringAuthor of the ebook
coverstringURL for fetching cover image for the ebook
descriptionstringDescription of the ebook
addLabelsInContentbooleanWhether to add the labels for the article below title
addArticleLinkInContentbooleanWhether to add the link for the article below title
allowImagesbooleanWhether to add images linked in article in the ebook
outputFileNamestringebook file name
maxArticleCountnumberNumber of articles to fetch
searchQuerystringValid query for article search
ignoredLabelsstring[]List of labels to exclude from the ebook
ignoredLinksstring[]List of urls to exclude from the ebook
emailSupportbooleanWhether to send the ebook via email (to your eReader)
emailHoststringSMTP Hostname of your email provider
emailPortnumberUsually one of 587, 465 or 25. Prefer 587 when available
emailUserstringUsername/Email address of your email account
emailPasswordstringPassword of your email account. Prefer app password
emailRecipientstringEmail address that should receive your ebook
emailFromstringSender name that appears to the email receiver
emailAllowSTARTTLSbooleanAllow connecting to the SMTP server using STARTTLS
emailSizeWarningSuppressbooleanShow a warning if ebook is over emailSizeWarningMinSize
emailSizeWarningMinSizenumberMin ebook size to show warning while sending email in MB
updateCheckbooleanCheck for updates when run
showReleaseNotesbooleanShow release notes when an update is available

Custom searchQuery

Setting searchQuery is the recommended way to filter and sort articles. You can learn more about how to use them on the official Omnivore documentation Search | Omnivore Docs.

The default value is sort:saved-desc which returns all unarchived articles sorted by saved date, recently added articles first.

You can also use it to filter by labels. In case the label contain a space, you will need to escape the double-quotes using a forward slash \. Example: sort:saved-desc label:\"Send to Kindle\"