hacker news Hacker News
  1. new
  2. show
  3. ask
  4. jobs
Built a PWA where anyone can drop a pin on a live shared map to report nearby incidents — crime, fire, disasters, civil unrest, infrastructure failures.

No accounts, no tracking. IPs are one-way HMAC-hashed before storage and never logged raw. Community votes incidents from pending → active so noise gets filtered out automatically. Each category has its own TTL so the map stays fresh.

Stack: Next.js 16, Firebase (Firestore + Cloud Functions + FCM), Leaflet for the map, D3.js for a 3D globe view. Fully open source.

GitHub: https://github.com/BaselAshraf81/threatalert

loading...