惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

Engineering at Meta
Engineering at Meta
雷峰网
雷峰网
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
B
Blog
Y
Y Combinator Blog
WordPress大学
WordPress大学
Microsoft Azure Blog
Microsoft Azure Blog
小众软件
小众软件
G
Google Developers Blog
云风的 BLOG
云风的 BLOG
罗磊的独立博客
博客园 - 三生石上(FineUI控件)
博客园 - 叶小钗
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
量子位
The Cloudflare Blog
T
The Blog of Author Tim Ferriss
博客园_首页
B
Blog RSS Feed
Hugging Face - Blog
Hugging Face - Blog
IT之家
IT之家
阮一峰的网络日志
阮一峰的网络日志
L
LangChain Blog
宝玉的分享
宝玉的分享

DEV Community

Authentication Security Deep Dive: From Brute Force to Salted Hashing (With Java Examples) Why AI Systems Don’t Fail — They Drift Spilling beans for how i learn for exam😁"Reinforcement Learning Cheat Sheet" I Replaced Chrome with Safari for AI Browser Automation. Here's What Broke (and What Finally Worked) How Python Borrows Other People's Work The $40 Architecture: Processing 1 Billion API Requests with 99.99% Uptime Vibe Coding: A Workflow Guide (From Zero to SaaS) Most webhook security guides protect the wrong side. The scary part is delivery. Headless CMS for TanStack Start: Build a Blog with Cosmic EU Age Verification App "Hacked in 2 Minutes" — What Actually Happened Comfy Cloud’s delete function does not actually remove files Running AI Models on GPU Cloud Servers: A Beginner Guide Event-driven media intelligence with AWS Step Functions and Bedrock I scored 500 AI prompts across 8 quality dimensions — here's what broke How to Call Google Gemini API from Next.js (Free Tier, No Backend Needed) The Portal Protocol: Reclaiming Human Connection in the Age of AI How to Fix Your Team's Scattered Knowledge Problem With a Self-Hosted Forum Intro to tc Cloud Functors: A Graph-First Mental Model for the Modern Cloud Designing Multi-Tenant Backends With Both Ownership and Team Access I Built a Neumorphic CSS Library with 77+ Components — Here's What I Learned PostgreSQL Performance Optimization: Why Connection Pooling Is Critical at Scale Cómo construí un SaaS multi-rubro para gestionar expensas en Argentina con FastAPI + Vue 3 🚀 I Built an Ethical Hacking Scanner Tool – Open Source Project I Replaced /usage and /context in Claude Code With a Single Statusline A Pythonic Way to Handle Emails (IMAP/SMTP) with Auto-Discovery and AI-Ready Design I Collected 8.9 Million Polymarket Price Points — Here's What I Found About How Markets Really Move EcoTrack AI — Carbon Footprint Tracker & Dashboard Everyone's Using AI. No One Agrees How. 5 self-hosted ebook managers worth trying in 2026 Building Your First AI Agent with LangChain: From Chatbot to Autonomous Assistant
How to detect when GitHub, AWS, or Discord is down — usin...
Denis Domino · 2026-05-11 · via DEV Community

Denis Domino

When your app breaks, the first question is always: is it us, or is it them?

If you depend on GitHub, AWS, Discord, Stripe, Cloudflare, or any major third-party service, you've probably wasted hours debugging your own code only to find out the service was down the whole time.

There's a free API for this. Let me show you how to use it.

Meet DownStatus

DownStatus is a free, public JSON API that gives you real-time status for 90+ popular services — no API key required.

curl https://isitdownstatus.com/api/status/github

Enter fullscreen mode Exit fullscreen mode

Response:

{
  "service": "github",
  "status": "operational",
  "updated_at": "2026-05-11T08:00:00Z"
}

Enter fullscreen mode Exit fullscreen mode

That's it. No signup, no tokens, no rate limit headers to parse.

Practical use cases

1. Show a banner when a dependency is down

async function checkGitHubStatus() {
  const res = await fetch('https://isitdownstatus.com/api/status/github');
  const data = await res.json();

  if (data.status !== 'operational') {
    showBanner(`GitHub is currently ${data.status}. Some features may be unavailable.`);
  }
}

Enter fullscreen mode Exit fullscreen mode

2. Skip CI/CD steps when upstream is down

#!/bin/bash
STATUS=$(curl -s https://isitdownstatus.com/api/status/github | jq -r '.status')

if [ "$STATUS" != "operational" ]; then
  echo "GitHub is $STATUS — skipping deployment"
  exit 0
fi

# continue with deployment...

Enter fullscreen mode Exit fullscreen mode

3. Alert your team proactively (Node.js + Slack)

const SERVICES = ['aws', 'github', 'stripe', 'cloudflare'];

async function checkAll() {
  for (const service of SERVICES) {
    const res = await fetch(`https://isitdownstatus.com/api/status/${service}`);
    const { status } = await res.json();

    if (status !== 'operational') {
      await notifySlack(`⚠️ ${service} is ${status}`);
    }
  }
}

// Run every 5 minutes
setInterval(checkAll, 5 * 60 * 1000);

Enter fullscreen mode Exit fullscreen mode

4. Python health check script

import requests

SERVICES = ['aws', 'discord', 'github', 'stripe']

def check_dependencies():
    issues = []
    for service in SERVICES:
        r = requests.get(f'https://isitdownstatus.com/api/status/{service}')
        data = r.json()
        if data['status'] != 'operational':
            issues.append(f"{service}: {data['status']}")
    return issues

if __name__ == '__main__':
    problems = check_dependencies()
    if problems:
        print("Upstream issues detected:")
        for p in problems:
            print(f"  - {p}")
    else:
        print("All services operational ✓")

Enter fullscreen mode Exit fullscreen mode

Services covered

90+ services including:

  • Cloud: AWS, Google Cloud, Azure, Cloudflare, Vercel, Netlify, DigitalOcean
  • Dev tools: GitHub, GitLab, npm, Docker Hub, Sentry
  • Payments: Stripe, PayPal, Braintree
  • Comms: Discord, Slack, Twilio, SendGrid
  • Data: Airtable, Notion, MongoDB Atlas, Supabase

Why I built this

Debugging "is it us or them?" is a universal dev experience. Every monitoring tool I found either required signup, had rate limits, or cost money. DownStatus is just a clean, free JSON endpoint — nothing more.

Check out isitdownstatus.com and let me know if you find it useful. PRs for adding more services are welcome!


What services do you depend on most? Drop them in the comments and I'll make sure they're covered.