%sveltekit.head%
About Projects Skills Experience Contact ↓ Download CV
/
// 010 Personal 2026

Ollama Interaction

Minimalist web interface for local LLMs via Ollama with RAG, link analysis, and thread management.

OllamaJavaScriptHTML/CSSTailwind CSSJina AI
Ollama Interaction
PROJECT COVER // 010
// Role
Solo Developer
// Type
Personal
// Year
2026
// Description

I built this project because I wanted a clean, private interface for chatting with local LLMs through Ollama. Most existing UIs felt bloated or required a backend, so I made one that runs entirely in the browser with zero server dependencies.

The interface uses a Zinc minimalist monochromatic palette with full dark and light mode support. I integrated local RAG so users can attach .txt or .md files as context for the model, plus web link analysis through Jina Reader that lets the model fetch and process live web content autonomously via Ollama's tools API. There is also a web search tool integration for real time information retrieval.

For conversation management I built thread organization with create, rename, and delete capabilities, all persisted in LocalStorage. The chat uses Ollama's streaming API with a sliding window of the last 10 messages to maintain context without memory bloat. There is smart auto scroll that only anchors to the bottom when the user is already at the latest message, allowing uninterrupted reading of history during generation.

The tech stack is just using vanilla HTML, CSS with Tailwind via CDN, and jQuery with Marked.js for rendering.