A free, open-source emergency PWA that locates the closest protected space to you and gives you walking, running, and cycling ETAs to safety. Built for the seconds that matter.
β Open the live app at getshelter.app
7,577 shelters Β· 56 cities Β· Free Β· No account Β· Works offline Β· MIT licensed
When a siren sounds, you have seconds. Shelter Now uses your location to instantly show the nearest public shelters, bomb shelters, reinforced spaces, and other protected places β ranked by real walking distance β on a live map, with turn-by-turn navigation one tap away.
- π Instant proximity β GPS-based, sorted by true Haversine distance, with walk / run / cycle / scooter ETAs.
- πΊοΈ Every shelter on the map β all 7,577 known shelters across 56 cities, not just the nearest few.
- π Search any address β not where you'll be? Look up any location in Israel.
- π Bilingual β full Hebrew + English UI, RTL-aware.
- π‘ Works offline β installable PWA; the full shelter dataset is bundled, so it loads with no network and no backend.
- π© Report a problem β crowdsourced corrections keep the data honest.
Shelter locations are aggregated and de-duplicated from 12+ public sources β municipal open-data portals (Tel Aviv, Jerusalem, Haifa, and more), Israel's national CKAN catalog, OpenStreetMap, and Google Places. The full pipeline is documented in DATA-PIPELINE.md.
The merged dataset ships in data/shelters.json, so shelter lookups need no database or API key. Map tiles require a free CARTO Basemaps key supplied by the app operator. Visitors need no key or signup.
git clone https://github.com/isaachorowitz/Shelters.git
cd Shelters
pnpm install
pnpm devThe dev command loads NEXT_PUBLIC_CARTO_BASEMAP_API_KEY from this project's Infisical connection, using the dev environment and /shelters path. Sign in to the Infisical CLI before running it, then open the printed localhost URL. Keep the key in Infisical; do not put it in a repository .env file.
Optional: to serve shelters from a live Postgres/PostGIS database instead of the bundled JSON, add the Supabase variables listed in
env.exampleto the same Infisical path. The app automatically falls back to the static dataset whenever the database is unset or unreachable.
pnpm build && pnpm startThe build loads the CARTO key from Infisical's prod environment at /shelters and stops if it is missing. Next.js embeds the public map key at build time, so rebuild after changing it. Cloudflare builds use pnpm exec opennextjs-cloudflare build, which runs the same configured build command.
| Layer | Choice |
|---|---|
| Framework | Next.js 16 (App Router) + React 19 |
| Map | Leaflet + react-leaflet |
| Styling | Tailwind CSS + Radix UI |
| Data (optional) | Supabase / PostGIS, with bundled-JSON fallback |
| Hosting | Vercel |
This is a public-safety tool β contributions genuinely help people. The highest-impact thing you can do is improve the data: a missing shelter, a wrong location, or a new municipal source. Code, accessibility, and translation improvements are equally welcome.
See CONTRIBUTING.md to get started, and check the open issues.
MIT β free to use, fork, and adapt. If you deploy a version for another region, we'd love to hear about it.