UK-Power-Monitor-Twitter-Bot

Publish UK Power Monitor’s stats on Twitter

Source data is generated from UK-Power-Monitor

Bot Twitter URL Creator Twitter URL

Build And Deploy

Local

  1. Create Twitter Project with OAuth 1.0a and apply for Elevated Access Level for Manage Tweet permissions here
  2. Clone this project
  3. Create .env and populate the variables cp .env.template .env
  4. Issue command go run main.go from root of the project

Docker [Dev]

  1. docker-compose up -d --build

Docker [Prod]

  1. Create .env file in the Docker host with all the required configurations
  2. Copy docker-compose.prod.yml to Docker host
  3. docker-compose -f docker-compose.prod.yml up -d

GitHub

View Github