Add NIP-89 app handler docs and Nostr publishing scripts #132

Merged
raucao merged 8 commits from feature/nip-89 into master 2026-11-28 14:09:38 +00:00
8 Commits
Author SHA1 Message Date
raucao fc9f496416 Add the NIP-89 client tag to published events
CI / Lint (pull_request) Successful in 59s
CI / Test (pull_request) Successful in 1m21s
Release Drafter / Update release notes draft (pull_request) Successful in 16s
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.
2026-11-28 18:04:08 +04:00
raucao f554a04def Update the app handler description
Use the same about text as the app's kind-0 profile: "Unhosted maps app, enhancing OpenStreetMap with decentralized user data and content".
2026-11-28 17:51:48 +04:00
raucao c30e8cee72 Add NIP-05, category tags and the ngit repo to the app handler
CI / Lint (pull_request) Successful in 55s
CI / Test (pull_request) Failing after 1m16s
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.
2026-11-28 17:50:35 +04:00
raucao 38ca6ba296 Publish the app handler under the author's npub
CI / Lint (pull_request) Successful in 51s
CI / Test (pull_request) Successful in 1m11s
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.
2026-11-28 17:33:53 +04:00
raucao 5300cc1dc8 Remove paid relay from default list
CI / Lint (pull_request) Successful in 52s
CI / Test (pull_request) Successful in 1m11s
2026-11-28 17:24:15 +04:00
raucao ba804fa69b Advertise implemented NIPs in the NIP-89 app handler
CI / Lint (pull_request) Successful in 52s
CI / Test (pull_request) Successful in 1m14s
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.
2026-11-28 17:14:02 +04:00
raucao d62340c3b1 Note the /e/ handler and photo focus in the NIP-89 app handler doc
CI / Lint (pull_request) Successful in 52s
CI / Test (pull_request) Successful in 1m3s
2026-11-28 13:49:48 +04:00
raucao 2fce1f532e Add NIP-89 app handler docs and Nostr publishing scripts
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.
2026-11-28 12:39:28 +04:00