Skip to content

collinco/SavedRedditInterface

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

36 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

7/9/2023 UPDATE

Confirmed this project still works. However the free tier of Heroku this was hosted on is no longer available. I am no longer working on this project and thus there are no plans to rehost.


Saved Reddit Interface

https://reddit-saved-app.herokuapp.com

Table of Contents
  1. About The Project
  2. Features
  3. Local Installation
  4. Branches
  5. TODO
  6. License

About The Project

This tool lets Reddit users access all of their saved posts or comments on one page. This was meant to solve the problem of manually scrolling through ~25 items at a time with the Reddit website. In addition to viewing your post/comments, there is the ability to un-save them directly from the app. Users are authenticated with OAuth2 for 1 hour with relevant score. I have this code hosted on a small and slow heroku instance here : https://reddit-saved-app.herokuapp.com. Please feel free to open a PRs for any improvement!

Built With

Features

After authenticating users will be able to:

  • see all your saved items on one page
  • see how exactly how many posts or items you have
  • follow a link to the item
  • un-save an item

Local Installation

If you don't trust the website and/or want to mess with things locally, please feel free to clone the repo! Use the below steps to get up and running

  1. Clone the 'Master' branch and navigate to it.
git clone git@github.com:collinco/SavedRedditInterface.git
cd SavedRedditInterface
  1. Run npm install to get necessary packages.

  2. Create a Reddit app using your profile here : https://www.reddit.com/prefs/apps/. Make sure you set the redirect URI to your server image

  3. Create a config.js file with your Reddit App details. put it in the root directory where app.js is.

var config = {};

config.userAgent = "A Computer";
config.clientId = "d1OayiDXkXFby";
config.clientSecret = "2lunMerjKDS9syW-5OWYagDKJUsY";

module.exports = config;
  1. run node app.js to start the server.

Branches

  • the 'Master' branch is what should be downloaded if someone wants the code since it is missing the Heroku environment variables.
  • the 'Heroku' branch is what is currently on the website hosted by Heroku. It is redeployed after new commits are pushed to 'Heroku'.

TODO

Possible improvements:

  • ability to minimize comments and posts sections
  • better/lazy loading
  • revamp design, very basic currently
  • display user's account name

License

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