Tracker is the main codebase for @HQMonitor (also known as HypeTrack), a server monitoring system for HQ Trivia.
Tracker can:
- Determine when the server is being re-deployed or scaled up
- Determine when an HQ stream has gone live
- Determine when a game is live
Tracker also has the ability to send notifications when it detects changes. Currently, it can notify via the following:
- Discord webhook (set
DISCORD_WEBHOOK_IDandDISCORD_WEBHOOK_SECRETin your.env) - Telegram chat (set
TG_TOKENandTG_CHAT_ID)
- Install dependencies using your package manager of choice (I use
yarn). - Set your environment: set up Discord, Telegram, and Twitter keys (or turn them off in the check configuration.)
- Build HypeTrack by running the build script (for yarn, this would be
yarn build) - Run
start.shto start the bot.
I literally just use screen lol
Tracker is licensed under the GNU Affero General Public License v3.0.
For more information on what this means, see here.