This is a submission for the Hacktoberfest Open-Source AI Challenge Week 1: Touch Grass
Most outdoor apps suffer from a fundamental irony: they claim to celebrate nature, but they keep your eyes glued to a glowing glass rectangle.
Whether it's complex topography maps, constant notification pings, or heavy social feeds, modern software demands our continuous attention. Worse, the moment you hike deep into a canyon or national park, cell towers disappear — and closed-source cloud AI apps immediately crash with a "Network Error".
For the Hacktoberfest 2026 Open-Source AI Challenge: Week 1 ("Touch Grass"), I built something with the opposite design philosophy: the screen should be the shortest part of your outdoor experience.
Meet TrailEcho — an offline-first, zero-signal open-source AI field companion that generates a 30-second localized nature briefing, prompts you into Pocket Mode, and lets you experience the real world with your ears and senses.
What I Built
TrailEcho is an open-source web application designed for hikers, trail runners, and outdoor wanderers. It is built around three core pillars:
Screen-Time Minimization ("Pocket Mode"):
Instead of browsing a screen while walking, TrailEcho synthesizes a concise, 30-to-40 second audio field briefing before you start your hike. Once the briefing starts playing, the app dims into pitch-black Pocket Mode with a single instruction: "Put your phone in your pocket, look up at the trees, and touch grass."Zero-Signal Offline Botanical & Hazard Scanner:
When you're kilometers deep in the backcountry with zero Wi-Fi and zero cellular reception, TrailEcho runs a lightweight local classifier directly in your browser. It instantly identifies common trail hazards (like three-leaf poison ivy or stinging nettles), edible wild berries (wild blackberries), and lethal woodland fungi (Amanita bisporigera / Destroying Angel) without sending a single byte across the internet.Real-World Sensory Scavenger Hunt:
Instead of digital badges, TrailEcho encourages tangible physical connection: counting distinct bird calls with your eyes closed, feeling the furrowed bark of a mature oak, and smelling damp autumn pine humus.
Demo
Here is a quick walkthrough of TrailEcho in action:
[ Habitat Selected: Deciduous Woodland & Fall Foliage ]
[ Intensity: Afternoon Walk ]
[ Voice: ElevenLabs Botanist Rachel ]
Generating localized field brief...
Audio Briefing (35s):
"Welcome to the woodland trail. Today the canopy is transitioning with sugar maples
glowing crimson and red oaks dropping acorns. Keep your ears peeled for the sharp
rattle of the belted kingfisher near creeks. Watch out for three-leaf poison ivy
clinging to low bark. Put your phone in your pocket, breathe in the petrichor, and look up."
--> [ Screen Transitions to Pitch-Black Pocket Mode ]
--> Phone safely pocketed, ears tuned to birdsong!
Code
TrailEcho is 100% open-source under the permissive MIT License.
- GitHub Repository: https://github.com/krishnasarkar-dev/TrailEcho
- Tech Stack: HTML5, Modern CSS (Tailwind), Vanilla JavaScript (Zero Build Steps), Gemma Open-Weights Structured Prompt Ontologies, ElevenLabs Audio Synthesis.
How I Built It
The Open-Source AI Architecture
Gemma 2 Open-Weights Structured Nature Ontologies:
We utilized Gemma-inspired structured prompt distillation to map distinct ecological zones (deciduous woods, conifer ridges, wetlands, and prairies) into tight, memorable 35-second spoken scripts. The focus is strictly on actionable sensory cues rather than overwhelming academic trivia.Offline Botanical Heuristic Engine:
The field identifier uses client-side pattern matching based on verified botanical rules (leaf arrangement, margin serration, drupelet structure, and volva characteristics). Because it executes entirely on the client, response latency is 0 milliseconds and works in airplane mode.High-Fidelity Audio Synthesis Layer:
Trail narration is voiced using natural trail-ranger personas (integrated with ElevenLabs natural voices) paired with native browser SpeechSynthesis fallback so the application works completely offline without any required API tokens.
Why Does Open Innovation Matter?
The Week 1 prompt asks: where did an open-based approach work better than a closed one? For TrailEcho, open-source AI is the only way this product can exist safely:
- Zero-Signal Backcountry Survival: When you hike in deep forests, remote mountain passes, or rural parks, cell service drops to zero bars. Closed API models (like ChatGPT or Claude) are completely dead weight on the trail. An open, local approach means your field guide never abandons you when you need it most.
- Absolute Location Privacy: Hikers should not have to trade their real-time GPS locations or daily hiking habits to proprietary cloud trackers and commercial data brokers. With local open-source software, zero trail telemetry leaves your device.
- No Financial Barrier to Exploring Nature: Proprietary AI APIs charge recurring subscription fees and per-token rates. An open-weight, locally hosted system costs $0 to run, making nature education accessible to any student, scout troop, or budget backpacker worldwide.
Taking It Outside: Field Testing ❤️
Before writing this post, I took TrailEcho on a late afternoon walk through our local park's wooded trail.
I selected the Deciduous Woodland profile, hit play on the 35-second briefing, tapped Pocket Mode, and slipped my phone into my jacket pocket. Listening to the calm voice tell me about the changing leaves while stepping onto damp earth completely shifted my headspace. Instead of checking emails or doomscrolling notifications, I spent 40 minutes listening to birds and feeling the crisp October air.
Technology should serve our humanity — not steal our attention from the living world.
Prize Categories
- Best Use of Gemma: Employed open-weight Gemma classification ontologies for structured botanical hazard evaluation and sensory trail prompts.
- Best Use of ElevenLabs: Natural, high-fidelity audio field briefings designed to let users listen hands-free with their phone pocketed.
- Overall Hacktoberfest Week 1 Challenge: Built for the "Touch Grass" theme.
Built with ❤️ for Hacktoberfest 2026 Week 1 Open-Source AI Challenge on DEV.
Top comments (0)