Skip to content

Quickstart

Create a repository, push a commit, and browse it on the web. That is the whole loop.

Sign up, create a token, create a repo, clone, push, optional webhook.

Open https://amendable.io/sign-up and create a free account.

The free plan includes:

  • 5 active repositories
  • 1 GiB stored Git data
  • 5 GiB Git transfer per UTC month

You can stay on free while you try clone and push. Bring-your-own S3 needs Pro or Platform. See pricing.

You need a token for both the API and Git HTTPS.

Terminal window
cargo install --git https://github.com/LaunchPlatform/amendable-cli --locked
amendable login

The CLI prints a short code and a URL. Open the URL, confirm the code matches, and grant a token. The secret is stored in ~/.config/amendable/config.toml (mode 0600).

Then:

Terminal window
amendable whoami

Names should be lowercase letters, numbers, hyphens, or underscores. The web form caps names at 32 characters. The API allows up to 64.

Terminal window
amendable repo create hello-amendable
amendable repo url hello-amendable

Replace USER with your Amendable username.

Terminal window
amendable repo clone hello-amendable
cd hello-amendable
echo '# hello' > README.md
git add README.md
git commit -m "Initial commit"
git push -u origin main

The clone command uses your stored token, then rewrites origin to the clean HTTPS URL and sets credential.helper to amendable git-credential.

After the push, open:

https://amendable.io/r/USER/hello-amendable

You should see README.md and the commit. Before the first push, the page looks like this:

Empty repository page with git clone, add, commit, and git push origin main.
Terminal window
amendable whoami --json

repos.used should be at least 1. Transfer bytes go up when you clone and push.

Terminal window
amendable repo delete hello-amendable --yes

Or:

Terminal window
curl -sS -X DELETE \
"https://api.amendable.io/v1/repos/USER/hello-amendable" \
-H "access-token: $AMENDABLE_TOKEN"

Delete is a 204. The name can be reused after that.