Skip to content
site logo mobile

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

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 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.
Earn Points for Every Share!

Hasan Aboul Hasan

Digital Entrepreneur with 8+ years' experience, Founder & Developer of PromoterKit. Helping Digital Marketers to achieve 10X results using AI and Automation.

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

  1. How can I turn this into a website tool?
    What is the best method to run Python in a cyberpanel hosting?
    Will be nice if you upload a video about this process.

    Thank you in advance buddy ๐Ÿ˜€

    1. To keep it all python you could ask it to create a python/flask one page web app to build ___ though it might take a couple of prompts… You need to be able to install dev tools and run the code, might be tough if you’re unfamiliar but you can always ask the bot…

  2. Salaams Hassen

    I have never used Python in my life and following the script was easy even for me as a newbie
    Is there any way for me to copy the output while its still on that cmd screen before it exports to the PDF ie – i want the info in its raw format not only bullet form?


  3. Hi Hasan,

    Thank you for sharing this fantastic tool.
    I have tried to run it on my local machine and I’m getting the following:
    `[0526/163928.346:INFO:CONSOLE(0)] “Error with Permissions-Policy header: Unrecognized feature: ‘ch-ua-form-factor’.”, source: (0)`
    Any idea on what could be the root cause?
    seems to be rated to one of the Python packages versions or to my Chrome version (currently running Version 113.0.5672.127 (Build officiel) (64 bits))

    Thank you again for all of your content, keep going!

  4. Hassan, I’m trying to install on a MacOS.
    Have python installed etc. but I am getting errors.

    /Users/…../CHATGPT/GPT-EarthQuake/run-me.bat: line 1: @echo: command not found
    Installing necessary Python modules…
    /Users/…../CHATGPT/GPT-EarthQuake/run-me.bat: line 3: pip: command not found
    Running Python script…

  5. Thank you Hasan! I look forward to all your content and emails. Your kindness is empowering people like me who would otherwise be lost or give up on technology. Because of people like you, I am actively learning and working on simple projects to stay viable in this quick changing world.

Leave a Reply

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