<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>Forem: Stepn Alien 👽 (💙,🧡) 🔥</title>
    <description>The latest articles on Forem by Stepn Alien 👽 (💙,🧡) 🔥 (@stepnalien).</description>
    <link>https://forem.com/stepnalien</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F3614499%2Ff4793246-1237-44a9-831c-6f750ddd5d70.jpg</url>
      <title>Forem: Stepn Alien 👽 (💙,🧡) 🔥</title>
      <link>https://forem.com/stepnalien</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://forem.com/feed/stepnalien"/>
    <language>en</language>
    <item>
      <title>I built 'EarthquakeToday,' a 24/7 multi-platform bot in Python. In its first month, it's served 3k visitors.</title>
      <dc:creator>Stepn Alien 👽 (💙,🧡) 🔥</dc:creator>
      <pubDate>Mon, 17 Nov 2025 03:46:57 +0000</pubDate>
      <link>https://forem.com/stepnalien/i-built-earthquaketoday-a-247-multi-platform-bot-in-python-in-its-first-month-its-served-3k-3ob7</link>
      <guid>https://forem.com/stepnalien/i-built-earthquaketoday-a-247-multi-platform-bot-in-python-in-its-first-month-its-served-3k-3ob7</guid>
      <description>&lt;p&gt;&lt;strong&gt;The Problem&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;I've always been frustrated by how difficult it is to get simple, real-time earthquake data. Most news sites are slow, cluttered with ads, and make it hard to find the basic info you need.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;My philosophy is that essential safety data should always be free and hassle-free.&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;The Solution: A Bot &amp;amp; A Website&lt;/p&gt;

&lt;p&gt;So, I decided to build a complete, end-to-end solution to solve this. My project has two parts:&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;The Website:&lt;/strong&gt; &lt;a href="https://earthquaketoday.org" rel="noopener noreferrer"&gt;https://earthquaketoday.org&lt;/a&gt;&lt;br&gt;
&lt;strong&gt;A clean, fast, 100% ad-free site for viewing real-time earthquake data on an interactive map.&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;The Bot: A 24/7 Python bot that automates everything.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;How the Bot Works&lt;/strong&gt; (The Tech Stack)&lt;/p&gt;

&lt;p&gt;This was the fun part! I built the bot in Python, running 24/7 on an Ubuntu VPS, managed by pm2.&lt;/p&gt;

&lt;p&gt;Every 3 minutes, the bot's job queue fires and it:&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Fetches Data:&lt;/strong&gt; Scrapes the latest 1-hour feed from the official USGS API.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Filters Data:&lt;/strong&gt; Ignores any quake below M1.5 and checks against a local JSON file to prevent posting duplicates.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Posts to Socials:&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Formats and posts an alert to Telegram (using python-telegram-bot).&lt;/p&gt;

&lt;p&gt;Formats a different, more engaging post (with dynamic location hashtags!) to X/Twitter (using tweepy).&lt;/p&gt;

&lt;p&gt;Posts to my official Facebook Page (using the facebook-sdk).&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Pings for SEO:&lt;/strong&gt; This is my favorite part. The instant a new quake is posted, the bot automatically pings IndexNow (both Bing and Yandex) with the new earthquaketoday.org URL. This gets the new quake page indexed by search engines in minutes.&lt;/p&gt;

&lt;p&gt;The bot is also interactive! I built in command handlers so users can DM the bot and get the latest quake info on demand.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;The Result (So Far)&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;I'm humbled to see that in just its first month, with no promotion other than its own automated posts, the site has already served nearly 3,000 visitors! &lt;br&gt;
&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Ff4v6xrb5tcping1h9o8p.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Ff4v6xrb5tcping1h9o8p.png" alt="ErthaquakeToday traffic info by Semrush " width="800" height="248"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;It feels great to build a tool like &lt;a href="https://earthquaketoday.org" rel="noopener noreferrer"&gt;Earthquake Today&lt;/a&gt; that people are genuinely finding useful.&lt;/p&gt;

&lt;p&gt;What do you think? I'd love to hear any feedback from the dev community!&lt;/p&gt;

</description>
      <category>showdev</category>
      <category>python</category>
      <category>webdev</category>
      <category>devjournal</category>
    </item>
  </channel>
</rss>
