workout-suggester: checks the weather and Gemma sends you outside
Описание и применение
Приложение автоматически генерирует план тренировок и маршрут, учитывая погоду и доступные маршруты, избавляя пользователя от долгих поисков.
Задача
Users in Belgium waste time deciding whether to go outside for a workout because weather apps don’t answer the question of suitability for specific activities.
Результат
The app delivers a weather‑aware, activity‑specific workout plan and route within a minute, eliminating indecision and saving users time.
Рабочий процесс
- Tap "📍 Here" and select activity, intensity, and duration.
- App fetches weather from Open‑Meteo, falls back to MET Norway if needed.
- Plain Go rules score activities based on wind, rain, thunder, and daylight.
- BRouter generates round‑trip routes from the user’s door, Overpass finds nearby signposted routes.
- System prompt with weather, scores, and routes is sent to Gemma 4 E2B.
- Gemma outputs a workout plan, pick, and follow‑up options.
- User receives plan and GPX; can adjust time or intensity via follow‑ups.
Доказательства
In Belgium the weather gets a vote on every workout: is it nice enough to go out, or is it another day inside?
The model: Gemma 4 E2B, running locally.
Open‑Meteo is open source and needs no key.
BRouter generates round trips from your door in three directions, starting into the wind.
All of that goes into the system prompt as a short sheet of facts: the weather, the scores and reasons, the pick, the target distance and pace, and the routes with their climb, paved percentage and wind direction.
- Дата записи: 2026-10-11T18:56:10.456Z