Skip to content

Simple JAR that fetches populair posts from a subreddit and inserts them into a MongoDB.

License

Notifications You must be signed in to change notification settings

mugai-bot/reddit-fetcher

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Reddit Fetcher

Contributers

Built With

  • JRAW - Reddit API Wrapper (Java)
  • MongoDB - Database Driver
  • dotenv - Loading environment variables

Getting Started

To get a local copy up and running follow these simple steps.

Prerequisites

Make sure you have to following services ready.

  • MongoDB Database
  • VPS/Dedicated Server
  • Reddit Username, Password, ClientID and Client Secret.

Installation

  • Download the JAR
wget https://github.com/mugai-bot/reddit-fetcher/releases/download/1.0/RedditFetcher-1.0.jar
  • Setup your .env file. (See template here)
  • Run java -jar RedditFetcher-1.0.jar
  • Setup a cronjob to automate this process.

License

Distributed under the MIT License. See LICENSE for more information.

Contact

Project Link: https://github.com/mugai-bot/reddit-fetcher

About

Simple JAR that fetches populair posts from a subreddit and inserts them into a MongoDB.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages