LightRAG/lightrag_webui
clssck 59e89772de refactor: consolidate to PostgreSQL-only backend and modernize stack
Remove legacy storage implementations and deprecated examples:
- Delete FAISS, JSON, Memgraph, Milvus, MongoDB, Nano Vector DB, Neo4j, NetworkX, Qdrant, Redis storage backends
- Remove Kubernetes deployment manifests and installation scripts
- Delete unofficial examples for deprecated backends and offline deployment docs
Streamline core infrastructure:
- Consolidate storage layer to PostgreSQL-only implementation
- Add full-text search caching with FTS cache module
- Implement metrics collection and monitoring pipeline
- Add explain and metrics API routes
Modernize frontend and tooling:
- Switch web UI to Bun with bun.lock, remove npm and pnpm lockfiles
- Update Dockerfile for PostgreSQL-only deployment
- Add Makefile for common development tasks
- Update environment and configuration examples
Enhance evaluation and testing capabilities:
- Add prompt optimization with DSPy and auto-tuning
- Implement ground truth regeneration and variant testing
- Add prompt debugging and response comparison utilities
- Expand test coverage with new integration scenarios
Simplify dependencies and configuration:
- Remove offline-specific requirement files
- Update pyproject.toml with streamlined dependencies
- Add Python version pinning with .python-version
- Create project guidelines in CLAUDE.md and AGENTS.md
2025-12-12 16:28:49 +01:00
..
public
src refactor: consolidate to PostgreSQL-only backend and modernize stack 2025-12-12 16:28:49 +01:00
.env.development feat: add db_degree visibility and orphan connection UI 2025-11-29 21:08:07 +01:00
.gitignore
.prettierrc.json
biome.json refactor: consolidate to PostgreSQL-only backend and modernize stack 2025-12-12 16:28:49 +01:00
bun.lock refactor: consolidate to PostgreSQL-only backend and modernize stack 2025-12-12 16:28:49 +01:00
components.json
env.development.smaple Fix swagger docs page problem in dev mode 2025-10-29 02:31:52 +08:00
env.local.sample Fix redoc access problem in front-end dev mode 2025-10-17 20:36:15 +08:00
eslint.config.js refactor: consolidate to PostgreSQL-only backend and modernize stack 2025-12-12 16:28:49 +01:00
index.html
package.json refactor: consolidate to PostgreSQL-only backend and modernize stack 2025-12-12 16:28:49 +01:00
README.md Add frontend source code update warning 2025-10-14 10:59:21 +08:00
tailwind.config.js refactor: consolidate to PostgreSQL-only backend and modernize stack 2025-12-12 16:28:49 +01:00
tsconfig.json Add KaTeX mhchem extension support and improve math rendering 2025-09-28 15:13:04 +08:00
vite.config.ts refactor: consolidate to PostgreSQL-only backend and modernize stack 2025-12-12 16:28:49 +01:00

LightRAG WebUI

LightRAG WebUI is a React-based web interface for interacting with the LightRAG system. It provides a user-friendly interface for querying, managing, and exploring LightRAG's functionalities.

Installation

  1. Install Bun:

    If you haven't already installed Bun, follow the official documentation: https://bun.sh/docs/installation

  2. Install Dependencies:

    In the lightrag_webui directory, run the following command to install project dependencies:

    bun install --frozen-lockfile
    
  3. Build the Project:

    Run the following command to build the project:

    bun run build
    

    This command will bundle the project and output the built files to the lightrag/api/webui directory.

Development

  • Start the Development Server:

    If you want to run the WebUI in development mode, use the following command:

    bun run dev
    

Script Commands

The following are some commonly used script commands defined in package.json:

  • bun install: Installs project dependencies.
  • bun run dev: Starts the development server.
  • bun run build: Builds the project.
  • bun run lint: Runs the linter.