LightRAG/lightrag_webui
2025-02-15 00:34:38 +08:00
..
public move lightrag_webui folder to top directory 2025-02-13 17:29:51 +08:00
src handle missing edge types in graph data 2025-02-15 00:34:38 +08:00
.gitignore move lightrag_webui folder to top directory 2025-02-13 17:29:51 +08:00
.prettierrc.json move lightrag_webui folder to top directory 2025-02-13 17:29:51 +08:00
bun.lock update readme 2025-02-13 17:54:10 +08:00
components.json move lightrag_webui folder to top directory 2025-02-13 17:29:51 +08:00
eslint.config.js move lightrag_webui folder to top directory 2025-02-13 17:29:51 +08:00
index.html move lightrag_webui folder to top directory 2025-02-13 17:29:51 +08:00
package.json update readme 2025-02-13 17:54:10 +08:00
README.md update readme 2025-02-13 17:54:10 +08:00
tsconfig.json move lightrag_webui folder to top directory 2025-02-13 17:29:51 +08:00
vite.config.ts update readme 2025-02-13 17:54:10 +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
    

    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.