Touch Grass, Week 1 Dev Challenge hacktoberfest 26
说明与用途
TouchGrass 是一个使用 AI 将屏幕时间转化为外出动机的 Web 应用,分配微型户外挑战并使用 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