D1 Relay
A personal Nostr relay on Cloudflare D1.
Connect:
wss://d1relay.nostrweb.workers.dev
Relay info (NIP-11):
https://d1relay.nostrweb.workers.dev
D1R is a small, self-hosted Nostr relay that runs for free on Cloudflare Workers with a D1 (SQLite) database. It stores events, answers queries, and tells clients exactly what happened to their events — no servers to rent, no framework to learn.
The relay answers every EVENT with a clear result:
stored, duplicate, invalid, or
error — no more guesswork.
Ask how many events match a filter with
["COUNT", sub, filter].
Query by #e, #p, #t and any
other tag, backed by a dedicated indexed table.
Real signature verification, id re-checks, and caps on message size, content length, tag count and query limits.
It's all free-tier Cloudflare. Create a D1 database, run the schema,
drop in two small files, and bind DB. No wrangler, no
build step, no monthly bill.