No description, website, or topics provided.
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
scripts
updater
.envrc.sample
.gitignore
.travis.yml
Makefile
README.md
intervals.go.sample
intervals_test.go
main.go

README.md

perpetual Build Status

An experiment in long-term thinking.

go get -u github.com/aws/aws-lambda-go/lambda
go get -u github.com/dghubble/oauth1
go get -u github.com/golang/lint/golint
go get -u github.com/stretchr/testify/require

make

Setting interval messages

cp intervals.go.sample intervals.go
# edit intervals.go

Getting an access token

After creating an app, Twitter allows you to create a person access token and access token secret pair for it. This will be under a section called Your Access Token on the app's keys page.

You will need to copy out all four of your consumer key, secret, access token, and access token secret.

Lambda

  1. Use make package to create a .zip to upload.
  2. Set "Handler" (under "Function Code") to the name of the zip file, perpetual.
  3. Set environmental variables for each of the four keys above.
  4. Set a tag for app=perpetual to make these easy to find.