DEV Community

Cover image for 🌿 TrailMate AI β€” Less Screen, More World with Open-Source AI
Himanshu Gupta
Himanshu Gupta

Posted on

🌿 TrailMate AI β€” Less Screen, More World with Open-Source AI

🌿 TrailMate AI β€” Less Screen, More World with Open-Source AI

This is a submission for the Hacktoberfest Open-Source AI Challenge Week 1: Touch Grass

What I Built

TrailMate AI is a nature-focused web application designed to help people spend less time looking at screens and more time exploring the real world.

The idea is simple:

Use technology to help people leave technology. 🌱

TrailMate AI gives users small outdoor missions based on activities such as:

  • 🚢 Walking
  • πŸ₯Ύ Hiking
  • 🐦 Bird watching
  • 🌿 Nature exploration

Instead of continuously scrolling on a phone, users get a simple mission that encourages them to go outside, observe their surroundings, and discover something new.

What TrailMate AI Does

The application includes:

  • 🌱 Outdoor mission generator
  • ⏱️ 10-minute outdoor activity timer
  • πŸ“Έ Nature discovery/photo upload
  • πŸ€– AI discovery interface
  • πŸ“Š Outdoor progress tracking
  • πŸ”₯ Streak tracking
  • πŸ’Ύ Local progress storage
  • πŸ“± Responsive design for desktop and mobile
  • 🌐 Online/offline status indicator

For example, a user can open TrailMate AI and receive a mission such as:

"Take a short walk and notice three different things in nature."

The goal is not to keep the user inside the app.

The goal is to get the user outside and then close the app.

Who Is It For?

TrailMate AI is designed especially for:

  • Students
  • Developers
  • People who spend long hours on computers
  • People who want to explore nature
  • Anyone who wants a simple reason to take a break from screens

Demo

πŸš€ Live Website

Try TrailMate AI here:

https://himanshugupta4105.github.io/TrailMate-AI/


The website is hosted using GitHub Pages.

Code

πŸ’» GitHub Repository

The complete project is available on GitHub:

https://github.com/Himanshugupta4105/TrailMate-AI

Project Structure

The project is intentionally simple and beginner-friendly:

TrailMate-AI/
β”‚
β”œβ”€β”€ index.html
β”œβ”€β”€ style.css
β”œβ”€β”€ script.js
└── README.md
Enter fullscreen mode Exit fullscreen mode

Technologies Used

  • HTML5
  • CSS3
  • JavaScript
  • Browser LocalStorage
  • GitHub Pages

No frontend framework is required.

The project can be opened directly in a browser.


How I Built It

I wanted to build something that uses technology for a different purpose: helping people spend less time with technology.

I built the first version using only three files:

HTML β†’ Structure
CSS β†’ Design
JavaScript β†’ Functionality
Enter fullscreen mode Exit fullscreen mode

1. HTML

HTML creates the structure of the application.

It contains:

  • Navigation
  • Hero section
  • Mission section
  • Timer
  • Discovery section
  • Progress section
  • Footer

2. CSS

CSS gives TrailMate AI its nature-inspired interface.

I designed the interface around:

  • Green/nature colors
  • Rounded cards
  • Clean typography
  • Responsive layouts
  • Nature-inspired visual elements
  • Mobile-friendly design

3. JavaScript

JavaScript powers the interactive features.

It handles:

  • Generating missions
  • Selecting activities
  • Completing missions
  • Outdoor timer
  • Image upload
  • Discovery interface
  • Progress tracking
  • Streaks
  • LocalStorage
  • Online/offline detection
  • Notifications

AI Approach

The project is designed around an open-source AI architecture.

The current public prototype contains a simulated AI discovery layer so that the frontend can be demonstrated without requiring users to expose an API key in browser-side JavaScript.

The next AI implementation is intended to use an open-weight model running locally, rather than depending entirely on a closed cloud API.

The planned flow is:

User goes outside
       ↓
Takes a photo
       ↓
TrailMate AI
       ↓
Local/Open-Weight AI Model
       ↓
Identifies the discovery
       ↓
User learns about it
       ↓
User continues exploring
Enter fullscreen mode Exit fullscreen mode

This approach also makes it possible to move toward offline and privacy-friendly AI.


Why Does Open Innovation Matter?

Open innovation is important for TrailMate AI because the project is about making AI more accessible, transparent, and useful outside traditional cloud-only applications.

A closed AI API can be useful, but it can also introduce:

  • API costs
  • Internet dependency
  • Rate limits
  • Privacy concerns
  • Vendor dependency
  • Limited control over the model

With open-weight and open-source AI, developers can have more control over how AI is used.

For TrailMate AI, this could make it possible to eventually run AI locally on a user's device.

That means:

Camera
   ↓
Local AI
   ↓
Nature Identification
   ↓
No unnecessary cloud upload
Enter fullscreen mode Exit fullscreen mode

What Open AI Makes Possible

Open innovation can help TrailMate AI move toward:

  • πŸ”’ Better privacy
  • πŸ“‘ Offline functionality
  • πŸ’° Lower long-term AI costs
  • 🧠 More control over models
  • πŸ› οΈ Community improvements
  • πŸ”„ Ability to experiment with different models
  • 🌍 More accessible AI development

Most importantly, open-source AI allows developers to build, experiment, modify, and learn instead of treating AI as a black box.


My Agent Session

This section is optional.

I have not included an Agent Session link yet.

If I create a DevRelay agent session for TrailMate AI, I will add it here:

[Add DevRelay Agent Session link here]
Enter fullscreen mode Exit fullscreen mode

Prize Categories

I am submitting TrailMate AI for the following challenge category:

🌱 Hacktoberfest Open-Source AI Challenge β€” Week 1: Touch Grass

The project focuses on the core idea of the challenge:

Use open-source AI and technology to encourage people to spend more time in the real world.

TrailMate AI is designed around a simple philosophy:

Less screen. More world. 🌎


Future Improvements

TrailMate AI is currently an early prototype, but there are several features I would like to add.

πŸ€– Real AI Nature Identification

Replace the simulated discovery system with a real open-weight computer vision model.

πŸ“΄ Better Offline AI

Allow nature identification without requiring an internet connection.

πŸ—ΊοΈ Outdoor Exploration

Add safe exploration areas and routes.

🐦 Bird Identification

Use AI to identify birds from photos or potentially their calls.

🌿 Plant Identification

Help users learn about plants they discover.

πŸ† Community Challenges

Allow users to participate in outdoor challenges with friends.

πŸ“ˆ Better Progress Tracking

Track:

  • Outdoor time
  • Missions completed
  • Discoveries
  • Streaks
  • Favorite activities

πŸ” Privacy-First AI

Keep image processing local wherever possible instead of automatically sending personal images to a remote server.

Top comments (0)