Skip to content

Manual Installation

Garlicvideos edited this page Oct 11, 2022 · 2 revisions

Manual Installation

It is encouraged that you turn back and use automated setup instead

File creation

Create these files and directories relative to the bot's current path

  • /configs
  • /configs/customcaption.txt
  • /configs/config.json
  • /configs/subreddits.txt

Configuring the bot

config.json

Open up /configs/config.json in a text editor.

Copy and paste

{
  "instagram": {
    "insta_username": "username",
    "insta_password": "password",
    "frequency": 1500000
  },
  "postProcess": {
    "autohashtags": "no",
    "ocr": "no"
  },
  "snooper": {
    "sort": "hot",
    "top": 15
  }
}

Afterwards, replace username with the username of the Instagram account you'd like this bot to operate on.

Likewise, replace password with the password of the Instagram account associated with the username in insta_username.

1500000 can be replaced with any interval you'd like, in milliseconds.

You may replace no with yes to enable individual modules of the bot, such as autohashtags and ocr.

You can only replace hot with either top_24, top_day, controversial or rising.

15 can be replaced with any number you'd like.

For more information on the config options presented above, head over to the configuration information page.

subreddits.txt

Open up /configs/subreddits.txt in a text editor.

Type in the subreddits you'd like the bot to browse for posts while complying with the format shown in the subreddits.txt section of the configurations page

It is important to follow the guidelines shown there as the failure to do so will cause the bot to crash.

customcaption.txt

Open up /configs/customcaption.txt in a text editor.

Type in anything you'd like to be added on top of the original caption of every post.

It would end up like this on Instagram after the post has been uploaded:

<Image of the post>

<Caption gathered from the title of the post on reddit>

<The custom caption you typed in /configs/customcaption.txt

<The hashtags automatically generated by the bot, if the feature was enabled

Congratulations! Once all the steps above have been followed, run node beepboop.js in the directory of the bot itself. Any other directories required by the bot will be automatically created, and your reposting regime will begin.

Clone this wiki locally