elct9620 / discord-feed-notifier

Send RSS feed notify to Discord server

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Discord Feed Notifier

Send RSS Feed notify to Discord Server

Usage

Run sam build to prepare lambda function

sam build --use-container

Run sam deploy with parameters

sam deploy --no-confirm-changeset --no-fail-on-empty-changeset --parameter-overrides Webhook=[DISCORD_WEBHOOK_URL]

Parameters

The options to configure notifier

Name Default Description
Schedule cron(0 9 * * ? *) The EventBridge cron job rule
Timezone Asia/Taipei The timezone
Duration P1D The ISO8601 duration to filter feeds, P1D means 1 day ago when schedule trigger
Feed https://blog.aotoki.me/index.xml The feed url
Webhook N/A The webhook url to send to Discord

About

Send RSS feed notify to Discord server

License:MIT License


Languages

Language:Ruby 100.0%