Skip to content

Theryston/instagrammer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Instagrammer

instagram-bot

Who said only humans can have Instagram pages? 😲 This is a robot created with serverless framework (which means that leaving it live on AWS is super cheap) made to create and manage an instagram page. With it, the process is very simple because when you think it's necessary, you'll do everything you need, including creating the posts for you!

Features

  • Create Posts:
    • Search google images for content related to your page's niche
    • Uses artificial intelligence to crop in the most important part of the image
    • Resize image aspect ratio to be between 0.8 and 1.7
    • Resize image to a minimum width of 1080px
    • Convert it to JPG
    • Upload the image to AWS S3
    • Public on your instagram page

How to use

The process to use the robot is very simple but it depends on a little forethought and calm if you have never worked with Meta For Developers or Google Cloud Platform. But here is the step by step to start and run instagrammer:

Downloading the project

This is a very simple step, just copy and clone the code below, we advise you to do this on a linux machine if you have Windows use WSL.

git clone https://github.com/Theryston/instagrammer.git
cd instagrammer

Once you already have the project cloned, just install the dependencies, this in our case is done with yarn, just run the following command in the terminal:

yarn

Once this is done we can start the most interesting part, configure the environment variables, first open the project in your favorite code editor and in the root folder create a file called .env in Visual Studio Code the process will follow like this:

code .
touch .env

Fill the .env file with the data in the .env.example file these are the initial data for the robot to be able to do its work, there are some API Keys and necessary tokens for the Instagram Graph API

Moving up to AWS

Globally install the serverless framework CLI, and configure it with your AWS account credentials

After configuring the credentials, just run the following command:

yarn deploy