Zero config. Pure JavaScript. Works everywhere.
npx fonstr
No installation. No dependencies. No configuration. Just works.
📱 On Android? See our step-by-step mobile guide instead
Run a Nostr relay on Android with Termux. Under 90 seconds from zero to running. No other relay can do this.
One command and you're done. No config files, no setup scripts, no documentation to read. It just works.
Not just a relay. Serve your landing page, build APIs, host static files. Full web server built-in.
NIP-01 (core protocol), NIP-11 (relay info), NIP-98 (HTTP auth). Event filtering, subscriptions, real-time updates.
No native modules, no compilation, no build tools. Works on Windows, macOS, Linux, Raspberry Pi, and phones.
HTTPS/WSS support, rate limiting, memory protection. Scale to thousands of connections with confidence.
# Run on default port 4444
npx fonstr
# Done! Your relay is live at:
# - Nostr relay: ws://localhost:4444/relay
# - Web server: http://localhost:4444
Join the decentralized web. One command away.
npx fonstr