{"repo":"mattn/nostr-relay","free":true,"listed":false,"github":"https://github.com/mattn/nostr-relay","clone":"git clone https://github.com/mattn/nostr-relay.git","description":"nostr relay","language":"Go","stars":62,"topics":["nostr","nostr-relay","golang","postgresql","relay","sqlite","websocket"],"license":null,"category":"databases-storage","readme_excerpt":"nostr-relay A nostr relay built on the relayer framework. It supports several storage backends (SQLite, PostgreSQL, MySQL and OpenSearch) and can optionally back up its SQLite database with litestream. Contents - Install - Configuration - Command-line flags - Environment variables - NIP-11 information - Storage backends - Deployment - systemd - Docker - Docker Compose - Kubernetes - License - Author Install From source Or from a checkout of this repository: Container image A prebuilt image is published to the GitHub Container Registry: Configuration Command-line flags Flag Default Description ----------------- ------------------ -------------------------------------------------------- -addr 0.0.0.0:7447 Listen address -driver sqlite3 Storage driver: sqlite3 / postgresql / mysql / opensearch -database nostr-relay.sqlite Connection string (see Storage backends). Falls back to $DATABASE URL -service-url (empty) Public service URL. Falls back to $SERVICE URL -custom-search (empty) External search endpoint for NIP-50. Falls back to $CUSTOM SEARCH URL -version false Print the version and exit Environment variables Variable Description ---------------------- -------------------------------------------------------------------- DATABASE URL Connection string (same as -database ) SERVICE URL Public service URL (same as -service-url ) CUSTOM SEARCH URL External search endpoint for NIP-50 (same as -custom-search ) LOG LEVEL debug / info / warn / error (default info ) PUSHOVER TOKEN Pusho","default_branch":null,"files":null,"tree":[],"storefront":"/r/mattn","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/mattn/nostr-relay/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}