Hello everyone. In this article, I will demonstrate how I, someone who knows only the basics of programming, was able to create a WordPress website, the one you are currently reading, with over 7,000 posts created on various different topics, in just one week and all costing less than $40. Check the videos in the end of the post to see the code running.
The Site Creation
Since the ChatGPT fever, which took the world by surprise and is the most talked-about topic, I have been amazed by its power. I started using it in my daily life to ask questions about anything I was curious about. At this point, I thought, what if I created a blog and put everything I researched on it? However, I remembered that I didn’t know how to create a website. So I decided to ask ChatGPT how to create a blog. After it was explained to me, I was able to create the website you are accessing right now.
The Content Creation
Okay, website created, but what about the content? Then I remembered that it would be laborious to generate each post manually, copy the generated text, create a title, choose a category, choose a photo, download a photo, upload the photo, and so on. So, I asked ChatGPT again, how can I automate my content creation? That’s when it told me about APIs, and that OpenAI had its own API for this. Then, I asked for an explanation on how it works, and after some back and forth, it generated a code in Python language, which basically explained everything I needed to know.
The Pictures Creation
Okay, API created, but what about the pictures? Well, in this case, I asked ChatGPT again how to automatically download the photos and then how to use them in my post. Answer given, and answer used. After making everything work, I was able to create my first post. I created 2, created 20, etc. However, I realized that the provided code generated one content at a time.
The Journey of Multi-Threading Creations
For example, in my pepper series where I created posts explaining each type of pepper, the Python code would have something like pepper=[“Jalapeno”,”Black Pepper”,”Ghost Pepper”] in the creation list. However, as each post generation took about 1.5 to 2 minutes, I thought, there must be a way to create posts in parallel, instead of creating the Jalapeno post first, it can also create the Black Pepper post at the same time. So, I went back to ChatGPT and asked how to process code in parallel. However, this part was more critical. The code was not entirely ready, and it took me about 2 weeks, due to my layman knowledge, to adapt my code and finally be able to create as many posts as I want at the same time. So, in the same 2-minute time frame, instead of creating 1 post, I was able to create, for example, 10 posts. The limit of posts created is determined by the ChatGPT API limit per minute.
Having done this, I was able to create over 7,000 posts, each with an image, and each post with around 500 words, covering various topics, from biographies to university rankings, for example. And this was done in just one week. With 7,000 posts generated, Google has already indexed over 1,000 pages of my site, and I’m getting more and more traffic every day.
Moral of the story: I created this project not to make money, as you can see that this site is not monetized, but to prove that with the use of AI today, I was able to create a website, a content generation system, an image capture system, and a post creation system on WordPress, ALL IN AN AUTOMATED WAY. It’s a very good feeling of accomplishment and inner peace. I hope this post inspires you too.
Note: Well, this post was made by real me, at least. =)
Video 1: Live-View of my system work
Video 2: I decided to modify my code a bit and finally managed to make a post with multiple GPT API calls in a single post. For example, if I wanted to make a guide on all types of grapes, and let’s say there are 50, I would have had to make 50 posts, one for each grape and also download 50 differents pictures for each page. However, this would have generated 50 different pages with little content in each and might be bad for SEO as the lenght of the post will be short and Google might find it as spam.
With the modifications I made, I can now generate content for each of the 50 grapes, and only after that, it combines everything into a single file and creates on WordPress for all 50 grapes in a single post. It would be like a Mega Post about grapes, instead of 50 fragmented posts. As there is a token limitation in the GPT API, I had to make 50 individual calls and was struggling with this, but I finally managed to overcome it. This mega post with more than 20.000 words, cost me about $.15 Cents
Check the page created: https://www.tigove.com/food/the-ultimate-grapes-guide-learn-everything-about-it/