publishRepoAnnouncement
Publish repository to Nostr (kind 30617). Always writes the same clone addresses as the website Push (gittr, ngit, gitnostr, shakespeare, danconway). A GitHub URL is kept as the source, not as a clone.
Instructions
Publish repository to Nostr (kind 30617). Always writes the same clone addresses as the website Push (gittr, ngit, gitnostr, shakespeare, danconway). A GitHub URL is kept as the source, not as a clone. The private key is loaded from .nostr-keys.json when omitted.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| web | No | ||
| name | Yes | ||
| clone | No | ||
| relays | No | ||
| repoId | Yes | ||
| privkey | No | Private key (auto-loaded from .nostr-keys.json) | |
| publicRead | No | false = private repo. Default true. Announcement name/description remain public on relays. | |
| description | No | ||
| pushCostSats | No | Optional pay-to-push; then call syncRepoPushPolicy with returned event |