Inspiration
Every "smart memory" app funnels raw family audio to a cloud model before anything useful appears. We asked a different question: can a hybrid architecture make privacy the default state while still letting the cloud do what only the cloud can?
What it does
Remembrancer turns family voice memories into a searchable keepsake pipeline. Transcription uses the browser Web Speech API after explicit microphone opt-in; speech networking depends on the browser. Deterministic sentiment tags and extractive summaries run in-page as an offline floor. Summaries route through Firebase AI Logic with InferenceMode.PREFER_ON_DEVICE, and the SDK-reported response.inferenceSource ("on_device" / "in_cloud") is rendered directly in the UI badges. Archive Q&A retrieves cited excerpts with match scores, and member chips scope visibility.
How we built it
The Vue 3 + TypeScript web app and Manifest V3 Chrome extension share one engine core. The official hybrid quickstart is wired directly: getAI(app, { backend: new GoogleAIBackend() }), getGenerativeModel(ai, { mode: InferenceMode.PREFER_ON_DEVICE }), initializeDeviceModel() after a user click, then generateContent(prompt). Production App Check uses reCAPTCHA Enterprise. Firestore writes use one families/{familyId}/memories/{id} contract, with local-storage fallback when auth or sync is unavailable. The extension bundles the same SDK through esbuild.
Challenges and honest degradation
The hardest part was making failure states truthful. An unconfigured project is not a degraded cloud call; a real configured-channel failure is. We separated those states, added fail-loudly and local-only policies, and removed fake provenance badges. The deterministic local engine keeps the product usable without keys, accounts, quota, or network.
Live proof
The hosted app performs a real Firebase AI Logic generateContent request and the SDK reports in_cloud: https://remembrancer-hybrid-2026b.web.app. Evidence is captured in hybrid-web/docs/screens/settings-live-incloud.png.
Built With
- chrome
- esbuild
- firebase-ai-logic
- firebase-app-check
- firebase-auth
- firebase-remote-config
- firestore
- pinia
- typescript
- vite
- vue-3
- vue-router
- web-speech-api