Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
55 changes: 55 additions & 0 deletions kinds/5904.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,55 @@
---
layout: default
title: Website Archival
description: Archive a website and publish it to Blossom
---

# Input

The website URL, normalized to exclude unnecessary query strings, hashes and with ending slashes removed.

# Output

`content` MUST contain the URL of the archived website in WARC or WACZ format, published to a Blossom server.

# Example

## Request

```json
{
"content": "",
"kind": 5904,
"pubkey": "<pubkey-a>",
"tags": [
["i", "https://data-vending-machines.org", "url"]
]
}
```

## Response

```json
{
"content": "https://blossom.nostr.download/b6a60f7fe5119831bc90787ade1ce91b2110ed5750243146ef050a50ac36cc21.wacz",
"kind": 6904,
"tags": [
[
"i",
"https://data-vending-machines.org"
],
[
"p",
"<pubkey-a>"
],
[
"e",
"<event-id-of-5904>"
],
[
"t",
"wacz"
]
]
}
```