summaryrefslogtreecommitdiffstats
path: root/api/nostr
Commit message (Collapse)AuthorAgeFilesLines
* feat: add Connect (gRPC over HTTP/JSON) supportbndw4 days1-0/+420
| | | | | | | | | | | | | | | | | | | | Connect integration: - Buf Connect codegen added to buf.gen.yaml - Connect handler wraps gRPC server - Serves on same port as WebSocket (:8080) - HTTP/2 with h2c for cleartext HTTP/2 Now serving THREE protocols: 1. gRPC (native) on :50051 - binary, high performance 2. Connect on :8080/nostr.v1.NostrRelay/* - HTTP/JSON, browser compatible 3. WebSocket on :8080/ - Nostr standard protocol All three protocols share: - Same storage layer - Same subscription manager - Same validation logic Browser-friendly! Call gRPC methods with fetch() or curl.
* chore: add generated gRPC code (protoc-gen-go v1.36.11)bndw4 days2-0/+1967