Publish a website as an nsite

Take a folder of ordinary website files—HTML, CSS, JavaScript and images—and publish it as a signed Nostr website. Your site files go to Blossom storage; a signed Nostr manifest tells readers where to find them.

When to use it: Use this once your site is ready and you have chosen which account and destinations should publish it.

What happens

  1. Check the website. Inspect the file list and calculate hashes so the published files can be checked for changes.
  2. Prepare the address. Choose whether the site lives at your account’s root or under a named site, then create its manifest.
  3. Upload the files. Upload each file to a selected Blossom server and download it back to confirm its contents.
  4. Sign and announce. Have the approved account sign the manifest and send it to its publication relays.
  5. Check publication. Look for the same signed event on a relay and save upload and publication receipts for recovery.

What you get

A verifiable site release with its files, signed manifest, and recovery information—not just an uploaded ZIP.

For agents: workflow instructions

Publishing requires your explicit approval. Local test success does not establish that a public gateway displays the site.

The structured recipe below is available for automation and integration tools. You do not need to read it to understand the workflow.

Show exact agent workflow (JSON)
{
  "schema": "loopy.workflow/1",
  "id": "signed-nsite-release",
  "trigger": "explicitly authorized static nsite publication",
  "steps": [
    {
      "id": "stage",
      "api": "Nsite.prepareManifestFiles",
      "gate": "all path and SHA-256 checks pass"
    },
    {
      "id": "plan",
      "api": "Nsite.manifestTemplate",
      "gate": "signed identifier/server/relay destinations reviewed"
    },
    {
      "id": "upload",
      "api": "Blossom.uploadVerified",
      "gate": "server descriptor AND exact GET SHA-256 match"
    },
    {
      "id": "sign",
      "api": "Nostr.checkedSign",
      "gate": "signing identity and template match"
    },
    {
      "id": "publish",
      "api": "Nostr.publishMany",
      "gate": "at least one OK + signed exact-ID readback"
    },
    {
      "id": "archive",
      "api": "Archive.contentStore;Archive.writeZip",
      "gate": "recovery and version diff recorded"
    }
  ],
  "authority": "no publication without separate explicit user authorization and signer approval"
}