Skip to content

RiccardoSenica/hackernews-lambda-on-aws

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

hackernewsletter

Command to build the executable for manual upload to Lambda: GOOS=linux CGO_ENABLED=0 go build -o main .

Required variables:

  • FETCH_SIZE: how many news to fetch
  • BATCH_SIZE: batch size for DB write
  • REGION: AWS region
  • SENDER: sender email address
  • RECIPIENT: recipient email address

About

AWS Lambda function to send a daily newsletter with HackerNews top posts

Topics

Resources

License

Stars

Watchers

Forks