Unlike other package managers like pypi, npm and crates, there is no central package repository in FASTN. Since every FASTN package is a website, that website acts as the package repository.
What this means is when
fifthtry.github.io/doc-site as a dependency, it fetches the content of
fifthtry.github.io/doc-site/FASTN.ftd file which acts as the meta data for the package, and the meta data includes the URL from where the package ZIP can be downloaded.
In our examples we use Github’s zip serving feature to let Github generate and distribute our .zip file. If you are not using
Github, you can store the zip file containing entire package in some other location, like S3, or a server you control, and
fastn will work with that.