LinuxCommandLibrary

rss2email

TLDR

Initialize configuration

$ r2e new [email@example.com]
copy
Add feed
$ r2e add [feed_name] [https://example.com/feed.xml]
copy
Run (send emails)
$ r2e run
copy
List feeds
$ r2e list
copy
Delete feed
$ r2e delete [feed_name]
copy

SYNOPSIS

r2e command [options]

DESCRIPTION

rss2email (r2e) converts RSS/Atom feeds to email. It checks feeds and sends new items to your email, allowing you to read feeds in your email client.

EXAMPLES

$ # Initialize
r2e new user@example.com

# Add feeds
r2e add hackernews https://news.ycombinator.com/rss
r2e add lwn https://lwn.net/headlines/rss

# List feeds
r2e list

# Run manually
r2e run

# Reset feed (resend all)
r2e reset hackernews

# Import OPML
r2e opmlimport feeds.opml
copy

COMMANDS

new email

Initialize with default email.
add name url
Add feed.
run
Process feeds and send.
list
List feeds.
delete name
Remove feed.
reset name
Reset feed date.
opmlimport file
Import OPML.

CONFIGURATION

$ # ~/.config/rss2email.cfg
[DEFAULT]
from = rss2email@example.com
to = user@example.com
smtp-server = localhost
copy

CRON

$ # Run every hour
0 * * * * r2e run
copy

CAVEATS

Requires working mail setup (SMTP or local). Stores state in ~/.local/share/rss2email/. Run periodically via cron.

HISTORY

rss2email was created by Aaron Swartz in 2004, now maintained by the community.

SEE ALSO

fetchmail(1), procmail(1), mutt(1)

Copied to clipboard