About the script
This script will read products from your Shopify store and create a blog post for each one automatically using ChatGPT 3.5 Turbo. Each blog post will be exported to an HTML file, and the first variant image will be saved. The code will create a subfolder and generate a meta title, a meta description, an excerpt and tags based on your content. The content generated is saved to a folder named generated_content. Each subfolder is named as the product title. This is local app and has no security functions and limited error handling. You will be running this app in your terminal, I prefer Visual Studio Code. This script will generate blog content that you will have to manually publish in your Shopify store. This script just removes the tedious task of generating content one at a time. If you have 30 products, it will create content for all 30 products or 25,000 products.
Basic Instructions
In terminal you will need to install these libraies:
python -m pip install nltk or pip install nltk python -m pip install openai or pip install openai python -m pip install ShopifyAPI or pip install ShopifyAPI
Once you installed these libraries right click on shopify_autoblogger.py and select Run Python File in Terminal
Enjoy!
If you experience problems, please comment.