Sign inSign up

openlab/status-bot

By openlab

•Updated over 7 years ago

An node app providing endpoints to tweet status updates

Image
0

475

openlab/status-bot repository overview

⁠Info

Provides a endpoint for UptimeRobot⁠ to contact when a service goes up/down, authenticated by a secret key. Currently powering OL Status Bot⁠.

⁠Sample Usage

nano tweets.env
docker run -it --rm -p 3000:3000 --env-file=tweets.env openlab/status-bot

⁠Environment Variables

NameUsage
TW_CONSUMER_KEYYour twitter consumer key
TW_CONSUMER_SECRETYour twitter consumer secret
TW_ACCESS_KEYYour twitter access key
TW_ACCESS_SECRETYour twitter access secret
SECRETYour authentication secret, requests must pass this as {"secret": VALUE}

Generate credentials at apps.twitter.com⁠

⁠More Info

The app exposes two endpoints

  • GET: / is a hello world endpoint to let you know the app is running
  • POST: /tweet/uptimerobot is an endpoint for uptimerobot to ping and post a tweet

⁠References

Tag summary

Content type

Image

Digest

Size

29.5 MB

Last updated

over 8 years ago

docker pull openlab/status-bot