This repo provides an example of a Reddit bot built in Node.js.
Specifically, we are looking at a stream of newly posted comments on reddit, and doing something with their contents.
This is achieved through Snoowrap as a Node.js wrapper for the Reddit API, and Snoostorm as a way to easily access the stream of Reddit comments through Snoowrap.
npm i
Create .env
at root with the following variables, specific to your Reddit app: https://www.reddit.com/prefs/apps/
CLIENT_ID=***
CLIENT_SECRET=***
REDDIT_USER=***
REDDIT_PASS=***
Running the bot
npm start