Self-host Ephemerelay
Ephemeral Nostr relay that forgets the past instantly
curl -fsSL https://deno.land/install.sh | sh- Port
- 5000 (WebSocket/HTTP port the relay server listens on)
- Requires
- Deno
What is Ephemerelay?
Ephemerelay is a Nostr relay written in roughly 100 lines of TypeScript for Deno that keeps nothing: any subscription immediately receives EOSE and then only live events that match the filter, and submitted events go only to clients connected at that moment. Because there is no database, operators do not worry about storage, spam or cost, which makes it suited to chatting with friends who are online or to feeding events onward to fully-persistent relays. It implements NIP-01, NIP-15 and NIP-20, parses EVENT, REQ and CLOSE messages, and checks event signatures. Running it means cloning the repository and starting the server with Deno; a production install adds a systemd unit and an nginx WebSocket proxy, and the project publishes no container image. Development appears dormant, with the last recorded activity in July 2023.
Ephemerelay alternatives
nostreamOwn a relay for social network nobody can switch offComparenostream with Ephemerelay
nostr-watchnostr-watch is a self-hosted, open-source TypeScript monorepo for monitoring Nostr relays via NIP-66, with Docker Compose stacks for easy deployment.Comparenostr-watch with Ephemerelay
nostr-rs-relay-composeA Docker Compose deployment that runs the Rust-based nostr-rs-relay with Traefik for TLS termination, letting you host your own Nostr relay on your infrastructure.Comparenostr-rs-relay-compose with Ephemerelay
zen-relayZen Relay is an open-source, self-hosted WebSocket relay server for Zen Client and Bridge, written in Node.js with Express and Socket.IO.Comparezen-relay with Ephemerelay- Minds Nostr RelayMinds Nostr Relay is a self-hostable Nostr relay server, enabling decentralized social media communication via the Nostr protocol. It supports multiple NIPs and integrates with Redis and MySQL for event storage and rate limiting.CompareMinds Nostr Relay with Ephemerelay
Nostr NestsNests is a self-hosted, open-source platform for live audio conversations — podcasts, group chats, music jams, and conferences — built on Nostr with MoQ.CompareNostr Nests with Ephemerelay
NNostrNNostr is a self-hosted, open-source Nostr relay and client library written in C# that supports paid events via BTCPay Server integration.CompareNNostr with Ephemerelay
strfrystrfry is a self-hosted, open-source Nostr relay in C++ using LMDB with negentropy sync and Prometheus metrics.Comparestrfry with Ephemerelay
Should you self-host Ephemerelay?
Ephemerelay scores 47/100 on selfhost.directory (how scoring works) and ranks #30 of 34 in Communication.
There was no stable release in the past 12 months, so check the repository's recent activity before you rely on it.
Setup is easy: most people get it running in one sitting. It is unlicense-licensed.
Its closest alternative on selfhost.directory is Jitsi Meet (79/100, 30 279 stars). It scores higher overall, so compare the two before you pick. See Ephemerelay vs Jitsi Meet side by side.
Features
- Ephemeral events only
- Event signature verification
- Immediate EOSE for subscriptions
- Live client distribution
- Nostr Relay
- WebSocket transport
How to install Ephemerelay
Install Ephemerelay with Deno
# Install Deno
curl -fsSL https://deno.land/install.sh | sh
# Clone repo
git clone https://gitlab.com/soapbox-pub/ephemerelay.git
cd ephemerelay
# Run server
deno task dev
Local development workflow.
More in Communication
ErgoSelf-hosted, open-source IRC server written in Go that merges ircd, NickServ/ChanServ/HostServ services and bouncer history in one daemon.
erxesSelf-hosted, open-source Experience Operating System unifying marketing, sales, support and operations with plugins and federated GraphQL.
evobotOpen-source, self-hosted Discord music bot in TypeScript: plays YouTube tracks and playlists with queue, loop, lyrics and slash commands in 20+ locales.
Evolution APISelf-hosted, open-source WhatsApp REST API (Baileys or Meta Cloud API) with webhooks, queues, and chatbot/CRM integrations like Typebot, Chatwoot, Dify and n8n.
ferdium-serverOpen-source, self-hostable backend for Ferdium messaging aggregator to manage accounts, workspaces, and custom recipes on your infrastructure.
FlarumOpen-source, self-hosted forum software built on PHP and Laravel, with tags, moderation, private messages, real-time updates and a huge extension ecosystem.
flexisipFlexisip is a self-hosted, open-source SIP server suite in C++20 providing proxy, presence, conference, B2BUA, and push notifications for real-time communications.
fonosterOpen-source, self-hosted voice-agent platform for real phone calls: Autopilot agents defined in YAML, SIP trunks and numbers, transfer, recording, webhooks.
Forward EmailForward Email is a self-hosted, open-source email service with forwarding, encrypted mailboxes, SMTP/IMAP/POP3, CalDAV/CardDAV, and webhooks.- FreepbxFreePBX is an open-source web-based graphical user interface (GUI) that manages Asterisk, the world's most popular open-source IP PBX. It provides users with the tools to build a phone system tailored to their needs.
FriendicaFriendica is a self-hosted, open-source decentralized social network connecting to the Fediverse via ActivityPub, Diaspora, and other protocols.
FusionPBXFusionPBX is a self-hosted, open-source PBX web interface for FreeSWITCH providing multi-tenant VoIP, call center, and device provisioning for businesses.
0 comments