Turn your neighborhood into a daily adventures map with a cozy AI companion 🌸
说明与用途
Outside.exe 展示了如何使用本地 Gemma 2B 模型替代传统习惯跟踪器,提供真实世界任务并奖励离线活动。
问题
Users of productivity and habit‑tracking apps feel overwhelmed by dashboards and push notifications, leading to doomscrolling instead of real‑world breaks.
结果
Outside.exe demonstrates how a lightweight local LLM can replace push‑driven habit trackers with gentle, real‑world nudges, achieving offline engagement and user‑controlled data privacy.
工作流
- 1. User opens app and sees a frosted‑glass check‑in modal.
- 2. User inputs mood, energy level, and available time.
- 3. Frontend sends data to FastAPI backend.
- 4. Backend constructs a strict prompt and calls local Gemma 2B via Ollama.
- 5. Gemma returns JSON with quest title, description, steps, and XP reward.
- 6. Frontend parses JSON and displays quest board with tasks.
- 7. User completes tasks, optionally taking inline camera photos per step.
- 8. XP is awarded, companion animates, and progress is stored in LocalStorage.
证据
Outside.exe flips the game loop upside down: it uses open‑weight AI to turn the physical world into an offline questing ground.
The backend calls Google's Gemma 2B (gemma:2b) running locally via Ollama.
I learned about event bubbling and used e.stopPropagation() on the camera button to separate the actions.
- 记录日期: 2026-10-10T21:10:58.669Z