Categorygithub.com/rubiojr/omnivore-exporter
repositorypackage
0.1.1
Repository: https://github.com/rubiojr/omnivore-exporter.git
Documentation: pkg.go.dev

# README

Omnivore Export

Export omnivore.app articles to markdown.

Installation

go install github.com/rubiojr/omnivore-export@latest

Usage

Get your API key and export it:

export OMNIVORE_API_KEY=your-api-key
omnivore-export --output-dir ~/Documents/omnivore-exports

omnivore-exporter can also use monolith to export the articles to a single HTML file, if available in the PATH (recommended, the fidelity of the exports is better).

omnivore-export --output-dir ~/Documents/omnivore-exports --use-monolith

By default, all articles except the ones labeled with Newsletter or omnivore-exporter-skip are exported. Select the labeled articles to export with the --labels flag:

omnivore-export --output-dir ~/Documents/omnivore-exports --labels label-to-export --labels another-label

You can also use --skip-labels to exclude articles with specific labels and export the rest:

omnivore-export --output-dir ~/Documents/omnivore-exports --skip-labels label-to-skip