Skip to content
isaachorowitzPublic

About

πŸ›‘οΈ Find the nearest bomb shelter in Israel in one tap. Free, open-source emergency PWA β€” 7,577 shelters, 56 cities, works offline. Live at getshelter.app

Topics

Resources

Contributing

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

Β 

History

7 Commits

Folders and files

NameName
Last commit message
Last commit date
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

πŸ›‘οΈ Shelter Now

Find the nearest bomb shelter in Israel β€” in one tap.

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

Live License PRs welcome


What it does

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.

The data

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.

Run it locally

git clone https://github.com/isaachorowitz/Shelters.git
cd Shelters
pnpm install
pnpm dev

The 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.example to the same Infisical path. The app automatically falls back to the static dataset whenever the database is unset or unreachable.

Build for production

pnpm build && pnpm start

The 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.

Tech stack

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

Contributing

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.

License

MIT β€” free to use, fork, and adapt. If you deploy a version for another region, we'd love to hear about it.

Built by ZipLyne Β· Stay safe.

About

πŸ›‘οΈ Find the nearest bomb shelter in Israel in one tap. Free, open-source emergency PWA β€” 7,577 shelters, 56 cities, works offline. Live at getshelter.app

Topics

Resources

Contributing

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages