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.
-
Open the SourceCraft home page.
-
On the
Home tab, under Your craftspace, navigate to Repositories and select your repository.Alternatively, you can open any public repository.
-
Below the repository name, select the branch you want to download.
-
In the top-right corner, click
Clone. -
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:
.zipformat:https://codeload.sourcecraft.tech/<organization_slug>/<repository_slug>/zipball/refs/heads/<branch_name>..tar.gzformat: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:
-
.ziparchive:wget \ https://codeload.sourcecraft.tech/<organization_slug>/<repository_slug>/zipball/refs/heads/<branch_name> \ --output-document=<file_name>.zip -
.tar.gzarchive:wget \ https://codeload.sourcecraft.tech/<organization_slug>/<repository_slug>/tarball/refs/heads/<branch_name> \ --output-document=<file_name>.tar.gz