Skip to content

exilonium/MultiredditPoster

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MultiReddit Gallery poster

A Python script to automatically post a gallery of images to multiple subreddits, complete with flair selection and a custom comment.

Features

  • Posts a gallery of images to multiple subreddits
  • Automatically selects and previews flair
  • Adds a predefined comment from a .txt file
  • Supports emojis in post title
  • Interactive preview and confirmation before posting

Setup

1. Clone the Repository

git clone https://github.com/exilonium/MultiredditPoster.git
cd MultiredditPoster

2. Install Dependencies

It’s recommended to use a virtual environment:

python -m venv venv
source venv/bin/activate  # On Windows: venv\Scripts\activate
pip install -r requirements.txt

Dependencies:

  • praw

If you don’t have a requirements.txt, just install manually:

pip install praw

3. Reddit App Setup

  1. Go to https://www.reddit.com/prefs/apps

  2. Scroll down and click "Create App"

  3. Choose "script" as the app type

  4. Fill in:

    • Name: (anything)
    • Redirect URI: http://localhost:8080 (placeholder)
  5. Save and copy:

    • client_id (just under the app name)
    • client_secret

4. Create Your config.json

look at example.config.json

{
  "client_id": "your_client_id_here",
  "client_secret": "your_client_secret_here",
  "username": "your_reddit_username",
  "password": "your_reddit_password",
  "user_agent": "reddit-multi-poster-script by /u/your_username"
}

5. Required Files

Create these plain .txt files in the project folder:

  • title.txt – Your post title (can include emojis)
  • comment.txt – The comment to be posted after the submission
  • subreddits.txt – A list of subreddits, one per line
  • images/ folder – Place your .jpg, .png, .gif files here

Example subreddits.txt:

askreddit
unixporn
anarchychess

Usage

python main.py

You will be prompted to:

  • Choose a flair (if available)
  • Confirm the post preview before submission

Notes

  • Make sure the user account you're posting with has permission to post in the selected subreddits.
  • Avoid spammy behavior — Reddit can ban accounts for excessive or irrelevant posting.

Back Story

I've created this repo cause i wanted to market some cloths images (Reddit gallery)

I couldn't find this feature in any of the existing apps (like infinity ,etc)

So i scripted this script specifically for my personal use. (I don't think anyone else is gonna use this script)

Put the images in img/ directory with names like (1.png, 2.png, etc)

If anyone wants any other feature please create a feature request or pr. (how did you got this repo lol?)

License

MIT

About

A tool to post a single gallary to multiple subreddits

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages