khatru-pyramid

command module
v0.0.6 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 28, 2024 License: Unlicense Imports: 21 Imported by: 0

README

Khatru Pyramid

A relay based on Khatru with a invite hierarchy feature.

Deploy with docker
docker run \
    -p 3334:3334 \
    -v ./users.json:/app/users.json \
    -v ./db:/app/db \
    -e DOMAIN="yourdomain.example.com" \
    -e RELAY_NAME="your relay name" \
    -e RELAY_PUBKEY="your nostr hex pubkey" \
    tijlxyz/khatru-pyramid:latest
Deploy with
Manually build
git clone https://github.com/github-tijlxyz/khatru-pyramid && cd khatru-pyramid
just build
DOMAIN="example.com" RELAY_NAME="my relay" RELAY_PUBKEY=yourpubkey ./khatru-pyramid
Configuration

Look at example.env for all configuration options.

You can also manually edit the users.json file. Do this only when the server is down. users.json is formatted as follows:

{ "[user_pubkey_hex]": "[invited_by_pubkey_hex]" }

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL