Skip to content

A simple Twitter bot made with AWS Lambda to tweet an artist's lyrics from a Contentful repository.

License

Notifications You must be signed in to change notification settings

BitBruce/lambda-lyric-tweeter

Repository files navigation

Lambda Lyric Tweeter

==============================

Note: I am not planning on developing this project as I don't see anyone actually using this, but if you're interested send me a message if you have questions!

Installing and running locally

  1. npm install (will install packages listed in package-lock.json)
  2. node index-test.js (TODO: create)

Uploading code to AWS Lambda

  1. Archive files (not the whole folder): index.js, contentful_config.js, contentful_management-config.js, twit-artist-config.js, node_modules)
  2. Note: AWS Lambda currently supports Node.js 6.10 and therefore ES5, so you can't use async/await :(

INFO

Tweets an artist's lyric from a Contentful repository when called by a Cloudwatch rule where the event is JSON of an artist's name matching the artist name in Contentful.

README TODO

  • Instructions on how to set up AWS Lambda + Cloudwatch rules

CODE TODO

About

A simple Twitter bot made with AWS Lambda to tweet an artist's lyrics from a Contentful repository.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published