2024-03-21 16:04:46 -04:00
2024-02-23 15:20:17 +01:00
2023-11-04 17:49:31 +01:00
2024-02-23 15:20:17 +01:00
2024-03-01 01:40:15 +01:00
2024-02-12 11:53:42 +01:00
2024-02-05 11:32:41 -03:00
2024-02-01 13:10:49 -03:00
2024-02-29 20:36:58 +01:00
2024-03-21 11:54:23 -03:00
2023-12-05 08:19:49 -03:00
2024-02-29 20:36:47 +01:00
2024-03-21 16:04:46 -04:00

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
$ go build # or run
$ DOMAIN=example.com RELAY_NAME=test RELAY_PUBKEY=yourpubkey ./khatru-pyramid

Configuration

Format users.json as follows:

{ "[user_pubkey_hex]": "[invited_by_pubkey_hex]" }
Description
A nostr relay with a invite hierarchy
Readme Unlicense 6.8 MiB
Languages
Go 69.9%
templ 27.2%
Just 1.8%
Dockerfile 1.1%