Generates posts for Instagram with spiritual quotes
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
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
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