Skip to content

6nb/reddit-autopost

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Reddit AutoPost

Reddit post automation with NodeJS.

Setup

Install NodeJS and request. Download and unzip the repo.

On windows run setup.bat then run.bat. Alternatively,

npm init -y

npm i request

and node . to run

Creating Files

Account and post information is stored in .json files. Use example.json as a formatting guide.

Adding Accounts

Account files are located in the /accounts/ folder and require this info:

You can obtain an app id and secret by visiting this site and selecting create an application. Fill out the form, click create app, then click edit to show the values.

Adding Posts

Post configs are stored in the /posts/ folder and require this info:

type = the type of post: "text," "image," or "link"

content = either some text or a url depending on type

Running Commands

Enter these into the terminal to start posting:

  • p {account} {post} - make a single post. You can leave out account or post for random selection.
  • l [delay in minutes] - loop posting on a set interval, cycling through your accounts and posts.
  • f - list account and posts files.
  • c - cancel active loops

Example

example.autopost.mp4