Skip to main content
TUS breaks large uploads into chunks and resumes them after a dropped connection. The browser uploads directly to Bunny; your server only issues a short-lived authorization. This matters for large video files, flaky connections, and serverless hosts with tight request limits (e.g. Vercel).
Or configure it:
How it works:
1

Request

The admin UI calls POST /api/storage-bunny/stream/tus-auth with the target collection and file info.
2

Authorize

The plugin checks access (via checkAccess or the default rule), creates the video in Bunny Stream, and returns a signed TUS authorization.
3

Upload

The browser uploads directly to Bunny using the TUS protocol.
4

Track (optional)

If cleanup is enabled, the plugin tracks the upload in a hidden bunny-stream-upload-sessions collection until it completes.