Automating My Now Page, Update
A system of four Lambda Functions keeps my now page up to date.

-
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.
-
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.
- Pastebot
- Traktbot
- Goodreadsbot (New!)
-
When new content/ratings are found the Lambda Functions update a back-end DynamoDB database and...
-
...add a message to a SQS queue to update the Now page.
-
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.