summaryrefslogtreecommitdiffstats
path: root/api/nostr/v1/nostrv1connect/nostr.connect.go
Commit message (Collapse)AuthorAgeFilesLines
* refactor: rename project from nostr-grpc to muxstrbndw3 days1-1/+1
| | | | | | Update module path from northwest.io/nostr-grpc to northwest.io/muxstr. This includes updating all Go imports, protobuf definitions, generated files, and documentation.
* 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.