docs: update self-hosting documentation with secure context requirements for Office file conversion

This commit is contained in:
alam00000
2026-03-13 23:32:52 +05:30
parent d7e06ce361
commit 58c78b09d2
7 changed files with 44 additions and 10 deletions

View File

@@ -356,6 +356,9 @@ It is very straightforward to host your own instance of BentoPDF using a static
Since BentoPDF is fully client-side, all processing happens in the user's browser and no server-side processing is required. This means you can host BentoPDF as simple static files on any web server or hosting platform.
> [!IMPORTANT]
> Office file conversion uses LibreOffice WASM, which requires `SharedArrayBuffer`. That means the app must be both cross-origin isolated and served from a secure context. `http://localhost` works for local testing, but `http://192.168.x.x` or other LAN IPs usually require HTTPS even if the server already sends the correct COOP/COEP headers.
**Download from Releases (Recommended):**
The easiest way to self-host is to download the pre-built distribution file from our [GitHub releases](https://github.com/alam00000/bentopdf/releases). Each release includes a `dist-{version}.zip` file that contains all necessary files for self-hosting.