Skip to content

ftuyama/instagram-post-generator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

instagram-post-generator

Generates posts for Instagram with spiritual quotes

Setup

Create a .env file with this content:

INSTAGRAM_USERNAME='yourusername'
INSTAGRAM_PASSWORD='password'
OPENAI_TOKEN="..." # Optional, for image generation
IMAGE_FLAVOUR="Cosmic spiritual" # Optional, param used to generate OpenAI image

Install project

git clone git@github.com:ftuyama/instagram-post-generator.git
make install

How to use

Creating the Instagram Post (it will generate an image with OpenAI + fetch a random quote from internet):

make run

Publishing the post on Instagram:

make publish

Example

Example image

Advanced

You may also generate a post using a pre-defined template.

make template

For that, you need to setup in assets/ folder three images: begin.png, middle.png and end.png