Skip to content

Latest commit

 

History

History
49 lines (32 loc) · 926 Bytes

README.md

File metadata and controls

49 lines (32 loc) · 926 Bytes

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