LightRAG/lightrag_webui
clssck 95c83abcf8 feat(lightrag,lightrag_webui): add S3 storage integration and UI
Add S3 storage client and API routes for document management:
- Implement s3_routes.py with file upload, download, delete endpoints
- Enhance s3_client.py with improved error handling and operations
- Add S3 browser UI component with file viewing and management
- Implement FileViewer and PDFViewer components for storage preview
- Add Resizable and Sheet UI components for layout control
Update backend infrastructure:
- Add bulk operations and parameterized queries to postgres_impl.py
- Enhance document routes with improved type hints
- Update API server registration for new S3 routes
- Refine upload routes and utility functions
Modernize web UI:
- Integrate S3 browser into main application layout
- Update localization files for storage UI strings
- Add storage settings to application configuration
- Sync package dependencies and lock files
Remove obsolete reproduction script:
- Delete reproduce_citation.py (replaced by test suite)
Update configuration:
- Enhance pyrightconfig.json for stricter type checking
2025-12-07 11:04:38 +01:00
..
public Fix linting 2025-05-12 23:27:41 +08:00
src feat(lightrag,lightrag_webui): add S3 storage integration and UI 2025-12-07 11:04:38 +01:00
.env.development feat: add db_degree visibility and orphan connection UI 2025-11-29 21:08:07 +01: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
biome.json chore: add citation system and code formatting setup 2025-11-30 20:51:43 +01:00
bun.lock feat(lightrag,lightrag_webui): add S3 storage integration and UI 2025-12-07 11:04:38 +01:00
components.json move lightrag_webui folder to top directory 2025-02-13 17:29:51 +08:00
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 enhance web UI with retrieval testing and UI improvements 2025-02-16 04:34:22 +08:00
index.html Update favicon.png 2025-05-12 20:02:03 +08:00
package-lock.json chore: add citation system and enhance RAG UI components 2025-12-01 17:50:00 +01:00
package.json feat(lightrag,lightrag_webui): add S3 storage integration and UI 2025-12-07 11:04:38 +01:00
pnpm-lock.yaml feat(lightrag,lightrag_webui): add S3 storage integration and UI 2025-12-07 11:04:38 +01: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 feat(lightrag,lightrag_webui): add S3 storage integration and UI 2025-12-07 11:04:38 +01: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.