This adds Marco's NIP-89 app-handler setup, the tooling to publish Marco's Nostr events, and the NIP-89 client tag on the events Marco publishes.
Docs
doc/nostr/nip-89-app-handler.md — Marco's kind:31990 app handler and kind:31989 recommendation: identity, tags, relays and publish commands.
doc/nostr/publishing.md — how the place NIPs are published on Nostr as kind:30817 custom NIPs (the photos spec is already published; reviews to follow).
App handler (kind:31990)
Signed by the author's own npub, d = marco.earth, k = 360, and a web template pointing at the in-app /e/<bech32> route (added in #131).
Advertises the official NIPs Marco implements as i references — 01, 07, 09, 19, 21, 46, 57, 65, 73, 89, 92, B7 — and Marco's own kind-30817 Place Photos and Videos NIP via an a tag.
Includes content.nip05 (marco@kosmos.org), a ["t","maps"] category, and a kind-30617 a tag linking the ngit repo.
Publishing scripts (scripts/, POSIX sh + nak)
publish-app-handler.sh, publish-app-recommendation.sh and publish-nip.sh publish and re-publish; unpublish-app-handler.sh retires an old handler via a NIP-09 kind-5 event.
Relay targets live in scripts/nostr-relays.txt; shared config in scripts/nostr-common.sh. Signing uses an explicit NOSTR_SECRET_KEY (nsec/hex, or a NIP-46 bunker:// URL) and the scripts refuse to sign from the wrong key. Every script supports --dry-run.
Client tag (app code)
app/utils/client-tag.js plus its use in the photo upload (kind 360), deletion (kind 5) and zap request (kind 9734) paths, emitting ["client","Marco","31990:1f79058c…:marco.earth","wss://nostr.kosmos.org/"].
Nothing is published to relays by this change.
Closes #128
This adds Marco's NIP-89 app-handler setup, the tooling to publish Marco's Nostr events, and the NIP-89 `client` tag on the events Marco publishes.
## Docs
- `doc/nostr/nip-89-app-handler.md` — Marco's `kind:31990` app handler and `kind:31989` recommendation: identity, tags, relays and publish commands.
- `doc/nostr/publishing.md` — how the place NIPs are published on Nostr as `kind:30817` custom NIPs (the photos spec is already published; reviews to follow).
## App handler (`kind:31990`)
- Signed by the author's own npub, `d = marco.earth`, `k = 360`, and a `web` template pointing at the in-app `/e/<bech32>` route (added in #131).
- Advertises the official NIPs Marco implements as `i` references — 01, 07, 09, 19, 21, 46, 57, 65, 73, 89, 92, B7 — and Marco's own kind-30817 *Place Photos and Videos* NIP via an `a` tag.
- Includes `content.nip05` (`marco@kosmos.org`), a `["t","maps"]` category, and a kind-30617 `a` tag linking the ngit repo.
## Publishing scripts (`scripts/`, POSIX sh + `nak`)
- `publish-app-handler.sh`, `publish-app-recommendation.sh` and `publish-nip.sh` publish and re-publish; `unpublish-app-handler.sh` retires an old handler via a NIP-09 kind-5 event.
- Relay targets live in `scripts/nostr-relays.txt`; shared config in `scripts/nostr-common.sh`. Signing uses an explicit `NOSTR_SECRET_KEY` (nsec/hex, or a NIP-46 `bunker://` URL) and the scripts refuse to sign from the wrong key. Every script supports `--dry-run`.
## Client tag (app code)
- `app/utils/client-tag.js` plus its use in the photo upload (kind 360), deletion (kind 5) and zap request (kind 9734) paths, emitting `["client","Marco","31990:1f79058c…:marco.earth","wss://nostr.kosmos.org/"]`.
Nothing is published to relays by this change.
Document Marco's NIP-89 app handler (kind 31990) and recommendation
(kind 31989), and how the place NIPs are published on Nostr as kind 30817
custom NIPs.
Add shell scripts that build and publish these events via nak: the app
handler, a recommendation, and the NIP specs. The publishing relay list
lives in scripts/nostr-relays.txt for easy editing. Signing requires an
explicit NOSTR_SECRET_KEY (nsec or NIP-46 bunker URL), and the scripts
refuse to publish from the wrong identity.
Add NIP references to Marco's kind 31990: an `i` tag per implemented
official NIP and an `a` tag for Marco's own kind-30817 Place Photos NIP,
shaped the way NostrHub's app directory reads them.
Also fix the stale note about the /e/ route being planned; it is
implemented.
Move the handler identity from the dedicated app key to the author's own
npub (the same key that authors the NIP specs), and add
scripts/unpublish-app-handler.sh to delete an old handler via a NIP-09
kind-5 event. Document the identity and the retirement flow.
Set content.nip05 (marco@kosmos.org), a ["t","maps"] category tag, and a
kind-30617 `a` tag linking the ngit repository — the three fields NostrHub's
app listing reads. Add the values as config in scripts/nostr-common.sh.
Tag published photos (kind 360), deletions (kind 5) and zap requests
(kind 9734) with ["client","Marco","31990:1f79058c…:marco.earth","wss://nostr.kosmos.org/"]
so clients can attribute them to Marco. Uses applesauce's EventFactory
clientTag via a shared app/utils/client-tag helper.
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Closes #128
This adds Marco's NIP-89 app-handler setup, the tooling to publish Marco's Nostr events, and the NIP-89
clienttag on the events Marco publishes.Docs
doc/nostr/nip-89-app-handler.md— Marco'skind:31990app handler andkind:31989recommendation: identity, tags, relays and publish commands.doc/nostr/publishing.md— how the place NIPs are published on Nostr askind:30817custom NIPs (the photos spec is already published; reviews to follow).App handler (
kind:31990)d = marco.earth,k = 360, and awebtemplate pointing at the in-app/e/<bech32>route (added in #131).ireferences — 01, 07, 09, 19, 21, 46, 57, 65, 73, 89, 92, B7 — and Marco's own kind-30817 Place Photos and Videos NIP via anatag.content.nip05(marco@kosmos.org), a["t","maps"]category, and a kind-30617atag linking the ngit repo.Publishing scripts (
scripts/, POSIX sh +nak)publish-app-handler.sh,publish-app-recommendation.shandpublish-nip.shpublish and re-publish;unpublish-app-handler.shretires an old handler via a NIP-09 kind-5 event.scripts/nostr-relays.txt; shared config inscripts/nostr-common.sh. Signing uses an explicitNOSTR_SECRET_KEY(nsec/hex, or a NIP-46bunker://URL) and the scripts refuse to sign from the wrong key. Every script supports--dry-run.Client tag (app code)
app/utils/client-tag.jsplus its use in the photo upload (kind 360), deletion (kind 5) and zap request (kind 9734) paths, emitting["client","Marco","31990:1f79058c…:marco.earth","wss://nostr.kosmos.org/"].Nothing is published to relays by this change.
5300cc1dc8to5300cc1dc8