Skip to content

Generate Buzz on reddit using an infinitely scalable bot farm

License

Notifications You must be signed in to change notification settings

j-jacobson/buzzmasters

Repository files navigation

buzzmasters

Generate Buzz on reddit

This is a Reddit bot that automatically posts and comments on Reddit using OpenAI's GPT-3 language model. The bot selects a random product and a random subreddit related to the product, then posts and comments in the subreddit. You can have any number of bots and the software will split the load between them. You can set the hourly or daily rate of posting, and modify the topics to be injected along with the targetted subreddits.

NOTE:

This code will not work OOTB anymore due to changes to reddit's API in April 2023.

Prerequisites

Before running the bot, make sure you have:

  • Python 3
  • an OpenAI API key.
  • a Reddit API key, a Reddit Client ID, and a Client Secret

Installation

To install the required Python packages, run the following command in your terminal:

make reqs

This runs pip install -r requirements.txt.

To set up the directory structure, run:

make new

Usage

To run the bot, run the following command in your terminal:

make run

This runs python main.py.

The bots will run indefinetely, grabbing subreddits and products and posting and commenting about them.

Note:

Do NOT do vote manipulation or you will be banned/shadowbanned on reddit. This means, do not use the bots to vote on the other bots posts. Reddit rule "all votes must be cast by humans" applies.

Configuration

To configure the bot, you can edit the variables in the .env file. The following variables are available:

Contributing

Please open an issue before opening a PR. If you like this code, please leave a comment or star it. Thanks!

Ethics

Is running bots online ethical? I'm not sure, and suspect not. I never ran a full campaign using this code, it was just a proof of concept. Please think before using this code. Let's make the internet a better place.

Test Zone

You can test on the subreddit /r/buzzmasters.

License

GPLv3

About

Generate Buzz on reddit using an infinitely scalable bot farm

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published