Skip to content

myerich/HappyNews

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

HappyNews

Tired of seeing your feeds filled with sensationalist fear-mongering stories? Shoot a text to Happy News and it'll send you uplifting news scraped right off of the front of /r/UpliftingNews.

How to set-up

Get a free API key from Twilio for sending automated text messages. Next, modify the creds.json file to include your account SID and authentication token.

Install Serverless for easy deployment to an AWS CloudFormation stack using

npm install -g serverless

Follow the instructions here to set up Serverless with your AWS credentials.

Then from the HappyNews directory, install additional node dependencies with

npm install

and use Serverless to deploy the Lambda function over S3.

serverless deploy

Finally, copy the "endpoint" uri printed out by serverless, and navigate to "All Products and Services" > "Phone Numbers" from your Twilio dashboard. Select your active phone number, and paste the uri into the field under Messaging labeled 'A Message Comes In'. Make sure 'HTTP Post' is selected to the right. Hit save and start enjoying HappyNews by texting the Twilio number.

License

This project is licensed under the MIT License - see the LICENSE.md file for details

About

SMS Bot that sends you uplifting news daily. Built with AWS Lambda and Twilio

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors