Skip to content

emmeowzing/astronautcount

Repository files navigation

Astronaut Twitter Bot drawing

This is the repository for @astronautcount, the astronaut count twitter bot.

Structure

Project structure consists of

  • terraform/ - houses the IaC to build a backend (spot) instance that a Flask-based inbound webhook handler resides on.
  • src/ - which contains two small Python packages, including
    • handler, the Flask app already mentioned, and
    • bot, a Python-based bot that CircleCI executes every day for a daily morning tweet.

Where does the data come from?

At-current, this bot pulls data from Open Notify's API, which is maintained by Nathan Bergey (@natronics). This is, as far as I'm aware, both the only publicly-accessible and regularly updated API for these data.