https://github.com/RiccardoSenica/hackernews-lambda-on-aws
AWS Lambda function to send a daily newsletter with HackerNews top posts
https://github.com/RiccardoSenica/hackernews-lambda-on-aws
aws dynamodb go lambda-functions
Last synced: about 1 year ago
JSON representation
AWS Lambda function to send a daily newsletter with HackerNews top posts
- Host: GitHub
- URL: https://github.com/RiccardoSenica/hackernews-lambda-on-aws
- Owner: RiccardoSenica
- License: mit
- Created: 2022-07-10T16:36:58.000Z (almost 4 years ago)
- Default Branch: main
- Last Pushed: 2022-09-09T14:58:47.000Z (almost 4 years ago)
- Last Synced: 2025-02-27T21:52:22.354Z (over 1 year ago)
- Topics: aws, dynamodb, go, lambda-functions
- Language: Go
- Homepage:
- Size: 36.1 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# 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