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.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"repoId": "<repoId>",
"name": "<name>"
},
"name": "publishRepoAnnouncement"
}
}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 |