Download your project

Your code is yours. You can download any project at any time as a zip, a tar.gz or a git bundle. Downloads stay available when a trial has ended, so you are never locked out of your own work.

From Hyper Agent

Use the Export button for the project. It first shows a preview: file count, total size, detected stack, any credential findings, and what will be left out. You then choose the format and download.

Formats

Format format= Contents
Zip zip Files only. Opens everywhere.
Tar.gz tgz Files only, as a compressed tarball.
Git bundle bundle The whole git history in one file. Restore with git clone project.bundle my-project.

Profiles and history

Option Values Meaning
profile source (default), with_deps source leaves out dependency and build folders (node_modules, venv, .venv, dist, build, .next, __pycache__, target next to a Cargo or Maven file, vendor next to a Composer, Go or Ruby manifest, and similar). with_deps keeps them.
history all (default), head For bundles, the full history or only the current state.
secrets ask (default), exclude, include What to do with files whose content looks like credentials.

What is always left out

Files with credential-looking content (for example a hardcoded API_KEY = "...") are handled by the secrets option. With the default ask, CCD stops and shows you the files, and you choose to leave them out or include them. A git bundle cannot leave files out of its history, so CCD asks you to confirm when secret-type files exist in history.

Every export includes a generated README with detected install and run commands for your stack: Node.js, Python, Go, Rust, PHP, Ruby, Java (Maven and Gradle), Docker, Docker Compose or a static site.

Size and delivery

API

# preview what would be exported
curl -H "X-API-Key: $CCD_API_KEY" \
  "$CCD_URL/api/dev/projects/$PID/export/preview?format=zip&profile=source"

# small project: download straight away
curl -H "X-API-Key: $CCD_API_KEY" -o project.zip \
  "$CCD_URL/api/dev/projects/$PID/export/download?format=zip&secrets=exclude"

# big project or bundle: start a job, then poll it
curl -X POST -H "X-API-Key: $CCD_API_KEY" -H "Content-Type: application/json" \
  -d '{"format":"bundle","secrets":"include"}' "$CCD_URL/api/dev/projects/$PID/export/start"
curl -H "X-API-Key: $CCD_API_KEY" "$CCD_URL/api/dev/projects/$PID/export/jobs/$XID"

A finished job returns file_url, parts[] with a URL per part, sha256, size and expires_at. Delete a finished job early with DELETE .../export/jobs/$XID.

Only the project's owner company can export it, and every export is audited.