brdsio / tau

:bird: Template for creating a tweetbot with AWS Lambda

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

By Tim Hopper: tdhopper.com

alt text alt text

Tau: auto-tweet with AWS Lambda

Steps for setting up auto-tweet account (using OS X or Linux):

  1. Create Twitter app and get consumer and access keys.
  2. Fork this repository and clone to local.
  3. Run make credentials_file to create twitter_credentials.json.
  4. Add consumer and access keys to twitter_credentials.json.
  5. Modify tweet_content function in tweet.py to generate tweet string (140 characters or less).
  6. Add PyPI dependencies to requirements.txt.
  7. Run make prepare to generate lambda_bundle.zip.
  8. In the AWS console, create a Python 2.7 function with tweet.send_tweet as the handler. Upload lambda_bundle.zip to use as the code. Add a "Scheduled Event" event source.
  9. Profit.

About

:bird: Template for creating a tweetbot with AWS Lambda

License:The Unlicense


Languages

Language:Python 54.3%Language:Makefile 45.7%