View deleted stuff from reddit
Find a file
Christopher Gurnee 0081278e3c Replace maxComments in state w/loadingMoreComments
maxComments is now only the user-preferred setting, and has nothing to
do with displayed state. loadingMoreComments is used to trigger loading
more comments, and temporarily contains the desired comment count to
load. This should make future changes easier. Also fix two minor bugs:

 * the 'Reload' was sometimes hidden after clicking 'load more comments'
 * 'loaded x more comments' incorrectly appeared after clicking 'Reload'
2022-03-16 21:54:47 +00:00
dist Add feedback after 'load more comments' completes 2022-02-26 13:07:38 -05:00
src Replace maxComments in state w/loadingMoreComments 2022-03-16 21:54:47 +00:00
.babelrc Remove plugin now included by default 2021-11-03 10:12:15 -04:00
.gitignore Update dependencies 2021-10-12 14:48:29 +00:00
LICENSE Updated license 2018-02-18 01:31:59 +01:00
package-lock.json Update dependencies 2022-02-15 09:56:48 -05:00
package.json Update dependencies 2022-02-15 09:56:48 -05:00
README.md Replace OAuth client ID 2021-11-01 11:50:10 -04:00
TODO Updated url for ceddit links 2019-12-05 10:41:21 +01:00
webpack.config.js Update dependencies 2021-10-06 22:02:14 +00:00

Unddit

Unddit is a site for undoing the removal of comments for Reddit. Just go to any Reddit post and replace the re of reddit in the URL with un to see all removed comments.

This is a done by comparing the comments being stored in Jason Baumgartner's Pushshift Reddit API and the ones from Reddit's API. The frontend, developed by Jesper Wrang and originally available at removeddit.com, is written in React and uses Sass as the CSS Preprocessor.

Development

Download npm

git clone https://github.com/gurnec/removeddit.git && cd removeddit

npm install
npm start

This will build the Javascript files and launch a local server for development. Visit http://localhost:8080 and make sure the site is running. If you're getting connection errors to Reddit or Pushshift, it might be because you're running a VPN. Try turning it off for development.

The CSS is build seperatly (to keep the build steps / configs very simple) by running

npm run css