Skip to content

shinegun/ChatHub

Repository files navigation

ChatHub

Own build GUI for ChatHub, a local run Chat AI and personal AI just for you.

Overview

ChatHub is a personal AI interface with local API integration, conversation memory, RAG capabilities, and folder organization. It provides a beautiful, customizable chat interface that runs entirely on your local machine, giving you complete control over your AI interactions.

Features

🤖 AI Chat Interface

  • Local API Integration: Connect to your own local AI API server
  • Multiple Model Support: Switch between different AI models seamlessly
  • Real-time Streaming: Get responses streamed in real-time for better user experience
  • Connection Status: Visual indicator showing API connection status
  • Markdown Rendering: AI responses support full markdown formatting including:
    • Bold, italic, and headings
    • Lists (ordered and unordered)
    • Tables
    • Code blocks (inline and block)
    • Blockquotes, links, and horizontal rules

💬 Conversation Management

  • Persistent Memory: All conversations are automatically saved in browser localStorage
  • Context Window Management: Intelligent handling of conversation history (last 50 messages)
  • Automatic Titles: Conversations are automatically titled based on content
  • Multiple Conversations: Create and manage unlimited conversations

📁 Folder Organization

  • Create Folders: Organize your conversations into custom folders
  • Move Conversations: Easily move conversations between folders
  • Hierarchical Structure: Support for nested folder structures
  • Quick Access: Fast navigation through your organized conversations

🔍 Local RAG (Retrieval-Augmented Generation)

  • Document Indexing: Add and index your own documents locally
  • Semantic Search: Find relevant context using semantic search
  • Context Retrieval: Automatically retrieve relevant context for enhanced AI responses
  • Local Storage: All documents and embeddings stored locally for privacy

🎨 Customization & Settings

  • Theme Selection: Choose from Light, Dark, or Black themes
  • Font Preferences:
    • Custom font family selection
    • Adjustable font size (Small, Medium, Large)
  • Button Styling:
    • Multiple button shapes (Rounded, Full Round, Sharp, Subtle)
    • Adjustable button sizes
  • Profile Settings: Customize your profile and preferences
  • Real-time Preview: See your changes instantly with live previews

⚙️ Advanced Features

  • Model Selection: Switch between available AI models on the fly
  • Model-Specific Settings: Configure settings per model
  • Temperature Control: Adjust AI response creativity
  • Token Management: Monitor and control token usage
  • Error Handling: Graceful error handling with user-friendly messages

Getting Started

For installation and setup instructions, see SETUP.md.

Technology Stack

  • React 18: Modern React with hooks
  • Vite: Fast build tool and dev server
  • Tailwind CSS: Utility-first CSS framework
  • React Markdown: Markdown rendering for AI responses
  • LocalStorage: Client-side data persistence

Privacy & Security

  • 100% Local: All data stored locally in your browser
  • No Cloud Storage: Your conversations never leave your device
  • Local API: Connect to your own AI API server
  • No Tracking: Zero analytics or tracking

License

This is a personal project built for local use.

About

A personal AI chat interface with local API integration, conversation memory, RAG capabilities, and folder organization

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors