Downloading an archive containing a SourceCraft repository

You can download the contents of a specific repository branch without the commit history as an archive using the SourceCraft UI or via a direct link.

  1. Open the SourceCraft home page.

  2. On the Home tab, under Your craftspace, navigate to Repositories and select your repository.

    Alternatively, you can open any public repository.

  3. Below the repository name, select the branch you want to download.

  4. In the top-right corner, click Clone.

  5. In the window that opens, click Download ZIP.

    The archive with the branch contents will download to your computer.

Warning

You can only download public repositories via a direct link.

To download contents of a public repository, use these direct links:

  • .zip format: https://codeload.sourcecraft.tech/<organization_slug>/<repository_slug>/zipball/refs/heads/<branch_name>.
  • .tar.gz format: https://codeload.sourcecraft.tech/<organization_slug>/<repository_slug>/tarball/refs/heads/<branch_name>.

To download an archive, e.g., using wget, run one of the following commands:

  • .zip archive:

    wget \
      https://codeload.sourcecraft.tech/<organization_slug>/<repository_slug>/zipball/refs/heads/<branch_name> \
      --output-document=<file_name>.zip
    
  • .tar.gz archive:

    wget \
      https://codeload.sourcecraft.tech/<organization_slug>/<repository_slug>/tarball/refs/heads/<branch_name> \
      --output-document=<file_name>.tar.gz
    

Useful links