Status: work in progress
feedcruncher is a small daemon to watch RSS feeds and send notifications for every new item. Supported notification targets are Discord and Slack webhooks.
- libsqlite3-dev
Example feedcruncher.toml
:
sleep_dur: 300
webhooks: [
"https://discordapp.com/api/webhooks/..."
]
[[feeds]]
url = "https://schu.io/index.xml"
[[feeds]]
url = "https://blog.rust-lang.org/feed.xml"
webhooks = [
"https://hooks.slack.com/..."
]
sleep_dur
defines the time to sleep in seconds between polling. Default: 600
webhooks
defines a list of webhook urls and can be set per feed as well as globally.
feedcruncher --config feedcruncher.toml
Start feedserver from first terminal:
$ make run-server
Finished dev [unoptimized + debuginfo] target(s) in 0.13s
Running `target/debug/feedserver`
Press Return to add new feed item ...
Start feedcruncher from second terminal:
$ make run
Finished dev [unoptimized + debuginfo] target(s) in 0.14s
Running `target/debug/feedcruncher --config config-test.toml`
Watching [
FeedConfig {
url: "http://localhost:4321",
},
]
Waiting for new feed items ...