
Architectural flow of The Cultural Compass
Place
Overview
Travellers and expats often face 'culture shock' or social friction due to a lack of localised etiquette knowledge. Generic travel blogs are often outdated or too long to read on the go. People do not have the time to write an explanatory prompt on general LLM models. I built an AI-powered Progressive Web App (PWA) that provides real-time, context-specific social etiquette guides, helping users navigate social norms, tipping cultures, and taboos.
๐ Project Impact
- Accessibility: PWA format ensures access without needing an App Store download
- Speed: Instant summaries of cultural 'Dos and Don'ts' for 50+ countries
- Accuracy: AI-curated insights that go beyond standard travel guidebooks
๐ฏ Key Learning Outcomes
๐ป Technical Skills Acquired
- PWA Development: Learned the requirements for offline-first web applications
- Prompt Engineering: Designed personas to ensure the AI provides respectful and culturally sensitive advice
- API Integration: Connected LLM backends to a mobile-responsive frontend
๐ Product Management Skills
- Niche Targeting: Identified a specific user segment (Expats/Business Travellers) with high willingness to use
- Localisation Strategy: Analysed the importance of nuance in AI-generated cultural content
๐๏ธ System Architecture
Data Flow: React Frontend (User Input) โ Google AI Studio (Gemini 1.5 Flash) โ Client-Side Storage (Browser Cache/LocalStorage)
๐ Trade-offs
1. Platform Choice: PWA vs. Native Mobile App
The Decision: I developed the tool as a Progressive Web App (PWA) using React and Vite.
The Trade-off: A native iOS or Android app would offer better performance and deeper system integration. However, for 'social emergencies' (like checking a tipping norm while at a restaurant), I prioritized zero-friction access. Users can access the tool via a URL or QR code instantly without waiting for a 50MB app store download on expensive international roaming data.
2. Model Selection: Gemini 1.5 Flash vs. Claude 3.5 Sonnet
The Decision: I chose Gemini 1.5 Flash via Google AI Studio for the core intelligence.
The Trade-off: While Claude 3.5 Sonnet might provide more 'creative' prose, Gemini 1.5 Flash offers significantly lower latency and a higher rate limit for the same cost. In a travel context, speed is a featureโusers need a 'Dos and Don'ts' card in under 2 seconds, not a long-form essay. I sacrificed 'literary flair' for functional speed.
3. Data Persistence: Client-Side Caching vs. Centralised Database
The Decision: I implemented Service Workers and LocalStorage for data persistence instead of a centralised database like Supabase.
The Trade-off: This means users cannot sync their 'Saved Tips' across different devices. However, this architectural choice ensures 100% offline reliability. If a traveler is in a basement subway or a remote area with no signal, the app still functions for previously viewed content. I prioritized the Utility of the app in low-connectivity travel environments over cross-device synchronization.
๐ง Technical Challenges & Solutions
Challenge: Ensuring AI doesn't rely on harmful stereotypes
Solution: Implemented a multi-step prompt validation process that checks advice against verified cultural databases before displaying
Last Updated: January 31, 2026

Home page

Country-specific etiquette tips

Country-specific etiquette tips