Core Platform

Vault & File Operations

KeepCloud Vault unifies directory browsing, chunked file uploads, cross-provider transfers, safe Recycle Bin recovery, and encrypted sharing behind consistent web UI controls and REST endpoints.

Chunked Uploads & Server-Side PDF Generation

  • Vault Upload Limit (2048 MB Default): Standard dashboard uploads via POST /api/cloud/upload and POST /api/cloud/files/upload support up to 2048 MB (2 GB, controlled by MAX_UPLOAD_SIZE_MB).
  • AI Connector Upload Cap (25 MB): Uploads initiated via MCP (keepcloud_save_file) apply a 25 MB safety ceiling (MAX_MCP_SAVE_BYTES) to protect stateless agent HTTP sessions.
  • Markdown-to-PDF Rendering: When AI agents save a .pdf filename with UTF-8 Markdown content in keepcloud_save_file, KeepCloud renders clean multi-page A4 PDF documents server-side with PyMuPDF instead of requiring fragile client-side base64 blobs.

Move & Cross-Cloud Copy

Organize files within the same provider (`POST /api/cloud/files/move`) or replicate files across folders and completely different cloud providers (`POST /api/cloud/files/copy` / `keepcloud_copy_file`).

Zero-Destructive Transfers

Cross-cloud copy streams data from the source provider (such as Telegram Cloud) directly into the target provider (such as Google Drive or OneDrive) while preserving the original file intact.

Expiring Share Links & Zero-Delete Recycle Bin

CapabilityEndpointKey Controls
Create Share LinkPOST /api/share/createOpaque /v/s/{opaque_token}, configurable expiry hours, optional password protection
Unlock Protected SharePOST /api/share/unlockVerifies share password before streaming preview or signed download token
Revoke Share LinkDELETE /api/share/file/{file_id}Immediately invalidates active public/opaque tokens
Inspect Recycle BinGET /api/cloud/recycleLists soft-deleted items with origin metadata
Restore / Final PurgePOST /api/cloud/recycle/restore & /deleteRestores files safely or requires explicit human confirmation in Dashboard UI

Frequently Asked Questions

Can I share a file stored in Telegram or OneDrive with someone who has no KeepCloud account?

Yes. KeepCloud generates an opaque /v/s/{token} URL (or file share link) with optional expiration and password protection so recipients can preview or download safely.

Why does MCP have a 25 MB upload limit while Vault supports 2048 MB?

Direct web uploads stream files in chunks into your connected drive, whereas JSON-RPC AI tool calls serialize payloads inline; capping AI tool writes at 25 MB prevents agent timeouts and memory spikes.