MCPcopy Index your code
hub / github.com/ChristophHandschuh/chatbot-ui

github.com/ChristophHandschuh/chatbot-ui @main

Chat with this repo
repository ↗ · DeepWiki ↗ · + Follow
79 symbols 172 edges 32 files 0 documented · 0%
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

Chatbot UI

A lightweight and modern chat interface for LLM interactions with Markdown support!

👉 Looking for a version with web search integration?
Check out the websearch_template branch, which includes contributions from CameliaK

WebSocket connection refactured by GBG7

Overview

A minimalist chat interface built with React and TypeScript, designed to be easily integrated with any LLM backend. Features a clean and modern design.

Demo

Getting Started

  1. Clone the repository
git clone https://github.com/ChristophHandschuh/chatbot-ui.git
cd chatbot-ui
  1. Install dependencies
npm i
  1. Start the development server
npm run dev

Test Mode

The project includes a test backend for development and testing purposes. To use the test mode:

  1. Navigate to the testbackend directory
  2. Create a Python virtual environment:
python -m venv venv
source venv/bin/activate  # On Windows use: venv\Scripts\activate
  1. Install the required package:
pip install websockets
  1. Run the test backend:
python test.py

Credits

This project was built by: - Leon Binder - Christoph Handschuh

Additional contribution by: - CameliaK – Implemented web search and integrated it into the LLM prompt

Some code components were inspired by and adapted from Vercel's AI Chatbot.

License

This project is licensed under the Apache License 2.0. Please note that some components were adapted from Vercel's open source AI Chatbot project.

Extension points exported contracts — how you extend this code

Core symbols most depended-on inside this repo

Shape

Function 73
Interface 6

Languages

TypeScript97%
Python3%

Modules by API surface

src/components/custom/icons.tsx42 symbols
src/components/custom/sidebar.tsx5 symbols
src/components/custom/actions.tsx5 symbols
src/pages/chat/chat.tsx4 symbols
src/context/ThemeContext.tsx4 symbols
testbackend/test.py2 symbols
src/components/ui/dialog.tsx2 symbols
src/components/ui/command.tsx2 symbols
src/components/custom/message.tsx2 symbols
src/components/custom/chatinput.tsx2 symbols
src/lib/utils.ts1 symbols
src/interfaces/interfaces.ts1 symbols

For agents

$ claude mcp add chatbot-ui \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact

Ask about this repo answers extend the page