LockBlock-dev / rpilocator-watcher

A bot that monitors rpilocator and send available offers to a Discord webhook

Home Page:https://rpilocator.com/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

rpilocator watcher

rss-parser simple-discord-webhooks

GitHub stars

A bot that monitors rpilocator and send available offers to a Discord webhook

There is a known bug of the bot sending empty embed!

Installation

  • Install NodeJS.
  • Download or clone the project.
  • Run npm install.
  • In the config.json, you need to edit the WEBHOOK URL and the COOKIE:
{
    "discordWebhookURL": "https://discord.com/api/webhooks/XXX/XXX", //Discord WebHook URL
    "cronDelay": "*/60 * * * * *", //cron job delay, this is each 60 seconds
    "keywords": ["RPi 4 Model B - 4GB RAM", "RPi 3 Model A+ - 512MB RAM"], //the type or raspberry you want, see https://rpilocator.com for examples
    "ownerId": "123456789012345678" //you're Discord ID for the ping
}
  • Run node index.js OR npm start.

Credits

rpilocator

Copyright

See the license

About

A bot that monitors rpilocator and send available offers to a Discord webhook

https://rpilocator.com/

License:MIT License


Languages

Language:JavaScript 100.0%