Skip to content

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

License

Notifications You must be signed in to change notification settings

LockBlock-dev/rpilocator-watcher

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

Topics

Resources

License

Stars

Watchers

Forks