Generate a modern static blog from your Nostr long-form posts (kind 30023). Publish once on Nostr, get a SEO-optimized website automatically.
Option 1: One-click deploy
Option 2: Run with npx
NPUB=your_npub BASE_URL=https://yourdomain.com npx github:besoeasy/NostrPressGenerates a static site in ./dist folder. Deploy to any hosting platform or browse locally.
| Variable | Required | Description |
|---|---|---|
NPUB |
✅ | Your Nostr public key |
BASE_URL |
❌ | Base URL (auto-detected on most hosts) |
RELAYS |
❌ | Comma-separated relay URLs |
OUTPUT_DIR |
❌ | Output directory (default: ./dist) |
MAX_SIZE_MB |
❌ | Max media file size (default: 20) |
Static blog with tags, RSS, sitemap, reading time, Nostr comments, media caching, and responsive design.