🌟 Key Features
| ☎ Clickable Crisis Lines | One-tap calling: 911, 988, 211, Poison Control, FEMA, Red Cross |
| ♿ Screen Reader Ready | Semantic HTML5 with <header>, <main>, <nav>, <footer> landmarks |
| 🚫 Zero JavaScript | Pure server-rendered HTML. Works on any browser, screen reader, or text-mode browser |
| 📱 <10KB Pages | Works on 2G networks, mesh relays, satellite connections, and offline |
| ⚡ Sub-100ms Response | Live API data with intelligent caching and traffic-aware expiration |
| 🔴🟠🟡 Visual Severity | Color-coded threat levels with text labels for accessibility |
📊 Real-Time Data Sources
| Source | Data Provided | Refresh |
|---|---|---|
| FEMA | Disaster declarations, recovery centers | 30 min |
| NWS | Weather, severe alerts, evacuation orders | 5-30 min |
| USGS | Earthquakes M2.5+ within 500km | 30 min |
| Open-Meteo | Air Quality Index (US EPA standard) | 30 min |
| Environment Canada | Canadian weather and alerts (bilingual) | 30 min |
🌍 Coverage
- USA: All 50 states + DC + Puerto Rico. 200+ cities. 150+ rural counties.
- Canada: All 13 provinces/territories. 50+ cities. French/English for Quebec.
- Worldwide: 249 countries/territories with emergency numbers and preparedness info.
🚨 Emergency Types
| 🌀 Hurricane | 🌪 Tornado | ⛈ Thunderstorm | 🌊 Flood/Tsunami |
| ❄ Winter Storm | 🧊 Ice Storm | 🔥 Wildfire | 🌋 Earthquake |
| 🥶 Extreme Cold | ☀ Heat Wave | 💨 High Wind | ☣ Chemical/Bio |
🔧 Technical Details
- Single C File: ~4000 lines, no frameworks. Dependencies: libcurl, jansson.
- Multithreaded: Handles concurrent requests with thread-local performance tracking.
- Smart Caching: 30min normal, 5min for high-traffic pages (10+ visits/30min).
- Semantic HTML: Proper heading hierarchy, skip links, landmark regions.
- Tel: Links: All emergency numbers are clickable for mobile users.
🛠 Self-Host
sudo apt install libcurl4-openssl-dev libjansson-dev gcc -O3 -o safenow src/server.c -lpthread -lcurl -ljansson -lm ./safenow 8080
CLI: cache-status | cache-clear | check | test
⚠ Disclaimers
ALWAYS call 911 for life-threatening emergencies.
This site aggregates public data from official sources. Verify with local authorities. Data may be delayed up to 30 minutes.
Emergency Numbers (tap to call):
- 911: Emergency services
- 988: Suicide & Crisis Lifeline
- 211: Social services
- 1-800-222-1222: Poison Control
- 1-800-621-3362: FEMA
- 1-800-733-2767: Red Cross
FEMA does NOT ask about immigration status when providing disaster assistance.