Skip to content
 
 

Repository files navigation

NostrPress

Generate a modern static blog from your Nostr long-form posts (kind 30023). Publish once on Nostr, get a SEO-optimized website automatically.

Quick Start

Option 1: One-click deploy

Deploy with Vercel Deploy to Netlify Deploy to Cloudflare Pages Deploy to Render Deploy to AWS Amplify Deploy to Azure

Option 2: Run with npx

NPUB=your_npub BASE_URL=https://yourdomain.com npx github:besoeasy/NostrPress

Generates a static site in ./dist folder. Deploy to any hosting platform or browse locally.

Configuration

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)

Features

Static blog with tags, RSS, sitemap, reading time, Nostr comments, media caching, and responsive design.

About

NostrPress turns a Nostr profile into a fast, fully static blog. Publish articles on Nostr, and deploy a real website anywhere — with local media, RSS, and zero lock-in.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages