Skip to content

Using Node.js, Node.io, Express, Mongoose, EJS, and jQuery+Masonry to display Reddit front page or subreddits as an irregular grid of pictures.

Notifications You must be signed in to change notification settings

mmccaff/RedditForThePictures

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

RedditForThePictures

Using Node.js, Node.io, Express, Mongoose, EJS, and jQuery+Masonry to display images from the Reddit front page or subreddits as an irregular grid of pictures. Using Node.io to scrape the data (yes, I know Reddit has an API) and MongoDB to store the link data.

This was written in a few hours to play with some new node modules.

Install

Clone the repo

npm install (to get the dependencies)

Run

Fire it up by running node app.js

Proceed to http://yourhost:3000/ or http://yourhost:3000/r/nameOfSubreddit for a given subreddit. Add ?output=json to instead return json output. Supports jsonp as well.

Demo

http://pure-hamlet-9600.herokuapp.com

About

Using Node.js, Node.io, Express, Mongoose, EJS, and jQuery+Masonry to display Reddit front page or subreddits as an irregular grid of pictures.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published