#rss #discord

app rss-discord

A simple rust program to scan rss feeds and send discord pings for new events

14 releases

0.2.5 Jan 23, 2024
0.2.4 Dec 5, 2023
0.2.3 Oct 29, 2023
0.2.1 Jun 27, 2023
0.1.5 Mar 25, 2023

#352 in Command line utilities

Download history 18/week @ 2023-10-31 2/week @ 2023-11-07 2/week @ 2023-11-14 29/week @ 2023-11-21 38/week @ 2023-11-28 33/week @ 2023-12-05 15/week @ 2023-12-12 2/week @ 2023-12-19 26/week @ 2023-12-26 13/week @ 2024-01-02 29/week @ 2024-01-23 29/week @ 2024-01-30 2/week @ 2024-02-06 90/week @ 2024-02-13

150 downloads per month

MIT and GPL-3.0+

118 lines


A simple rust program to scan rss feeds and send discord pings for new events.


Make sure you have rust installed, then clone the repo and run cargo build --release from the project root, the resulting binary will be located at ./target/release/


Run the binary with the following environment variables set:

  • WEBHOOK_URL: A discord webhook url to send the notifications to
  • FEED_URL: A url pointing to the rss feed that you want to monitor
  • FEED_NAME: A name for the rss feed
  • MESSAGE_CONTENT: Optional content for the message, useful for pinging users or roles with <@user_id> or <@&role_id>
  • FEED_IS_HTML: If this variable is set to any value, the feed description will be handled as html
  • RSS_REPLACEMENTS: A list, separated by :, where each entry specifies a replacement to apply on the embed's description with the syntax <search>/<replacement>. Backslashes are used to escape : and / characters.

I recommend running the program periodically (i.e. with cron) to receive updates of the feed. To check for updates on multiple feeds at once, create multiple cron jobs with different environment variables.


~522K SLoC