This is a simple Reddit user interface. It is built with NodeJS and snoowrap, a JavaScript wrapper for the Reddit API.
This Reddit UI requires Node.js v4+ to run. Clone the repository and make sure to install the required dependencies.
$ git clone https://github.com/vartanbeno/RedditUI.git
$ npm install --save
$ node app.js
First, make/log into your Reddit account and get your client ID and client secret. To do so:
- Go in preferences.
- Click on the "apps" tab.
- Click on the "create another app..." button.
- Choose script, fill out the form however you would like.
- Click on the "create app" button.
- Your client secret is next to the "secret" field, and your client ID is the string of characters under the name of your app.
- Using this information, go in the app.js file and replace the needed values in the reddit constant.