GitHub Sync
Cadrant can automatically push your project's source code to a GitHub repository after every update. This gives you a full version-controlled backup of your code and lets you collaborate with developers using standard Git workflows.
How it works
- The sync is one-way: Cadrant → GitHub. Cadrant is always the source of truth.
- After each successful build (create, update, or editor save), the code is force-pushed to your GitHub repository.
- If you revert to a previous version in Cadrant, the GitHub repo will be updated on the next build.
Create a GitHub Personal Access Token
- Go to github.com/settings/tokens and create a new token (classic).
- Select the "repo" scope (full control of private repositories).
- Set an expiration date and click "Generate token".
- Copy the token — you won't be able to see it again.
Create your repository
- Open your project in Cadrant and click the GitHub icon in the top navigation bar.
- Enter a name for your repository (e.g. my-app). The repository name is pre-filled with your project name.
- Paste your Personal Access Token and click "Create repository".
- Cadrant automatically creates a private repository on your GitHub account and links it to your project.
Disconnect
To stop syncing, open the GitHub modal and click "Disconnect". Your code already pushed to GitHub will remain in the repository.
You don't need to create the repository on GitHub beforehand — Cadrant handles it automatically. If a repository with the same name already exists on your account, it will be reused.