LightRAG/lightrag_webui
yangdx 7e591a81c0 Clean up duplicate dependencies in package.json and lock file
• Remove duplicate katex entries
• Remove duplicate lucide-react entries
• Remove duplicate mermaid entries
• Remove duplicate @types/bun entries
• Fix trailing commas in JSON

(cherry picked from commit 459e4ddc09)
2025-12-04 19:11:23 +08:00
..
public Fix linting 2025-05-12 23:27:41 +08:00
src Add auto-refresh of popular labels when pipeline completes 2025-12-04 19:11:15 +08:00
.env.development Fix swagger docs page problem in dev mode 2025-12-04 19:09:02 +08:00
.gitignore tests: stabilize integration tests + skip external services; fix multi-tenant API behavior and idempotency (#4) 2025-12-04 16:04:21 +08:00
.prettierrc.json
bun.lock Clean up duplicate dependencies in package.json and lock file 2025-12-04 19:11:23 +08:00
components.json
Dockerfile tests: stabilize integration tests + skip external services; fix multi-tenant API behavior and idempotency (#4) 2025-12-04 16:04:21 +08:00
env.development.smaple Fix swagger docs page problem in dev mode 2025-12-04 19:09:02 +08:00
env.local.sample Added root redirect to /webui and updated webui config 2025-03-18 15:38:41 +08:00
eslint.config.js
index.html Update favicon.png 2025-05-12 20:02:03 +08:00
package.json Clean up duplicate dependencies in package.json and lock file 2025-12-04 19:11:23 +08:00
README.md
tailwind.config.js Add typography to webui and fix markdown render problem 2025-04-22 17:21:24 +08:00
tsconfig.json Add KaTeX mhchem extension support and improve math rendering 2025-09-28 15:13:04 +08:00
vite.config.ts Fix swagger docs page problem in dev mode 2025-12-04 19:09:02 +08: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 --emptyOutDir
    

    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.