nostr-relay-builder
CommunityBuild a Nostr relay with WebSocket support.
Authoraccolver
Version1.0.0
Installs0
System Documentation
What problem does it solve?
Implement or extend a Nostr relay to handle WebSocket connections, event validation, filtering, storage policies, subscriptions, and relay-side NIP support.
Core Features & Use Cases
- WebSocket server that accepts connections and manages per-connection state
- NIP-01 protocol support: event validation, filter matching, REQ/CLOSE handling, and real-time broadcasts
- Kind-based storage rules: regular, replaceable, ephemeral, and addressable events
- Subscription management per connection with per-subscription filters and per-connection scope
- Progressive NIP support (NIP-11 info document, NIP-42 auth, NIP-45 COUNT, NIP-50 search) as enhancements
- Real-world usage: deploy as a backend relay for Dapps that require relay-side validation and selective broadcasting
Quick Start
Set up a Bun-based WebSocket server and implement NIP-01 support end-to-end.
Dependency Matrix
Required Modules
None requiredComponents
Standard package💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: nostr-relay-builder Download link: https://github.com/accolver/skill-maker/archive/main.zip#nostr-relay-builder Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.