Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/jalle19/routeros-release-bot
Release bot for MikroTik RouterOS releases
https://github.com/jalle19/routeros-release-bot
discord discord-bot mikrotik routeros
Last synced: about 2 months ago
JSON representation
Release bot for MikroTik RouterOS releases
- Host: GitHub
- URL: https://github.com/jalle19/routeros-release-bot
- Owner: Jalle19
- License: gpl-2.0
- Created: 2022-05-20T13:50:15.000Z (over 2 years ago)
- Default Branch: master
- Last Pushed: 2024-06-01T14:16:16.000Z (7 months ago)
- Last Synced: 2024-10-12T13:26:18.192Z (3 months ago)
- Topics: discord, discord-bot, mikrotik, routeros
- Language: JavaScript
- Homepage:
- Size: 31.3 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# routeros-release-bot
A Discord bot that sends a message to a channel whenever it has detected a new release of Mikrotik RouterOS
## Features
* Designed to be run regularly (e.g. from cron)
* Only sends messages for releases newer than the specified date## Usage
```
$ node src/routeros-release-bot.mjs --help
node routeros-release-bot.mjs [options]Options:
--help Show help [boolean]
--version Show version number [boolean]
-r, --rssPath The URL or file path to the RSS feed
[default: "https://mikrotik.com/download.rss"]
-c, --channel The release channel (stable or testing) [required]
-s, --releasedSince Process releases released since this timestamp
```Here's a more concrete example:
```bash
RELEASED_SINCE=$(cat last_run.txt)
DISCORD_CHANNEL_ID=xxx DISCORD_TOKEN=yyy node src/routeros-release-bot.mjs -c stable -s $RELEASED_SINCE
date +%Y-%m-%dT%H:%M:%S.000Z > last_run.txt
```## License
GNU General Public License, version 2 or later