https://github.com/lockblock-dev/rpilocator-watcher
A bot that monitors rpilocator and send available offers to a Discord webhook
https://github.com/lockblock-dev/rpilocator-watcher
bot raspberry-pi rpi rpilocator
Last synced: 10 days ago
JSON representation
A bot that monitors rpilocator and send available offers to a Discord webhook
- Host: GitHub
- URL: https://github.com/lockblock-dev/rpilocator-watcher
- Owner: LockBlock-dev
- License: mit
- Created: 2022-04-02T19:01:55.000Z (about 4 years ago)
- Default Branch: master
- Last Pushed: 2022-04-02T19:14:37.000Z (about 4 years ago)
- Last Synced: 2025-08-03T21:43:29.919Z (9 months ago)
- Topics: bot, raspberry-pi, rpi, rpilocator
- Language: JavaScript
- Homepage: https://rpilocator.com/
- Size: 1.95 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# rpilocator watcher
[](https://www.npmjs.com/package/rss-parser) [](https://www.npmjs.com/package/simple-discord-webhooks)
[](https://github.com/LockBlock-dev/rpilocator-watcher/stargazers)
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](https://nodejs.org).
- Download or clone the project.
- Run `npm install`.
- In the [config.json](./index.json), you need to edit the WEBHOOK URL and the COOKIE:
```json
{
"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](https://rpilocator.com/)
## Copyright
See the [license](/LICENSE)