{"slug": "chromawild-a-local-gemma-powered-color-walk", "title": "ChromaWild: A Local Gemma-Powered Color Walk", "summary": "A developer built ChromaWild, a local color-walk and field-journal app that uses Gemma 2B through Ollama to generate coherent color-and-subject quests for outdoor observation. The Next.js API route prompts the model for a title, color, subject, and outdoor hint, then validates the returned fields and hex value before the browser handles color matching and stores journal entries locally. The project, which requires users to install Ollama and pull gemma2:2b, has no hosted demo yet and still needs API protections before public deployment.", "body_md": "**This is a submission for the [Hacktoberfest Open-Source AI Challenge Week 1: Touch Grass](https://dev.to/challenges/hacktoberfest-week1-2026-10-05).\n\n**\n\nChromaWild is a color walk and field journal. It gives you a color to look for outdoors, then lets you compare what you found, save field notes, and sketch the observation.\n\nI wanted the prompts to work for the places people actually walk through. That can be a park, a sidewalk, a bus stop, a playground, a building, a piece of public art, a patch of sky, or a plant. It doesn't have to be a wilderness trail.\n\nThe color and subject are generated together by Gemma through Ollama. The app asks the model for a fresh, coherent prompt instead of picking a color from a fixed bucket and attaching a preset nature subject.\n\nThere isn't a hosted demo yet. The app runs locally; the repository README has the setup steps: [github.com/sleepyaishik69/ChromaWild](https://github.com/sleepyaishik69/ChromaWild).\n\nTo generate quests locally, install Ollama, run `ollama pull gemma2:2b`, then start the app with `npm run dev`.\n\nThe browser handles color matching and keeps field entries, photos, sketches, and progress in its local storage. For a new quest, the Next.js API route asks Ollama for a title, color, subject, and outdoor hint, then checks the returned fields and hex value before using them.\n\nThe model prompt includes a broad subject list:\n\n``` js\nconst categories = [\n  'plants', 'animals', 'water', 'sky', 'architecture', 'street',\n  'transit', 'public art', 'playgrounds', 'outdoor objects',\n  'sports', 'food', 'other',\n];\n```\n\nThe default model is configurable:\n\n```\nmodel: process.env.OLLAMA_MODEL || 'gemma2:2b',\nformat: 'json',\n```\n\nHere is the request path:\n\n``` php\nflowchart LR\n  Browser[ChromaWild in browser] -->|request a quest| Next[Next.js API route]\n  Next -->|prompt| Ollama[Local Ollama and Gemma]\n  Ollama -->|structured color quest| Next\n  Next -->|validated quest| Browser\n  Browser -->|color comparison and journal| Browser\n```\n\nThe implementation is in [the Gemma API route](https://github.com/sleepyaishik69/ChromaWild/blob/main/src/app/api/gemma/route.ts). The repo also has setup instructions, contribution and security notes, and a GitHub Actions workflow for linting, type checking, and building.\n\nWith Ollama, the default color-quest generation runs on the machine hosting the app. I can try a different Ollama model by changing configuration, without tying the core feature to a paid inference API. That makes local experimentation possible and keeps the default quest prompt on the local machine.\n\nThere are tradeoffs: users need to install Ollama and download a model, and generation speed depends on their hardware. The hosted-app setup is different: Ollama must be reachable from the server, and this project still needs API protections before a public deployment. Optional Groq evaluation and ElevenLabs speech use external services if configured.\n\nThe app's public GitHub repository is up, though I still need to choose a project license. I also want to take ChromaWild on an actual color walk and see which prompts are easy to find in an everyday neighborhood.\n\nChromaWild appears to fit the **Best Use of Gemma** category because Gemma generates quests in the default setup. If the challenge has a separate category-entry step, I'll select it there.", "url": "https://wpnews.pro/news/chromawild-a-local-gemma-powered-color-walk", "canonical_source": "https://dev.to/aishik_xd/chromawild-a-local-gemma-powered-color-walk-1nkf", "published_at": "2026-10-11 10:45:30+00:00", "updated_at": "2026-10-11 10:51:40.396652+00:00", "lang": "en", "topics": ["generative-ai", "ai-tools", "large-language-models", "ai-products"], "entities": ["ChromaWild", "Gemma", "Ollama", "Next.js", "Groq", "ElevenLabs", "GitHub"], "also_reported_by": [], "alternates": {"html": "https://wpnews.pro/news/chromawild-a-local-gemma-powered-color-walk", "markdown": "https://wpnews.pro/news/chromawild-a-local-gemma-powered-color-walk.md", "text": "https://wpnews.pro/news/chromawild-a-local-gemma-powered-color-walk.txt", "jsonld": "https://wpnews.pro/news/chromawild-a-local-gemma-powered-color-walk.jsonld"}}