A modern web UI for interacting with llm, a command-line utility for working with Large Language Models.
UI-LLM provides a clean, intuitive interface for:
- Managing conversations with LLMs
- Viewing message history with timestamps and token counts
- Easy navigation between conversations
The application is built with Next.js, React, and TypeScript, providing a responsive and accessible user experience.
- Clean, minimal conversation interface
- Conversation history
- Token usage tracking
- Responsive design
This application is designed to run locally as it connects to the SQLite database used by the llm
CLI tool on your computer.
- Create a
.env
file in the project root with the path to your llm database:
# Create .env file with your llm database path in one command
echo "DB_PATH=\"$(llm logs path)\"" > .env
Install dependencies and run the local server:
# Install dependencies
pnpm install
# Run the development server
pnpm dev
Open http://localhost:3000 with your browser to see the result.
This UI is intended for local use only as it directly accesses the SQLite database on your machine. It does not provide authentication or multi-user support.
Generative AI Usage: This project was developed with heavy reliance on LLM-assisted coding. Portions of the codebase were generated or significantly influenced by generative AI tools.