Problem
Hikers and mountain bikers plan a trip across separate tools: a gear spreadsheet, a calorie calculator and a route planner. None of them answers the question that matters before leaving: is this pack too heavy, or this water too little, for this particular trail? Gear apps track weight, but none of them checks a loadout against the trail’s distance, climb and activity type.
Role
Solo developer: product, design, web app, Android app, backend, map infrastructure and store release, all built after hours.
Architecture & Stack
- Trail Stress Test: a pure TypeScript package shared by web and mobile scores system weight, distance, elevation gain and activity type. It returns a Green / Yellow / Red verdict and shows the inputs behind it, calibrated separately for hiking and MTB.
- Web app on Cloudflare Workers: Astro with React islands, server-rendered at the edge. A separate cron Worker handles scheduled jobs.
- Android app: Expo dev build with expo-router and NativeWind. It shares design tokens, translations (English, Polish, German, Czech, Slovak), API contracts and domain logic with the web app through a pnpm + Turborepo monorepo.
- Supabase: auth (email and Google) and Postgres. Row-level security keeps each user’s gear and trips private, and dedicated tests check it.
- Self-hosted maps: BRouter routing, Photon geocoding and OpenTopoData elevation run on a VPS behind a Cloudflare Tunnel. OpenStreetMap vector and terrain tiles are built as PMTiles and served from R2 through a Worker. Owning the data means routes can be stored with trips and exported as GPX.
- AI features: gear entry from text or a photo, a starter packing list from a one-line prompt, route variants from a text description (each place resolved to a real location, never coordinates taken from the model), and a cut list when the verdict is Red. Evals run against these AI features.
Outcome & Metrics
- Live at pathcast.eu, with an Android app prepared for Google Play and a store listing in five languages.
- The full planning flow works end to end: draw the route, fill the gear vault, build the pack, run the stress test. Trips also have weather, daylight, huts along the route, shared checklists, friend invitations and GPX import/export.
- Map routing, search, elevation and tiles run on its own OpenStreetMap stack rather than a paid map API.