/tau

:bird: Template for creating a tweetbot with AWS Lambda

Primary LanguagePythonThe UnlicenseUnlicense

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.