Git
Add a private Git repository over HTTPS.
npx extraorbital add gitExperimental hosting without backups. Keep an independent copy.
- 01 / Run the commandGet the service
- 02 / Read your .envUse its credentials
- 03 / Connect your appCall the SDK or API
Limits
| Limit | Free · Prototype | Paid |
|---|---|---|
| Repositories | 30 | Not available yet |
| Storage | 100 MB per repository | Not available yet |
| Requests | Included | Not available yet |
| Backups | None | Not available yet |
| Inactive resource | 30 days after last use | Not available yet |
Free allowances are shared across the account. Provider limits still apply on paid plans.
Use it
Push an existing local repository using the supplied credentials:
import { execFileSync } from "node:child_process";
const remote = new URL(process.env.GIT_URL!);
remote.username = process.env.GIT_USERNAME!;
remote.password = process.env.GIT_TOKEN!;
execFileSync("git", ["push", remote.toString(), "main"]);Environment variables
The CLI writes these to .env or an existing .env.local.
| Variable | Purpose |
|---|---|
GIT_URL | HTTPS repository URL |
GIT_USERNAME | Git username |
GIT_TOKEN | Private Git token |
Specifics
Options
npx extraorbital add git [--slug <name>]| Flag | Default | Description |
|---|---|---|
--slug | default | A second repository in the same project |
Use a different slug for each repository:
npx extraorbital add git --slug checkpointsShared project access
Machines in the same project can use this repository. Share .extraorbital.json or select the project explicitly.
Pricing
| Usage | Paid rate |
|---|---|
| Storage | Not available yet |
| Requests | Not available yet |
Paid rates have not been published. Plans and billing ↗