cepp (say "jep"): Turkish cep, "pocket", plus app. Your local friend, twice over: one who knows the city, and one that runs on your device.
Inspiration
In Cappadocia the signal drops in valleys, underground cities and on empty roads, exactly where a visitor needs help. They often do not speak the language and cannot tell an emergency operator where they are. Cappadocia is our pilot region; a city is one file, so the same app can grow to places anywhere.
What it does
- Chat with Cepp, a friend who gives one clear pick, grounded in a hand-checked city file with 23 places. Replies are labelled: on device, cloud or the saved city file.
- Face-to-face translation with one phone between two people. It repairs place names that speech recognition gets wrong and suggests three replies you can give.
- SOS: 112, the nearest hospital, your GPS position, and a Turkish sentence naming province, district, village and street.
- Offline map with places and road routes, "ask the map", Discover feed, trip checklist, currency and weather.
- Plan my day from your pace and interests, routes you can send to your maps app, and a wrapped recap of your trip.
How we built it
All AI inference goes through Firebase AI Logic, protected by App Check.
- Web (PWA, React): Gemini Nano in Chrome on device; gemini-3.5-flash-lite and gemini-3.5-flash in the cloud. Offline uses ONLY_ON_DEVICE, a ready model uses PREFER_ON_DEVICE, otherwise ONLY_IN_CLOUD.
- Android (Kotlin, Jetpack Compose): firebase-ai-ondevice with PREFER_ON_DEVICE; detailed plans use ONLY_IN_CLOUD.
- iOS (SwiftUI): hybridModel with Apple Foundation Models on device and gemini-3.5-flash-lite in the cloud.
If no model answers, the app replies from the city file. Places, phone numbers and road routes are baked in from OpenStreetMap.
Why hybrid matters here
- Dead zones: with an on-device model, the phone keeps answering without a signal.
- Privacy: when an on-device model is available, the SOS sentence is written on the phone and the location stays there.
- A model that cannot make up your location: map data supplies the names, the model only fills a fixed sentence, and anything else is rejected. Then you see your GPS position instead.
- Quality when it matters: detailed trip plans go to a larger cloud model on web and Android.
Challenges
- A model invented a bar that does not exist. The prompts now forbid made-up venues and numbers, and the map, phone numbers and distances come only from checked data.
- Speech recognition mangles Turkish place names, so the translation prompt carries the real names.
- We had no Mac: the iOS app is built and uploaded to TestFlight from GitHub's macOS runners.
Platforms
- iOS: on-device chat answers in airplane mode (shown in the video).
- Web: on-device chat in desktop Chrome with the built-in model (shown in the video), cloud otherwise.
- Android: the same hybrid inference through Firebase AI Logic, on-device where the phone supports it, cloud otherwise.
What's next
More places, one checked city file at a time.
Credits
Wikimedia Commons photos, Wikipedia-adapted text (CC BY-SA), OpenStreetMap (ODbL), Protomaps. Code: Apache 2.0. Built from scratch during the hackathon period.
Built With
- apple-foundation-models
- firebase
- firebase-ai-logic
- firebase-app-check
- firebase-hosting
- gemini
- gemini-nano
- jetpack-compose
- kotlin
- maplibre
- openstreetmap
- pwa
- react
- swift
- swiftui
- typescript
- vite