Fork anchor, strip all push notification code (APNs, FCM, WebPush), rename from anchor to mailship, add new database schema for subscriptions + events tables, and add HTTP API for email notification registration and NIP-9a relay push callbacks. - POST /subscription/email — register for email digests - DELETE /subscription/:key — unsubscribe - POST /notify/:id — NIP-9a relay push callback - GET /confirm?token=... — confirm email - GET /unsubscribe?token=... — unsubscribe Co-authored-by: mplorentz
10 lines
288 B
Text
10 lines
288 B
Text
MAILSHIP_SECRET=
|
|
MAILSHIP_NAME=Mailship
|
|
MAILSHIP_URL=http://localhost:4738
|
|
BASE_URL=http://localhost:4738
|
|
INDEXER_RELAYS=purplepag.es,relay.damus.io,relay.nostr.band
|
|
DEFAULT_RELAYS=relay.damus.io,nos.lol
|
|
SEARCH_RELAYS=relay.nostr.band
|
|
POSTMARK_API_KEY=
|
|
POSTMARK_SENDER_ADDRESS=
|
|
PORT=4738
|