Automating My Now Page, Update

A system of four Lambda Functions keeps my now page up to date.
  1. I track the things I read, watch, listen to, or tinker with in one of three ways:

    • I use Trakt to track and rate movies and TV episodes.
    • I use Goodreads to track and rate books.
    • For everything else—other reading material (e.g. magazine articles and blog posts), audio content (music, podcasts, streaming stations), and stuff I’m tinkering with—I maintain a YAML file in a paste on OMG.lol.
  2. Three AWS Lambda Functions run on a schedule throughout the day to check the Trakt API, my Goodreads RSS feed, and the OMG.lol API for updates.

  3. When new content/ratings are found the Lambda Functions update a back-end DynamoDB database and...

  4. ...add a message to a SQS queue to update the Now page.

  5. A new message in the queue triggers a fourth Lambda Function, which pulls recent content from DynamoDB, rebuilds the Now page, and pushes it to the OMG.lol API.