This is a submission for the Hacktoberfest Open-Source AI Challenge Week 1: Touch Grass
What I Built
Trailhead is an offline-first outdoor companion. You open the app for 30 seconds. It tells you the absolute best thing to do outside today (based on your interests, the weather, and what's in season). It reads it aloud to you, gives you a route, and you put your phone away. That's it. No doomscrolling. No streaks. Just an excuse to get off the screen and into the woods.
Demo
Try it out on mobile! Put in your location and hit "Find Today's Outing".
Code
(Visit the repo on GitHub: github.com/karanray06/trailhead)
How I Built It
We built Trailhead entirely on open-source, local AI tooling:
- Mastra: An open-source TS framework orchestrating our workflows.
-
Ollama + Gemma 3: Running locally to generate the "daily brief". Swappable via a simple
MODEL_NAMEenv var. - TabPFN: An open-source tabular foundation model from Prior Labs. We use it in our Python microservice to predict the probability of a "good outdoor day" using zero-shot inference on historical weather data. (On Vercel Serverless, we automatically fall back to Random Forest to respect the bundle size limits!).
- OpenStreetMap + OSRM: Completely open data for routing and finding nearby parks.
Why Does Open Innovation Matter?
When you're out on a trail, you don't always have a 5G connection. A closed API approach (like GPT-4) would mean the app completely breaks the moment you step off the grid. With open weights (like Gemma), we can run inference directly on-device or locally, keep all location data completely private, and guarantee zero running costs for daily usage.
Our TabPFN microservice is particularly powerful here — it doesn't need to be retrained. It just looks at a tiny CSV of 2 years of local weather data and immediately gives calibrated probabilities for cold snaps, frost risk, and general outdoor comfort without any API calls.
My Agent Session
Here's how my AI pair and I fought through the updated Mastra type definitions and got the workflow to compile:
Prize Categories
- Touch Grass
Top comments (0)