Nostrovia

How to run
Login

Quickstart: Run a container

Requirements:

Create a script as follows and adjust the variables at the top:

#!/bin/bash

# The private key of your Nostrovia client, in nsec or legacy hex format
# If not set, a new random one is generated on every start
# export NOSTR_SDK_PRIVATE_KEY=

# Edit the following three fields with your LND details
export NOSTR_SDK_LND_REST_API_URL=https://umbrel.local:8080
export NOSTR_SDK_LND_MACAROON_PATH=/path/to/admin.macaroon
export NOSTR_SDK_LND_CERT_PATH=/path/to/tls.cert

# The hostname of the machine that hosts your LND
export LND_HOSTNAME=umbrel.local

# The IP of the machine hosting your LND
export LND_IP=192.168.0.4

export ROCKET_ADDRESS=0.0.0.0

mkdir db
podman run --interactive --rm \
  --tty \
  --env-host \
  --publish 8000:8000 \
  --volume ./db:/db:rw \
  --volume $NOSTR_SDK_LND_MACAROON_PATH:$NOSTR_SDK_LND_MACAROON_PATH:ro \
  --volume $NOSTR_SDK_LND_CERT_PATH:$NOSTR_SDK_LND_CERT_PATH:ro \
  --add-host $LND_HOSTNAME:$LND_IP \
  oak-node.net/nostrovia:latest /nostr_sdk_rest_api

Once you start the script, Nostrovia will do an initial sync. Once that finishes, the app is reachable at http://localhost:8000

You can stop it with Ctrl+C.


Known issues