Possum Avatar Every Hour

Screenshot of a Possum

⚠️ This project may be on ice, but https://possumeveryhour.io ⧉ exists! Go enjoy the fruits of their labor!

Leveraging the hard work of @PossumEveryHour on Twitter, update your Slack avatar when new tweets are posted. Also, this archives the possum photos.

Concept

Cronjob runs every minute to check for new tweet. If a new tweet with an image is detected, save it then upload to Slack.

Steps

  1. Check for new tweet
  2. Compare tweet ID against cached ID (if exists)
  3. Save the image and ID (if IDs do not match)
  4. Center and crop the image to square with a max size of 1024px by 1024px
  5. Upload the image to Slack (if new image was saved)

Sources