Public | Automated Build

Last pushed: a year ago
Short Description
Twitter bot for Lisbon Metro updates
Full Description

MLBOT

Posts the Lisbon Metro status updates to Twitter.
Written for use with Docker.

Running

If an env file exists with KEY=VALUE mappings for the environment variables:

docker run --env-file env -d -v /local/directory:/state tiagoad/mlbot

Environment Variables

  • BOT_DEBUG - Debug output if set
  • RUN_INTERVAL - Interval between runs, in seconds (defaults to 120 seconds)
  • TWITTER_CONSUMER_KEY - Twitter consumer key
  • TWITTER_CONSUMER_SECRET - Twitter consumer secret
  • TWITTER_ACCESS_TOKEN_KEY - Twitter access token
  • TWITTER_ACCESS_TOKEN_SECRET - Twitter access token secret

Directories

  • /state - Holds variable state
Docker Pull Command
Owner
tiagoad
Source Repository