Nostr relay written in go
permessage-deflate), with support for client and server context takeover (i.e., sliding window support).config.json file will be instantly applied without requiring restart.--import command line flag allows new events to be added via stdin. Events should be in jsonl format. Use in conjunction with gnost-deflate-clientpg_notify feature. This implies that different instances of gnost-relay can be run concurrently. Indeed, any software which writes to the DB will automatically notify listeners connected to the relay.DATABASE_URL=postgres://x gnost-relay --config config.json
With keepalive set, the connection will remain open, and new events will be added to the gnost-relay database, and notified to any listeners. See gnost-deflate-client for more info.
echo '[{"since":1676863922,"kinds":[1]}]' |\
gnost-deflate-client --port 443 --scheme wss --host nos.lol --keepalive 30 --output - |\
DATABASE_URL=postgres://x gnost-relay --import
postgresql database configured. The executable expects that the DATABASE_URL environment variable is set.$ claude mcp add gnost-relay \
-- python -m otcore.mcp_server <graph>