LightRAG/lightrag_webui
2025-10-12 14:18:59 +02:00
..
public Fix linting 2025-05-12 23:27:41 +08:00
src Merge pull request #2196 from zl7261/main 2025-10-12 03:11:02 +08:00
.gitignore
.prettierrc.json
bun.lock chore: update deps 2025-10-10 17:12:59 +02:00
components.json
env.development.smaple
env.local.sample
eslint.config.js
index.html Update favicon.png 2025-05-12 20:02:03 +08:00
package.json chore: update deps 2025-10-10 17:12:59 +02:00
README.md Update README.md 2025-10-12 14:18:59 +02:00
tailwind.config.js Move accordion keyframes from CSS to Tailwind config and add fallback 'auto' value 2025-10-12 01:55:20 +08:00
tsconfig.json Add KaTeX mhchem extension support and improve math rendering 2025-09-28 15:13:04 +08:00
vite.config.ts Simplify Vite build config by removing manual chunking strategy 2025-10-12 02:42:15 +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 --production
    
  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.