omnivore-exporter

command module
v0.1.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 19, 2024 License: MIT Imports: 11 Imported by: 0

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

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL