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 |
||
|---|---|---|
| .. | ||
| public | ||
| src | ||
| .env.development | ||
| .gitignore | ||
| .prettierrc.json | ||
| biome.json | ||
| bun.lock | ||
| components.json | ||
| env.development.smaple | ||
| env.local.sample | ||
| eslint.config.js | ||
| index.html | ||
| package-lock.json | ||
| package.json | ||
| pnpm-lock.yaml | ||
| README.md | ||
| tailwind.config.js | ||
| tsconfig.json | ||
| vite.config.ts | ||
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
-
Install Bun:
If you haven't already installed Bun, follow the official documentation: https://bun.sh/docs/installation
-
Install Dependencies:
In the
lightrag_webuidirectory, run the following command to install project dependencies:bun install --frozen-lockfile -
Build the Project:
Run the following command to build the project:
bun run buildThis command will bundle the project and output the built files to the
lightrag/api/webuidirectory.
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.