mirror of
https://github.com/hzrd149/blossom.git
synced 2025-12-12 15:58:49 +00:00
Merge branch 'hzrd149:master' into master
This commit is contained in:
26
Nostr.md
26
Nostr.md
@@ -1,26 +0,0 @@
|
|||||||
# Blossom nostr integration
|
|
||||||
|
|
||||||
Blossom uses nostr for public / private key identities. Users are expected to sign authentication events to prove their identity when uploading or deleting blobs
|
|
||||||
|
|
||||||
See [Authorization events](./Server.md#authorization-events)
|
|
||||||
|
|
||||||
## User Server Discovery
|
|
||||||
|
|
||||||
Users should publish a kind `10063` event with a list of ordered `server` tags indicating servers that others users should use when getting their blobs
|
|
||||||
|
|
||||||
### Example
|
|
||||||
|
|
||||||
```json
|
|
||||||
{
|
|
||||||
"id": "e4bee088334cb5d38cff1616e964369c37b6081be997962ab289d6c671975d71",
|
|
||||||
"pubkey": "781208004e09102d7da3b7345e64fd193cd1bc3fce8fdae6008d77f9cabcd036",
|
|
||||||
"content": "",
|
|
||||||
"kind": 10063,
|
|
||||||
"created_at": 1708774162,
|
|
||||||
"tags": [
|
|
||||||
["server", "https://cdn.self.hosted"],
|
|
||||||
["server", "https://cdn.satellite.earth"]
|
|
||||||
],
|
|
||||||
"sig": "cc5efa74f59e80622c77cacf4dd62076bcb7581b45e9acff471e7963a1f4d8b3406adab5ee1ac9673487480e57d20e523428e60ffcc7e7a904ac882cfccfc653"
|
|
||||||
}
|
|
||||||
```
|
|
||||||
14
README.md
14
README.md
@@ -33,6 +33,20 @@ BUDs stand for **Blossom Upgrade Documents**.
|
|||||||
|
|
||||||
See the [BUDs](./buds) folder and specifically [BUD-01](./buds/01.md) and [BUD-02](./buds/02.md) for a detailed explanation of the endpoints
|
See the [BUDs](./buds) folder and specifically [BUD-01](./buds/01.md) and [BUD-02](./buds/02.md) for a detailed explanation of the endpoints
|
||||||
|
|
||||||
|
## BUDs
|
||||||
|
|
||||||
|
- [BUD-01: Server requirements and blob retrieval](./buds/01.md)
|
||||||
|
- [BUD-02: Blob upload and management](./buds/02.md)
|
||||||
|
- [BUD-03: User Server List](./buds/03.md)
|
||||||
|
- [BUD-04: Mirroring blobs](./buds/04.md)
|
||||||
|
|
||||||
|
## Event kinds
|
||||||
|
|
||||||
|
| kind | description | BUD |
|
||||||
|
| ------- | ------------------- | ------------------ |
|
||||||
|
| `24242` | Authorization event | [01](./buds/01.md) |
|
||||||
|
| `10063` | User Server List | [03](./buds/03.md) |
|
||||||
|
|
||||||
## License
|
## License
|
||||||
|
|
||||||
Public domain.
|
Public domain.
|
||||||
|
|||||||
Reference in New Issue
Block a user