Touch Grass, Week 1 Dev Challenge hacktoberfest 26
Описание и применение
TouchGrass – веб‑приложение, использующее AI для превращения времени за экраном в мотивацию выйти на улицу и выполнить короткое наблюдение природы, проверяемое моделью Gemma.
Задача
Users spend excessive screen time and lack motivation to step outside for short outdoor activities.
Результат
TouchGrass provides a lightweight, login-free web app that turns screen time into a prompt for short outdoor activities, verified by AI, encouraging users to step away from screens.
Рабочий процесс
- Generate a random outdoor challenge via POST /api/challenge
- Present challenge to user
- User goes outside and captures a photo with the device camera
- Send photo to POST /api/validate
- AI verifies evidence against challenge criteria
- Provide feedback and record completion time
Доказательства
TouchGrass is a web app that uses AI to turn screen time into a reason to go outside.
The app tracks both your current session time and the time spent completing the challenge, encouraging you to actually step away from the screen and interact with the world around you.
TouchGrass is powered strictly and exclusively by Google's open-weight Gemma 4 models via the @google/genai SDK
The app uses a server-side API route to keep the AI API key out of the client, while session and timer state are persisted locally so refreshing the page doesn't reset an active challenge.
- Дата записи: 2026-10-07T11:56:12.666Z