ndrwbv / instargam-content-bot

🤖 Bot that makes Instagram posts

Home Page:https://www.instagram.com/bot_keklik/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

It was fun in 2019 but now this repository archived

What is it?

This is a bot. It draw quotes from https://www.goodreads.com on pictures from unsplash, then adds description, hashtags and post it in instagram.

Dependencies

  • convert
  • Instagram-API (PHP)
  • cheerio
  • iconv-lite
  • request

Instalation

wget https://github.com/ndrwbv/instargam-content-bot/archive/1.1.zip
unzip 1.1.zip
cd instargam-content-bot-1.1
./init.sh

npm and composer required

I don't have composer

wget https://github.com/ndrwbv/instargam-content-bot/releases/download/1.1/instargam-content-bot-full.zip
unzip instargam-content-bot-full.zip
cd instargam-content-bot-full
./init.sh

Run

./start.sh

Server setup

Cron

To use cron, you need to set absolute path to variable $full in start.sh, as well as PATH in uploadPhoto.php and in require './Vendor/autoload.php',

To add task:

crontab -e

To run task every day:

0 1 * * * /home/pi/instagram/start.sh >> /home/pi/logs/insta_bot.log

Check that the task has been added:

crontab -l

Links

Profile: https://www.instagram.com/bot_keklik/

Instagram-API (PHP): https://github.com/mgp25/Instagram-API

About

🤖 Bot that makes Instagram posts

https://www.instagram.com/bot_keklik/

License:MIT License


Languages

Language:JavaScript 56.4%Language:Shell 23.2%Language:PHP 20.4%