ChatGPT Earthquake: New Automated Script For Mind-blowing Results

Combine The Power of Prompt Chaining With External Functions

Hasan Aboul Hasan
4 min readMay 23, 2023

In this post, I will share with you a new Automated Script. I called it the “ChatGPT Earthquake”

This script combines the power of external functions like Google search prompt chaining to get mind-blowing results.

What does this ChatGPT Script do?

You will be asked to enter a search keyword or topic when you run the script file.

Then, In just a few seconds, this script will search the web for your topic’s latest articles and information. It will extract the top X results.

Then it will create bullet point summaries for you, generate many content and tweet ideas, and provide you with a simple, clean PDF report that includes cost estimations. so you can know how much you are paying for each request.

Why ChatGPT “Earthquake”?

Maybe you are wondering why “Earthquake“?

I don’t know; I just wanted to give a catchy name for the script! Even the image shows a tornado and not an earthquake! Maybe I wanted something catchy or thought about shaking the web and getting mind-blowing results. I don’t know!

Anyway, it is not that important. The script is super powerful, especially if you understand its simple code and update it based on your custom needs.

How to run the script?

Step 1: Install Python

If you don’t have Python installed on your computer, go to Python downloads. Download, and While installing, make sure to tick the “add to path” checkbox to make things a lot easier for you in the future.

Step 2: Download the script files.

Click on the button below to download the script files. It is free and open source.

Download Script Files

Or you can find them on GitHub here.

Step 3: add your API key.

If you don’t have one, sign up on OpenAI and create an API key. Then, paste it into the script — it’s that simple!

Step 4: run the batch file.

Double-click on the “run-me.bat” file and everything will be installed automatically. I created the script in a way that installs all the requirements automatically. So you don’t have to worry about anything.

Follow the prompts, enter your topic — and voila! You’ll see all the magic happening right before your eyes. You’ll have summaries, content ideas, tweets, and much more.

The OneShotGPT Open Source Library

This script is a small tiny part of my new project, The “OneShotGPT” free, open-source library.

Last week, I tweeted about it, and I showed my progress

I am trying my best to make this library the best GPT automation library on the internet and, simultaneously, super easy to use by anyone. Even total beginners.

Keep an eye on my Twitter profile to get all updates or DM me there if you like to collaborate, and you can join my newsletter here to get all my weekly updates so as not to miss anything

Understand the script

As I mentioned, To get the best out of this script, you must understand how it works and update it based on your workflows and scenarios.

I made this script as simple as possible and didn’t follow Python's best practices to keep it simple.

The app.py file is the main Python script. We start by searching Google for the top results related to your topic.

Then, we loop through these results, extract the articles, and create bullet-point summaries for each one, content ideas based on these summaries, as well as a series of tweets.

Then we calculate the tokens to estimate the cost of running this script.

If you missed my video explaining this script, you can watch it below and learn more about how to customize it:

This script has a big potential to help you automate your workflows. And even build a business on top of it by automating your client's workflows!

You don’t need to be a coding expert — dedicate one or two hours of your day to learn, and you’ll see that in no time, you’ll be able to master Python scripting and GPT Automation. Don’t waste time watching Netflix and YouTube — start learning something new today!

You can start with my Free ChatGPT Advanced Course to learn Python scripting and Chatgpt automation.

And if you need help, I just launched my new forum where you can get free support and discuss topics like prompt engineering, python scripting, marketing automation, and much more!

Join the Forum here

Don’t hesitate to take action and join the conversation. See you soon!

Today’s Quote:

Anyone who stops learning is old, whether at twenty or eighty….

Don’t Miss my upcoming strategies and tutorials:

I am here to help; waiting for you in the comments.

--

--

Hasan Aboul Hasan

Simplifying AI & Python Learning • Publish ONLY Exclusive Research-Based Tips & Tutorials • Founder @LearnWithHasan & @SimplerLLM