publishNostrPages
Publish static websites to Nostr by uploading files to a Blossom server and signing a NIP-5A manifest, with optional bridge import from a git repo.
Instructions
Publish Nostr Pages (NIP-5A kind 35128): upload static files through gittr’s Blossom proxy (kind 24242), then sign the named-site manifest. Requires index.html. Pass files or fromBridge:true to read the git tree. Default Blossom is blossom.gittr.space (Pages only — never for app installers).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dTag | No | Replaceable d-tag (default: repoId) | |
| files | No | Static files {path, content}. encoding base64 if isBinary. | |
| title | No | ||
| branch | No | Bridge branch when fromBridge (default main) | |
| prefix | No | Optional tree prefix when fromBridge (e.g. docs/) | |
| relays | No | ||
| repoId | No | ||
| server | No | Kind 35128 server tag (default https://blossom.gittr.space) | |
| privkey | No | ||
| sourceUrl | No | Optional https source shown on the site | |
| fromBridge | No | If true and files omitted, load static files from the gittr bridge tree | |
| description | No | ||
| ownerPubkey | No |