|
Inspired by the recent safe-now.live post, I built this for Spain. The site includes: - All emergency phone numbers (112, police, fire, poison control, etc.)
- Real-time weather alerts from AEMET (Spanish meteorological agency)
- Recent earthquakes from IGN (magnitude ≥2.0, last 48h)
- Emergency guides for earthquakes, floods, fires, gas leaks, heat stroke, etc.
Design goals: - No JavaScript, works on any device/connection
- ~7KB per page, ~90KB total site
- Static site rebuilt every 15 min for fresh alert data
Built with Node.js, deployed on Netlify. Source: https://github.com/cscazorla/emergencias.liveFeedback welcome, especially from Spanish users who can validate the emergency info accuracy. |
Lesson learned. Moved the scheduled builds to GitHub Actions (every hour) and now Netlify just serves the static files as it should.
emergencias.live is back online. You learn from mistakes (and from invoices too).