Inspiration
Access to public restrooms isn't just a matter of convenience—it's a basic infrastructure need and a key factor in preventing social exclusion. The lack of reliable information about open, clean, and accessible restrooms severely limits urban mobility for people with chronic illnesses (such as IBS, Crohn's disease, or diabetes), people with physical disabilities, parents with young children, seniors, tourists, and field workers. We built DuckWay to turn finding a clean, accessible restroom into a fast, stress-free—and even delightful—experience.
What it does
DuckWay is an interactive Smart City web app that guides users to the nearest open, verified restroom tailored to their exact needs:
- 1-Click Navigation & Live Map: Automatically detects your location and displays color-coded pins (city toilets, cafés/restaurants, malls, gas stations, and private hosts) plus a "Search this area" feature. One tap on Find nearest toilet draws the fastest walking route, animates our mascot Ducky walking along it, and lets you hand off navigation to Google Maps.
- Natural Language & Voice Search: Type or speak in plain English (e.g., "free clean toilet with a changing table", "cheapest toilet within 500 m", or "Where is the nearest toilet?"). DuckWay parses your intent, automatically toggles the right filters, and opens the best match.
- Granular Accessibility Filters & Sorting: Combine filters like Open now, Free/Paid, Accessible, Changing table, Unisex / Women / Men, Clean, No key, No purchase, and Private hosts, and sort by Nearest, Best rated, Cheapest, or Most accessible.
- Detailed Restroom Cards & AI Cleanliness Score: Every location includes entry rules (Open to everyone, Friendly Venue · no purchase, Customers only · receipt code, Ask for the key), an animated 0–100 AI Cleanliness Score, multi-criteria ratings (cleanliness, comfort, smell, privacy), photos, and crowdsourced Live status confirmations (Still open).
- Gamification & Community: To keep data fresh and trustworthy, users earn points, complete daily quests, unlock badges (First Quack, Waddler, Loo Critic), and level up their rank (e.g., reaching Duckling) with celebratory animations every time they visit, verify, or review a restroom.
How we built it
We built DuckWay as a lightweight, responsive web application that runs directly in the browser:
- Frontend: HTML5, CSS3, and JavaScript with custom micro-animations (falling map pins, animated counters, confetti, and our interactive mascot Ducky).
- Maps & Location: Browser Geolocation API for live positioning, interactive map rendering with live restroom data (plus a built-in fallback and "Retry live data" recovery), and Google Maps integration for external turn-by-turn directions.
- Smart Search: Client-side natural language query parsing combined with the Web Speech API for hands-free voice search in Chrome, Edge, and Safari.
Challenges we ran into
- Natural language & voice parsing: Translating everyday spoken requests (combining distance, price, and accessibility needs) into accurate filter combinations and instant routing.
- Data reliability: Ensuring the app remains smooth and demo-ready even when live external map data is slow or unavailable, which led us to build a seamless fallback mode with a "Retry live data" option.
- Balancing urgency with delight: Keeping the 1-click navigation effortless for someone in a rush while weaving in rich filters, AI cleanliness scoring, and gamification without cluttering the screen.
What we learned
We learned how much thoughtful UX, instant feedback, and playful gamification can encourage people to contribute to crowdsourced civic data—turning a stressful everyday problem into a community-driven solution.
What's next for DuckWay
- Official Open Data integration: Syncing directly with OpenStreetMap and municipal public registries (BIP) for automated status updates.
- "Friendly Venue" Program (B2B / CSR): Partnering with cafés, restaurants, and offices that open their restrooms without requiring a purchase in exchange for local visibility in the app.
- Offline Mode: Downloadable city maps for tourists without roaming or in low-signal areas.
- Smart City Analytics Dashboard (B2G): Anonymized heatmaps for local governments highlighting restroom deserts and frequently out-of-order facilities.
Built With
- ai
- css3
- geolocation-api
- google-maps
- html5
- javascript
- openstreetmap