Skip to content
site logo mobile

ChatGPT Earthquake: Chains + External Functions For Mind-Blowing Results

Table of Contents

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 engineering, and prompt chaining to get mind-blowing results.

chatgpt earthquake

What does this ChatGPT Script do?

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

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 Openai cost estimations. so you can know how much you are paying for each request.

Why ChatGPT “Earthquake”?

Maybe you are wondering why “Earthquake“?

Honestly, 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 own 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.

python install add path

Step 2: Download the script files.

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

Or you can find it on GitHub here.

Step 3: add your API key.

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

openai api key

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.

run script file

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, at the same time, super easy to be used 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 Before, In order to get the best out of this script, you have to understand how it works and update it based on your own workflows and scenerios.

I made this script as simple as possible, and even I didn’t follow python best practices just 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:

I believe 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 – just 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!

🟥Master the Most In-Demand Skill of the Future!

Enroll in the ‘Become a Prompt Engineer‘ program. We’ll take you from novice to expert in scripting AI workflows. Start your journey here!

What Will You Get?

  • Access to our premium Prompt Engineering Course
  • Access our private support forum to get help along your journey.
  • Access to our Premium Tested Prompts Library.

29 thoughts on “ChatGPT Earthquake: Chains + External Functions For Mind-Blowing Results”

  1. Hassan, great content in your youtube channel and now your even posting python script. Thats the single thing wich intrest me te most.

    Thank you

  2. Dear Hasan,

    I am 66 yrs, with no background training in computer skills. I tried to follow the steps up to step#3 , then I got stuck. After signing into openai, I was lost on what to do to create an API plugin:)
    I know you are very busy.
    Any enlightenments will be greatly appreciated.
    God bless you and your family for your unselfish efforts in helping so many others around the world.
    Thanking you from the bottom of my heart

  3. Hello sir,
    I ran the run-me.bat file but it shows that files are missing. I have python and visual Studio code installed on my windows already. So what should I do?

    1. Hasan Aboul Hasan

      please join us on the forum, and post your question there, we can follow up on technical questions better there

  4. Hi, I followed the step-by-step installation process described in the YouTube video. I also added the API key. However, when I run the batch file, it appears and then disappears from my screen. “Is there a place where I can send screenshots to get help with my problem?” I have uninstalled and reinstalled the program, but I am still unable to run the batch file successfully. I need your assistance with this issue. Additionally, since I am studying the ‘Prompt Engineering Course’, I have been opening scripts from the visual editor. Is there a way to run the script from there without having to run the batch file? Please note that I am not an expert and I am currently learning. Thank you.”

Leave a Reply

Your email address will not be published. Required fields are marked *