LightRAG/lightrag_webui
dependabot[bot] d169ec5840
Bump the build-tools group in /lightrag_webui with 3 updates
Bumps the build-tools group in /lightrag_webui with 3 updates: [prettier](https://github.com/prettier/prettier), [prettier-plugin-tailwindcss](https://github.com/tailwindlabs/prettier-plugin-tailwindcss) and [vite](https://github.com/vitejs/vite/tree/HEAD/packages/vite).


Updates `prettier` from 3.6.2 to 3.7.1
- [Release notes](https://github.com/prettier/prettier/releases)
- [Changelog](https://github.com/prettier/prettier/blob/main/CHANGELOG.md)
- [Commits](https://github.com/prettier/prettier/compare/3.6.2...3.7.1)

Updates `prettier-plugin-tailwindcss` from 0.7.1 to 0.7.2
- [Release notes](https://github.com/tailwindlabs/prettier-plugin-tailwindcss/releases)
- [Changelog](https://github.com/tailwindlabs/prettier-plugin-tailwindcss/blob/main/CHANGELOG.md)
- [Commits](https://github.com/tailwindlabs/prettier-plugin-tailwindcss/compare/v0.7.1...v0.7.2)

Updates `vite` from 7.2.4 to 7.2.6
- [Release notes](https://github.com/vitejs/vite/releases)
- [Changelog](https://github.com/vitejs/vite/blob/main/packages/vite/CHANGELOG.md)
- [Commits](https://github.com/vitejs/vite/commits/v7.2.6/packages/vite)

---
updated-dependencies:
- dependency-name: prettier
  dependency-version: 3.7.1
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: build-tools
- dependency-name: prettier-plugin-tailwindcss
  dependency-version: 0.7.2
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: build-tools
- dependency-name: vite
  dependency-version: 7.2.6
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: build-tools
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-12-04 18:07:13 +00:00
..
public Fix linting 2025-05-12 23:27:41 +08:00
src Fix KaTeX extension loading by moving imports to app startup 2025-12-01 12:44:04 +08:00
.env.development Fix swagger docs page problem in dev mode 2025-10-29 02:31:52 +08:00
.gitignore
.prettierrc.json
bun.lock Bump the build-tools group in /lightrag_webui with 3 updates 2025-12-04 18:07:13 +00: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
index.html Update favicon.png 2025-05-12 20:02:03 +08:00
package.json Bump the build-tools group in /lightrag_webui with 3 updates 2025-12-04 18:07:13 +00:00
README.md Add frontend source code update warning 2025-10-14 10:59:21 +08:00
tailwind.config.js Add @tailwindcss/typography plugin and fix Tailwind config 2025-10-14 03:14:38 +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 KaTeX extension loading by moving imports to app startup 2025-12-01 12:44:04 +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.