Fetch new RSS (and Atom) feed items and send them via E-Mail.
There are 2 packages available in the AUR:
Install the dependencies:
First specify the
DATABASE_URL environment variable and set up the database
export DATABASE_URL='sqlite://./dev.db' cargo sqlx database setup
To build the man pages, use
scdoc < docs/rss-email.1.scd > docs/rss-email.1 scdoc < docs/rss-email.5.scd > docs/rss-email.5
~/.config/rss-email/config.tomland adjust the values
~/.config/rss-email/urlswith one RSS url per line
The database used with
rss-email is generated automatically if it doesn't exist
See the man page or
-h for more info. You can view the man page after
generating it with
man -l docs/rss-email.1.
A man page for the configuration exists, too, which you can view after building with
man -l doc/rss-email.5.
Send patches and questions to ~firstname.lastname@example.org.
Instructions for preparing a patch are available at git-send-email.io.
Bugs and todo can be found at ~witcher/rss-email.
pre-commit hook is available in
contrib/githooks/pre-commit that catches
most errors that the CI fail on. I recommend installing it in
.git/hooks/pre-commit to catch errors before the CI can since building Rust in
the CI is quite expensive.
When making changes on the database, make sure that:
cargo sqlx migrate add -r $MIGRATION_DESCRIPTION
sqlx-data.jsonis up to date by issuing
cargo sqlx prepare