A modern chat interface for Large Language Models (LLMs) built with React, TypeScript, and Vite.
- Clean and intuitive chat interface
- Model selection capability
- Real-time chat interactions
- Markdown support with syntax highlighting
- Settings configuration through modal window
- Responsive sidebar for chat management
- React 19
- TypeScript
- Vite 6
- Markdown rendering with markdown-to-jsx
- Syntax highlighting via starry-night
- Modern ESLint configuration
- Node.js (Latest LTS version recommended)
- npm or yarn package manager
- Clone the repository:
git clone https://github.com/valaises/llm-chat.git
cd llm-chatui
- Install dependencies:
npm install
To start the development server:
npm run dev
This will start the Vite development server with hot module replacement.
To create a production build:
npm run build
The built files will be in the dist
directory.
To preview the production build locally:
npm run preview
The project is organized into several key directories:
- src/: Contains the main application code, including components, hooks, and utilities.
- public/: Holds static assets such as images and the main HTML file.
- tests/: Includes unit and integration tests for the application.
- dist/: The output directory for production builds.
- .github/: Contains GitHub-specific files, including workflows for CI/CD.