TrailSense: An Offline Nature Companion Built to Keep You Off Your Phone
This is a submission for the Hacktoberfest Open-Source AI Challenge Week 1: Touch Grass * What I Built Have you ever gone for a hike to clear your head, heard a bird singing high up in the trees, pulled out your phone to look it up, and immediately run into a "No Internet Connection" spinner? Or worse , you open an app, and before you can even identify what you saw, it wants you to create an…
TrailSense is an offline-first web companion designed for hikers, runners, and nature enthusiasts. The app allows users to identify sounds and plants without needing an internet connection, making it ideal for off-grid adventures. Features include TrailVoice, which uses real-time spectrogram analysis to identify bird songs, and FloraLens, which can analyze photos of leaves or wildflowers to determine the plant's identity, safety, and its role in the ecosystem.
The app encourages users to engage with their surroundings through tactile prompts and sensory quests, such as identifying wing movement or feeling tree bark textures. It also includes a private field journal to log observations without tracking or social feeds. To test the app offline, users can access demo features like 1-click bird song samples, field photo samples, and airplane mode functionality.
The app's core components include responsive design, real-time audio processing with Web Audio API, in-browser computer vision for leaf analysis, and an offline storage system using IndexedDB. The development process focused on creating a client-side solution that doesn't rely on server-based APIs, emphasizing privacy, zero hosting costs, and the ability to be customized for various outdoor groups.
Written by urgent.news from Dev.to's reporting — not their text. Machine-written — may contain errors; check the original before relying on it.