Simple script which periodically checks a RSS feed for updates and sends these to a Discord webhook.
 
Go to file
Jan 848296d32f bruh. 2021-01-17 11:46:05 +01:00
.gitignore init commit 2021-01-16 12:22:19 +01:00
README.md add readme 2021-01-16 12:39:20 +01:00
index.js bruh. 2021-01-17 11:46:05 +01:00
package-lock.json init commit 2021-01-16 12:22:19 +01:00
package.json init commit 2021-01-16 12:22:19 +01:00

README.md

Discord RSS Webhook

Simple script which periodically checks a RSS feed for updates and sends these to a Discord webhook. I can't guarantee that this works with every RSS feed, since I only tested it with nyaa.si.

Setup

Type npm install to install dependencies. To configure the webhook and RSS URL, create a file called .env:

FEED_URL=https://nyaa.si/?page=rss
WH_ID=123456789012345678
WH_TOKEN=long_ass_string_of_characters

Replace WH_ID with your webhook's ID and WH_TOKEN with the webhook's token. FEED_URL is the RSS feed's URL (obviously).

Run with node . or use pm2