You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
HuangHai eafeb7886a
'commit'
3 weeks ago
..
public 'commit' 3 weeks ago
src 'commit' 3 weeks ago
.gitignore 'commit' 3 weeks ago
.prettierrc.json 'commit' 3 weeks ago
README.md 'commit' 3 weeks ago
bun.lock 'commit' 3 weeks ago
components.json 'commit' 3 weeks ago
env.development.smaple 'commit' 3 weeks ago
env.local.sample 'commit' 3 weeks ago
eslint.config.js 'commit' 3 weeks ago
index.html 'commit' 3 weeks ago
package.json 'commit' 3 weeks ago
tailwind.config.js 'commit' 3 weeks ago
tsconfig.json 'commit' 3 weeks ago
vite.config.ts 'commit' 3 weeks ago

README.md

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.