π What I Built
Touch Grass AI is an open-source, offline-first outdoor companion designed to help people reconnect with nature while reducing unnecessary screen time.
Whether you're hiking on remote trails without cellular service, identifying plants in your local park, or recording bird calls in your backyard, Touch Grass AI aims to bring nature exploration and AI-powered identification together in one accessible platform.
The goal is simple: use technology to help people spend more time outdoors, not more time on their screens.
π₯ Who Is It For?
- π₯Ύ Hikers & Trail Runners: Explore outdoor routes, discover nature, and generate GPX routes for offline use.
- π± Gardeners & Foragers: Identify plant species, maintain species logs, and explore local frost and microclimate information.
- π¦ Birdwatchers & Nature Enthusiasts: Analyze audio spectrograms and explore AI-powered bird-call recognition.
β±οΈ Designed to Reduce Screen Time
Unlike traditional apps designed to maximize engagement, Touch Grass AI encourages short, purposeful interactions.
Its 15-Minute Outdoor Micro-Quest feature encourages users to complete a nature-based activity, put their phones away, and engage with the environment around them.
The idea is to make technology a companion to outdoor exploration rather than a distraction from it.
π Live Demo
π Live Application:
https://hacktoberfest-week1.onrender.com
π©Ί API Health Endpoint:
https://hacktoberfest-week1.onrender.com/api/health
π» GitHub Repository:
https://github.com/PruthviRajG25/Hacktoberfest-Week1
β‘ Test the API
You can check the deployed backend directly from your terminal using the following command:
curl -X GET https://hacktoberfest-week1.onrender.com/api/health
The expected response is:
{
"status": "online",
"appName": "Touch Grass AI",
"openAIWeights": "Pre-Warmed Ultra-Fast ViT & AST Neural Engine (<15ms)",
"offlineModeSupported": true,
"timestamp": "2026-10-10T08:00:00.000Z"
}
Note: This is the expected response format provided for the project. Actual values and service availability may vary.
ποΈ How I Built It
Touch Grass AI combines a web-based outdoor experience with AI-assisted image and audio classification, interactive mapping, and local data storage.
The application is organized into two main parts:
1. Client-side experience
- πΈ Image capture and plant-species identification.
- ποΈ Audio recording and spectrogram-based analysis.
- πΊοΈ Interactive maps and outdoor route exploration.
- πΎ Local storage for an offline-friendly species journal.
2. Backend inference and APIs
- β‘ Express.js REST API.
- π©Ί API health monitoring.
- πΏ Image classification endpoint.
- π΅ Audio classification endpoint.
π System Architecture
flowchart TD
A["π€ Explorer / Hiker"] --> B["π± Web Client / PWA"]
subgraph Frontend["Client-Side Features"]
B --> C["πΊοΈ Leaflet Route Builder"]
B --> D["ποΈ Audio Recorder"]
B --> E["πΎ Offline Species Journal"]
end
subgraph Backend["Express.js Backend"]
B -->|REST API| F["β‘ Express Server"]
F --> G["π’ GET /api/health"]
F --> H["πΈ POST /api/classify-image"]
F --> I["π΅ POST /api/classify-audio"]
H --> J["πΏ Vision Classification"]
I --> K["π¦ Audio Classification"]
end
π οΈ Technology Stack & AI Models
πΏ Vision Identification
Vision Transformer (ViT) and MobileNetV3 are the proposed vision models for classifying plant-related images, including leaves and trees.
The objective is to make species identification accessible without depending entirely on proprietary cloud AI services.
π¦ Audio Identification
The Audio Spectrogram Transformer (AST) is used in the planned audio-classification pipeline for analyzing recorded sounds and supporting bird-call recognition.
πΊοΈ Interactive Maps
- Leaflet.js: Interactive map rendering and outdoor route visualization.
- OpenStreetMap: Open map data for exploring outdoor locations.
- GPX export: Designed to support saving routes for use with compatible navigation applications.
βοΈ Backend & Deployment
- Node.js: JavaScript runtime for the backend.
- Express.js: REST API and backend routing.
- Render: Application hosting and deployment.
- Local storage and offline-friendly web capabilities: Intended to keep supported journal data accessible without a continuous internet connection.
π Why Does Open Innovation Matter?
For outdoor applications, open innovation can make a meaningful difference in accessibility, privacy, and reliability.
1. πΆ Reliability Beyond Connectivity
Remote trails and forests often have limited network coverage. Local inference and offline-capable features can help users continue supported activities even when connectivity disappears.
2. π Privacy by Design
Processing supported photos, recordings, and location data locally can reduce the need to upload sensitive information to third-party services.
The long-term goal is to give users more control over their outdoor data and nature observations.
3. πΈ Lower Dependence on Paid APIs
Open-weight models can reduce reliance on metered AI services and recurring per-request charges. This creates opportunities to build accessible tools without making every identification dependent on a paid cloud API.
4. π Community-Driven Development
Open-source development allows contributors to improve classification, expand species coverage, refine offline support, and build features that benefit nature enthusiasts everywhere.
π€ My AI Agent Development Workflow
AI-assisted development workflows supported the project's implementation, testing, and deployment process.
DevRelay CLI integration: The development session was logged and managed through DevRelay CLI tools.
The project also provides an opportunity to explore how AI-assisted engineering workflows can help developers prototype and iterate on practical, open-source applications.
π Hacktoberfest Challenge Categories
- πΏ Main Challenge: Hacktoberfest Week 1 β Touch Grass
- π€ Partner Category: Open-Weight AI
- π± Partner Category: Local / Offline Inference
π± What's Next?
Touch Grass AI is built around a simple idea: technology should help us discover more of the world beyond our screens.
Future improvements can focus on expanding species coverage, improving model performance, strengthening offline functionality, and making outdoor exploration more accessible.
If you're interested in open-source AI, nature exploration, offline-first applications, or contributing to projects that encourage healthier technology habits, check out the repository.
π Explore the code: https://github.com/PruthviRajG25/Hacktoberfest-Week1
πTry the application: https://hacktoberfest-week1.onrender.com
πΏ Get outside, explore your surroundings, and go touch grass!

Top comments (0)