Skip to content

NeaByteLab/Ollama-Chat-UI

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Ollama Chat UI

A modern React-based chat interface for interacting with Ollama models.

Preview

Features

  • Multiple chat sessions with tab management
  • Streaming responses with real-time updates
  • Markdown rendering with syntax highlighting
  • Thinking process display (for supported models)
  • Performance metrics (timing, token counts)
  • Dark/light theme toggle
  • Model selection with search
  • Configurable host and API key

Prerequisites

  • Deno installed
  • Ollama server running (default: http://localhost:11434)

Installation

# Clone the repository
git clone https://github.com/NeaByteLab/Ollama-Chat-UI.git
cd Ollama-Chat-UI

# Install dependencies (handled automatically by Deno)
deno task dev

Usage

  1. Start the development server:

    deno task dev
  2. Open your browser to the URL shown in the terminal (usually http://localhost:5173)

  3. Configure your Ollama settings:

    • Set the host URL (default: http://localhost:11434)
    • Optionally add an API key if required
    • Select a model from the dropdown
  4. Start chatting!

Scripts

  • deno task dev - Start development server
  • deno task build - Build for production
  • deno task preview - Preview production build
  • deno task check - Format, lint, and type check

License

This project is licensed under the MIT license. See the LICENSE file for more info.