reddit-votewatch

command module
v0.0.0-...-af9d918 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 4, 2023 License: GPL-3.0 Imports: 6 Imported by: 0

README

subreddit-logger

This software watches a set of subreddits and tracks new posts shortly after their creation. Tracked posts are watched and their upvote + comment counts are recorded on defined intervals. This software is useful if you wish to observe specific subreddits for upvote manipulation.

installation

After you download and build the source, some things are required for subreddit-logger to work.

.env

A .env file located in the same directory as your build is required. See .env.template for guidance on what information is required for this program to work. All configuration, besides for tracked subreddits, is defined in this file.

database

a MongoDB server is used by this software to record data. The connection string is required in the .env file. More info on the database can be found in .env.template

reddit API secret

As expected, you need API credentials from Reddit. See https://www.reddit.com/prefs/apps to obtain a client and secret for your .env.

usage

After you have your executable built and .env filled out, you need to specify the subreddits to watch the subreddits.json file stored in the same directory. Example:

{
    "subreddits": [
        "subredditname",
        "anothersubredditname",
        "wallstreetbets",
        "clubpenguin"
    ]
}

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL