DigHuang 3df8908851 feat(sandbox): support multimedia preview and source/preview toggle in editor (#6723)
* style: re-component Editor

* style: re-component Editor

* feat: sandbox file preview support with binary detection and mime type handling

* feat: preview support for markdown, svg, and html files in sandbox editor

* feat(sandbox): support multimedia preview and source/preview toggle in editor

* fix: XSS SVG rendering with MyPhotoView

* refactor: blob URL lifecycle management, improve filename encoding in downloads

* feat: implement S3-based HTML preview for sandbox editor and add PDF support to binary file detection

* refactor: improve sandbox editor stability by adding file size validation

* feat: introduce fileService to encapsulate sandbox file operations and add unit tests

* refactor: secure HTML sandbox preview by fetching content from server and injecting CSP meta tags

* refactor: replace unified file operation API with dedicated endpoints for list, read, write, and download operations

* chore: remove packageManager field from package.json

* fix: sandbox file read error message

* refactor: improve sandbox editor UI styling, type safety, and CSP security policy

* feat: HTML preview link API and standardize sandbox request/response types

* fix: improve log view layout responsiveness by adding overflow handling and flex constraints

* perf: fix review

---------

Co-authored-by: archer <545436317@qq.com>
2026-04-10 23:02:59 +08:00
2026-04-10 22:55:44 +08:00
2026-03-30 10:05:42 +08:00
2025-08-25 19:19:43 +08:00
2026-02-12 16:37:50 +08:00
2026-04-08 18:15:20 +08:00
2026-04-10 22:55:44 +08:00
2026-03-03 17:39:47 +08:00
2026-03-06 19:02:04 +08:00
2026-04-10 22:55:44 +08:00
2025-10-20 19:08:21 +08:00
2025-11-04 16:58:12 +08:00
2026-02-12 16:37:50 +08:00
2024-01-05 18:02:53 +08:00
2024-07-15 22:50:48 +08:00
2025-08-02 19:38:37 +08:00
2023-03-28 00:48:24 +08:00
2025-06-19 10:35:21 +08:00
2025-08-02 19:38:37 +08:00
2025-10-20 19:08:21 +08:00
2026-03-03 17:39:47 +08:00
2026-03-03 17:39:47 +08:00
2026-03-03 17:39:47 +08:00
2026-03-03 17:39:47 +08:00
2026-03-03 17:39:47 +08:00
2026-03-03 17:39:47 +08:00
2026-04-09 15:12:39 +08:00
2026-03-06 19:02:04 +08:00
2026-04-07 22:52:03 +08:00
2024-09-06 17:22:24 +08:00

fastgpt logo

FastGPT

English | 简体中文 | Bahasa Indonesia | ไทย | Tiếng Việt | 日本語

FastGPT is an AI Agent building platform that provides out-of-the-box capabilities for data processing and model invocation. It also enables workflow orchestration through Flow visualization, allowing you to achieve complex application scenarios!

cloud document development project

https://github.com/labring/FastGPT/assets/15308462/7d3a38df-eb0e-4388-9250-2409bd33f6d4

Quick Start

You can quickly start FastGPT using Docker. Run the following command in your terminal and follow the prompts to pull the configuration.

# Run the command to pull the configuration file
bash <(curl -fsSL https://doc.fastgpt.cn/deploy/install.sh)
# Start the service
docker compose up -d

After fully started, you can access FastGPT at http://localhost:3000. The default account is root and the password is 1234.

If you encounter any issues, you can view the complete Docker deployment tutorial

🛸 Usage

  • Cloud Version
    If you don't need private deployment, you can directly use our cloud service at: fastgpt.io

  • Community Self-Hosted Version
    You can quickly deploy using Docker or use Sealos Cloud to deploy FastGPT with one click.

  • Commercial Version
    If you need more complete features or in-depth service support, you can choose our Commercial Version. In addition to providing complete software, we also offer implementation guidance for specific scenarios. You can submit a commercial consultation.

💡 Core Features

Demo Demo
Demo Demo

1 Application Orchestration

  • Planning Agent mode.
  • Dialogue workflow, plugin workflow, including basic RPA nodes.
  • User interaction
  • Bidirectional MCP
  • Assisted workflow generation

2 Application Debugging

  • Knowledge base single-point search testing
  • Reference feedback during conversation with edit and delete capabilities
  • Complete call chain logs
  • Application evaluation
  • Advanced orchestration DeBug mode
  • Application node logs

3 Knowledge Base

  • Multi-database reuse and mixing
  • Chunk record modification and deletion
  • Support for manual input, direct segmentation, QA split import
  • Support for txt, md, html, pdf, docx, pptx, csv, xlsx (more can be PR'd), support for URL reading & CSV batch import
  • Hybrid retrieval & reranking
  • API knowledge base
  • RAG module hot-swapping

4 OpenAPI Interface

  • Completions interface (aligned with GPT chat mode)
  • Knowledge base CRUD
  • Dialogue CRUD
  • Automated OpenAPI interface

5 Operations Features

  • Login-free sharing window
  • One-click Iframe embedding
  • Unified dialogue record review with data annotation
  • Application operation logs

6 Others

  • Visual model configuration.
  • Voice input and output support (configurable)
  • Fuzzy input hints
  • Template marketplace
# #

🌿 Third-party Ecosystem

#

🏘️ Community

Join our Feishu group:

#

🤝 Contributors

We warmly welcome contributions in various forms. If you're interested in contributing code, check out our GitHub Issues and show us your brilliant ideas!




Active participants of labring - past 28 days New trends of labring
New participants of labring - past 28 days

🌟 Star History

Star History Chart #

License

This repository follows the FastGPT Open Source License.

  1. Commercial use as backend services is allowed, but SaaS services are not permitted.
  2. Any commercial services without commercial authorization must retain the relevant copyright information.
  3. Please see FastGPT Open Source License for full details.
  4. Contact: Dennis@sealos.io, View Commercial Pricing
S
Description
FastGPT is a knowledge-based platform built on the LLM, offers out-of-the-box data processing and model invocation capabilities, allows for workflow orchestration through Flow visualization!
Readme 632 MiB
Languages
TypeScript 53.5%
JavaScript 37.9%
MDX 7.9%
Shell 0.2%
Python 0.2%