DEV Community

Cover image for 🌿 GrassMapper: Your AI-Powered Guide to Discovering Places in New Cities
Manisha
Manisha

Posted on

🌿 GrassMapper: Your AI-Powered Guide to Discovering Places in New Cities

An open-source AI project built for the Hacktoberfest Touch Grass Challenge.

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

🌱 What I Built

Have you ever travelled to a new city or town and wondered where you could go for a peaceful walk, explore nearby green spaces, or discover interesting places?

When we visit unfamiliar locations, finding places to explore can sometimes be difficult. We often switch between different apps and websites just to decide where to go.

That's why I built GrassMapper β€” an AI-powered outdoor discovery application designed to help people explore the world around them. 🌍

GrassMapper allows users to discover nearby places based on their location and a selected search radius. It combines location-based discovery with AI-generated recommendations to help users decide where they might want to explore.

✨ Key Features
πŸ“ Nearby Place Discovery: Find places around your current location.
πŸ—ΊοΈ OpenStreetMap Integration: Retrieve nearby place information using OpenStreetMap data.
πŸ€– AI-Powered Recommendations: Generate recommendations using a locally running AI model.
🌳 Travel-Friendly Exploration: Discover places when visiting unfamiliar cities and towns.
πŸ“ Custom Search Radius: Explore places within a selected distance.

My goal is to make discovering new places easier and encourage people to step away from their screens and experience the world around them.

πŸ’» Code

The source code for GrassMapper is available on GitHub.

GitHub Repository: https://github.com/Manisha7530/GrassMapper

The repository contains the project code and instructions for running the application locally.

Make sure this repository exists, is public, and contains your latest code before publishing this post.

πŸ› οΈ How I Built It

I built GrassMapper using Python and Flask, combining open-source technologies for location-based discovery and local AI inference.

Technology Stack
Python: Core application logic.
Flask: Backend and web application.
OpenStreetMap: Open geographic data for discovering nearby places.
Overpass API: Querying relevant place information from OpenStreetMap.
Ollama: Running the AI model locally.
Llama 3.2: Generating AI-powered recommendations.
HTML, CSS, and JavaScript: Building the interactive user interface.
How It Works

The application follows a straightforward workflow:

The user selects their current location and search radius.
GrassMapper queries OpenStreetMap data through the Overpass API.
The application displays the retrieved nearby places.
The local AI model generates recommendations based on the available place information and the user's preferences.

One important design choice was using local AI inference through Ollama rather than relying on a hosted LLM API for recommendations.

The application still requires an internet connection to retrieve place data, but the AI inference runs locally.

πŸ’š Why Does Open Innovation Matter?

Open innovation makes it possible for developers to combine existing technologies and build useful solutions without having to create every component from scratch.

For GrassMapper, open-source tools made several things possible.

First, accessible AI development. Using Ollama and an open-weight model allowed me to experiment with local AI inference without depending on a paid, hosted LLM API.

Second, open geographic data. OpenStreetMap provided a way to retrieve nearby place information and connect the application with real-world locations.

Third, flexibility and learning. Working with these tools helped me understand how AI models, APIs, backend systems, and frontend interfaces can work together in a practical application.

I believe open innovation is valuable because it enables developers to experiment, learn, collaborate, and build technology that addresses real-world problems.

GrassMapper is my attempt to apply these principles to something simple but meaningful: helping people discover places and spend more time outdoors. 🌿

πŸ€– My Agent Session

Optional section.

If you have a DevRelay agent-session link, add it here. Otherwise, you can remove this section.

πŸ† Prize Categories

Remove this section if you aren't entering any specific partner prize categories. If you are, list only the categories for which GrassMapper genuinely qualifies.

Top comments (0)

Some comments may only be visible to logged-in visitors. Sign in to view all comments.