Run at 2AM every day via CloudWatch Events: 0 2 * * ? *
Install http://apex.run/ which is a handly Golang project by @tj which I find easier than AWS SAM or Serverless project (YAML! YUK), which you could use instead.
export AWS_REGION=ap-southeast-1
export AWS_PROFILE=mine
apex init
This creates https://github.com/kaihendry/picofeed/blob/master/project.json and initialises the IAM role on AWS for you tweak the permissions and such.
Notice the functions directory from which the lambda in invoked from.
I use a Makefile to deploy and test my lambda function.
Picofeed is a minimal terminal rss reader. It takes feed urls direct or files of newline separated urls. It fetches all feeds on demand, and displays them.
Things you don't need with picofeed:
- An account
- A subscription
- Any state at all
Honestly it's like a fancy rss curl.
Examples:
picofeed feeds.txt --web
picofeed http://seenaburns.com/feed.xml
picofeed http://seenaburns.com/feed.xml feeds.txt http://example.com/feed.xml
# Use whatever click to open your terminal supports, like cmd+double click in OSX's Terminal.app
./picofeed feeds.txt
# Open in browser with clickable links (wow!)
./picofeed feeds.txt --web
From source, with go 1.11 just run go build
Or there are precompiled binaries in the releases page
Picofeed is built on top of gofeed