NextJS Ollama LLM UI

Stale
GitHub TypeScript MIT

Description

Fully-featured web interface for Ollama LLMs built with Next.js. Supports local model conversations, multi-model switching, and browser-side persistent storage.

Key Features

  • Beautiful, intuitive ChatGPT-inspired interface, ready to use out of the box
  • Fully local operation with chats stored in browser localStorage, no database needed
  • Fully responsive design with consistent experience on mobile and desktop
  • Code syntax highlighting with one-click code block copying
  • Download, pull, and delete models directly from the UI with quick model switching
  • Voice input support and image upload compatible with vision language models

Use Cases

💡 Private local AI chat assistant where data never leaves the device
💡 Developer quick testing and comparison of different Ollama model outputs
💡 Lightweight LLM service frontend for internal team use
💡 Educational demonstrations of large language model interaction capabilities

Categories

Quick Start

Install and run Ollama, clone the repo and install dependencies (npm install), configure OLLAMA_URL in .env, run npm run dev and visit localhost:3000 to start chatting. Docker one-click deployment also available.

Related Projects