Divine Blossom Server BETAFASTLY

Content-addressable blob storage implementing the Blossom protocol with AI-powered content moderation

API Endpoints

GET
/<sha256>[.ext]

Retrieve a blob by its SHA-256 hash. Supports optional file extension and range requests. (BUD-01)

HEAD
/<sha256>[.ext]

Check if a blob exists and get its metadata. (BUD-01)

PUT
/upload

Upload a new blob. Requires Nostr authentication (kind 24242 event). (BUD-02)

HEAD
/upload

Pre-validate upload with X-SHA-256, X-Content-Length, X-Content-Type headers. (BUD-06)

GET
/list/<pubkey>

List all blobs uploaded by a public key. (BUD-02)

DELETE
/<sha256>

Delete a blob. Requires Nostr authentication and ownership. (BUD-02)

PUT
/report

Report problematic content using NIP-56 events (kind 1984). (BUD-09)

PUT
/mirror

Mirror a blob from a remote URL. Requires Nostr authentication. (BUD-04)

Features

Nostr Authentication

Secure uploads using NIP-98 HTTP Auth with Schnorr signatures.

Content Moderation

AI-powered moderation with SAFE, REVIEW, AGE_RESTRICTED, and PERMANENT_BAN levels.

Edge Computing

Powered by Fastly Compute for low-latency global delivery.

GCS Storage

Reliable blob storage backed by Google Cloud Storage.

Protocol

This server implements the Blossom protocol for decentralized media hosting on Nostr.

Implemented BUDs: BUD-01 (Blob Retrieval), BUD-02 (Upload/List/Delete), BUD-04 (Mirroring), BUD-06 (Upload Pre-validation), BUD-09 (Reporting)

Maximum upload size: 50 GB