createRepo
Create a Git repository, push initial files, and publish it to Nostr in a single call. Automatically loads credentials from .nostr-keys.json for quick agent setup.
Instructions
CREATE A REPO IN ONE CALL - Push files AND publish to Nostr. Best for agents! Auto-loads credentials from .nostr-keys.json.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Repository name (required) | |
| files | No | Initial files to push | |
| branch | No | Branch name (default: main) | |
| pubkey | No | Public key (auto-derived from privkey) | |
| relays | No | ||
| privkey | No | Private key (auto-loaded if .nostr-keys.json exists) | |
| publicRead | No | false = private repo (hidden from listings, content only readable by owner/contributors). Default true. Note: the repo name/description in the kind 30617 announcement stay publicly visible on relays. | |
| description | No | Repository description | |
| graspServer | No | GRASP server (default: relay.ngit.dev) | |
| pushCostSats | No | Optional pay-to-push cost in sats (synced to bridge + kind 30617 push_cost_sats) |