plusreed / tracker

The source code for HypeTrack

Home Page:https://twitter.com/HQMonitor

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Tracker

Tracker is the main codebase for @HQMonitor (also known as HypeTrack), a server monitoring system for HQ Trivia.

Features

Tracker can:

  • Determine when the server is being re-deployed or scaled up
  • Determine when an HQ stream has gone 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_ID and DISCORD_WEBHOOK_SECRET in your .env)
  • Telegram chat (set TG_TOKEN and TG_CHAT_ID)
  • Twitter (set TW_CONSUMER_KEY, TW_CONSUMER_SECRET, TW_ACCESS_KEY, and TW_ACCESS_SECRET)

Running Tracker

  1. Install dependencies using your package manager of choice (I use yarn).
  2. Set your environment: set up Discord, Telegram, and Twitter keys (or turn them off in the check configuration.)
  3. Build HypeTrack by running the build script (for yarn, this would be yarn build)
  4. Run start.sh to start the bot.

Running in Production

I literally just use screen lol

License

Tracker is licensed under the GNU Affero General Public License v3.0.

For more information on what this means, see here.

About

The source code for HypeTrack

https://twitter.com/HQMonitor

License:GNU Affero General Public License v3.0


Languages

Language:TypeScript 95.6%Language:Shell 2.9%Language:JavaScript 1.5%