Lorapok-Dynamic-Ollama-LLM-Chat-Interface

Lorapok Dynamic Ollama LLM Chat Interface

This project provides a complete setup for running Large Language Models (LLMs) locally using Ollama, with a dynamic console interface similar to Gemini/Claude, web UI access via Open WebUI, VS Code integration, and API server capabilities. It supports connecting from other PCs on the network and works across Windows, macOS, and Linux.

Features

🌐 Website & Documentation

Visit our professional website for:

The website includes a live terminal demo, download links, and comprehensive guides to get you started quickly.

🚀 Quick Start

  1. Install Dependencies
    .\setup\install_dependencies.ps1
    
  2. Pull a Model
    ollama pull qwen2.5-coder:7b-instruct
    
  3. Run the Server
    .\scripts\run_server.ps1
    
  4. Access Open WebUI Open http://localhost:8080 in your browser

  5. Start Dynamic Console Chat
    python src/ollama_client.py
    

    Try commands like /help, /models, /stats, /bench

  6. Connect from Another PC Use the client script: python src/ollama_client.py <server_ip>

  7. Internet Access (Optional) Configure port forwarding on your router for remote access. See docs/setup.md for TP-Link Archer C6 instructions.

🎯 Key Dynamic Features

🤖 Advanced Model Management

💬 Intelligent Conversation System

📊 Real-time Performance Monitoring

⚙️ Dynamic Configuration

🎨 Rich Interactive Experience

Project Structure

├── setup/              # Installation scripts
├── scripts/            # Runtime scripts
├── src/                # Source code
│   ├── ollama_client.py    # Main dynamic chat client
│   ├── config.py          # Dynamic configuration system
│   ├── model_manager.py   # Model management utilities
│   ├── conversation_manager.py  # Conversation handling
│   └── performance_monitor.py   # Performance tracking
├── docs/               # Documentation
│   └── website/         # GitHub Pages website
│       ├── index.html   # Main website
│       ├── styles.css   # Professional styling
│       ├── script.js    # Interactive features
│       └── README.md    # Website documentation
├── .github/            # GitHub Actions workflows
│   └── workflows/       # CI/CD automation
├── config.json         # Configuration file
└── README.md          # This file

Detailed Setup

See docs/setup.md for detailed installation instructions.

Usage

See docs/usage.md for usage examples.

API Documentation

See docs/api.md for API reference.