/alexa-redditnews

An Alexa skill to relay the latest Science Subreddit posts

Primary LanguageJavaScript

Reddit News

Description

This is a simple Alexa back-end which periodically checks for the latest posts in various subreddits, and then makes them accesible to Amazon Alexa users through corresponding Alexa skills.

It is fully prepared to be deployed to Heroku, and can also be run on a private server.

Deployment

Lambda:

Create a function in Lambda, and use lambda/Archive.zip as the source code. Configure the Alexa skill to interface with this Lamba function.

Heroku:

git clone https://github.com/huberf/alexa-redditnews
cd alexa-redditnews
heroku create
git push heroku master

Locally:

git clone https://github.com/huberf/alexa-redditnews
cd alexa-redditnews
npm install
node app.js

Notes & Considerations:

The server won't start accepting requests until posts from each subreddit have been fully loaded. This is to prevent a users query from returning a null value. Also, the utterances.txt and intents.json files are only there to serve as examples of how to configure such things in the Amazon dashboard.