Skip to content

Latest commit

 

History

History
47 lines (31 loc) · 1.2 KB

README.md

File metadata and controls

47 lines (31 loc) · 1.2 KB

diet

Aggregating the content I've consumed.

Prerequisites

Mechanism

  • Fetch data from Pocket/scrape data from Goodreads
  • Parse and format
  • Write to an S3 bucket that has public read access

Pocket

Use this tool by Felix Neumann to get a long-lived access token using the annoying three-legged OAuth flow.

Goodreads

The Goodreads API no longer accepts signups 🥲, so I'm using Beautiful Soup to scrape my Goodreads "read" shelf.

This will break at some point.

Letterboxd

At the time of writing, Letterboxd's API is not available for public signups, but they do expose an RSS feed for each member. E.g., mine. This is straightforward to parse.

Secrets

Stored as GitHub Actions secrets.

# implicitly used by AWS Terraform provider
AWS_ACCESS_KEY_ID
AWS_SECRET_ACCESS_KEY

# explicitly declared in infra/variables.tf
AWS_ACCOUNT_NUMBER
POCKET_CONSUMER_KEY
POCKET_ACCESS_TOKEN