ChromaWild: A Local Gemma-Powered Color Walk
Описание и применение
ChromaWild – локальное приложение, генерирующее задания по поиску цветов на улице с помощью Gemma и Ollama, позволяющее пользователям находить и сравнивать цвета в реальных городских условиях и вести заметки.
Задача
Users want a simple way to generate outdoor color exploration prompts that reflect real walking environments without relying on paid inference APIs.
Результат
ChromaWild enables users to generate context‑aware color exploration quests locally, avoiding external API costs and allowing experimentation with different models.
Рабочий процесс
- Install Ollama and pull the Gemma2:2b model with
ollama pull gemma2:2b - Run the app locally with
npm run dev - Request a new quest from the browser
- Next.js API route sends a prompt to local Ollama
- Ollama returns a JSON with title, color, subject, hint
- API validates the fields and hex value
- Browser displays the quest and allows color comparison, note taking, and sketching
- All data is stored in browser local storage
Доказательства
The color and subject are generated together by Gemma through Ollama.
To generate quests locally, install Ollama, run ollama pull gemma2:2b, then start the app with npm run dev.
With Ollama, the default color-quest generation runs on the machine hosting the app.
- Дата записи: 2026-10-11T11:55:54.332Z