Logo Lanfrica

lina794/EthioRoute-Showcase

Domain:

mobility

Record type:

software
Creator:
lin
Host:
A PWA transit navigator for Addis Ababa. Search landmarks in Amharic or English, plan multi-modal routes (minibus β†’ LRT β†’ walk), and see live commuter demand on a real-time heatmap β€” all with no app install required. # EthioRoute > Landmark-first navigation & real-time transit for Addis Ababa. --- # The EthioRoute application is currently available upon request only ## πŸš€ Quick Start ethio-route.vercel.app No build step, no bundler. Requires a local HTTP server (Service Worker and Fetch API do not work over `file://`): ```powershell npx serve . ``` Then open `localhost`. **One-time setup checklist:** 1. Add your **Supabase credentials** to `config.js` (URL + anon key) 2. Create the required Supabase tables β€” SQL in `NEEDS_MORE_INFO.md` Step 2 3. Download the **Noto Sans Ethiopic** fonts into `fonts/` β€” instructions in `NEEDS_MORE_INFO.md` Step 1 --- ## πŸ—‚ Project Structure ``` EthioRoute/ β”œβ”€β”€ index.html # App shell β€” open this β”œβ”€β”€ manifest.json # PWA manifest (installable) β”œβ”€β”€ service-worker.js # Offline tile + asset caching β”œβ”€β”€ config.js # Supabase URL & anon key ← YOUR CONFIG β”‚ β”œβ”€β”€ css/ β”‚ β”œβ”€β”€ main.css # Global design system, tokens, splash, FABs β”‚ β”œβ”€β”€ map.css # Map container, locate button, popups, user marker β”‚ └── panels.css # Left drawer, route steps, tariff table, toggles β”‚ β”œβ”€β”€ js/ β”‚ β”œβ”€β”€ app.js # Bootstrapper & all UI event wiring β”‚ β”œβ”€β”€ map.js # Leaflet 1.9.4 initialisation & tile switching β”‚ β”œβ”€β”€ i18n.js # Amharic ↔ English string table & toggle β”‚ β”œβ”€β”€ gtfs-data.js # Route registry, Haversine, nearest-stop finder β”‚ β”œβ”€β”€ transfer-graph.js # Multi-leg transfer adjacency graph (BFS) β”‚ β”œβ”€β”€ landmarks.js # Weighted POI search, favourites, suggestions β”‚ β”œβ”€β”€ search.js # Search UI, per-input autocomplete, suggest modal β”‚ β”œβ”€β”€ transit.js # LRT / Anbessa / Minibus / Sheger layer renderer β”‚ β”œβ”€β”€ heatmap.js # Supabase real-time demand heatmap β”‚ β”œβ”€β”€ crowdsource.js # Anonymous crowdsourced bus GPS β”‚ β”œβ”€β”€ routin …