Get an API key
Host

Large deploys

host.deploy({ files }) — above 8 MB, the direct upload path

Above 8 MB of files, deploy() switches by itself to the direct upload path. Same call, same result, and only the files the host does not already have are sent. SDK 0.4.2+.

same call16 MiB packsunchanged files are not resent
Using Python?

Switch any code block to Python: the choice applies to every page. Python SDK guide and resource reference.

  • Manifest. The SDK sends each file's path, size and hash, and learns which hashes are missing.
  • Packs. The missing files go as raw packs of at most 16 MiB, three at a time. A pack that does not arrive is sent again; what arrived stays.
  • Finish. The deploy is created from the manifest, and answers like a small deploy.

Redeploying is cheap

A redeploy only uploads what changed: a site with the same videos sends their hashes, not their bytes. Measured: 805 files and 54 MB online in 90 seconds, the identical redeploy in 9.

The limits do not move

25 MB per file, 20,000 files, and the files that never go online (.env*, .git/, node_modules/) are checked on the manifest, before any byte is sent.