Skip to content
GitHubRSS

BigBrotr

Distributed relay observatory for Nostr. Discovery, monitoring, archiving, analytics, and data access across clearnet, Tor, I2P, and Lokinet.

Discovery

Find relays across clearnet, Tor, I2P, and Lokinet. Seed from known sources, discover from events and APIs, validate with WebSocket handshakes.

Monitoring

Seven health checks per relay: NIP-11 info, RTT latency, SSL certificates, DNS records, geolocation, network/ASN, and HTTP headers. Results published as NIP-66 events.

Archiving

Cursor-based event synchronization from validated relays. Content-addressed metadata deduplication via SHA-256 hashing.

Analytics

11 PostgreSQL materialized views pre-computing aggregate statistics: event distribution by kind, per-relay stats, author counts, NIP adoption, software distribution, and daily time series.

Data Access

Two parallel interfaces exposing the same data: a REST API for HTTP clients and a NIP-90 Data Vending Machine for native Nostr queries over WebSocket.



Terminal window
# Clone and start the full stack
git clone https://github.com/BigBrotr/bigbrotr.git
cd bigbrotr/deployments/bigbrotr
docker compose up -d
# Run a single service
python -m bigbrotr seeder --once
python -m bigbrotr finder --log-level DEBUG