#relay #pkarr #dht #mainline #config

bin+lib pkarr-relay

Pkarr relay (https://pkarr.org/relays)

10 releases (6 breaking)

0.8.0 Mar 4, 2025
0.7.0 Feb 28, 2025
0.6.0 Feb 21, 2025
0.5.7 Feb 19, 2025
0.1.0 Feb 11, 2025

#3 in #mainline

Download history 85/week @ 2025-02-05 319/week @ 2025-02-12 502/week @ 2025-02-19 287/week @ 2025-02-26 200/week @ 2025-03-05 50/week @ 2025-03-12 55/week @ 2025-03-19

634 downloads per month
Used in pubky-testnet

MIT license

230KB
4.5K SLoC

Pkarr Relay

A server that functions as a pkarr relay.

Installation & Usage

Installation

cargo install pkarr-relay

Running the Relay

With Custom Configuration

pkarr-relay --config=./config.toml

You can find an example configuration file here.

With Custom Logging

pkarr-relay  -t=pkarr=debug,tower_http=debug

Once running, the Pkarr relay will be accessible at http://localhost:6881 (unless the config file specifies another port number).


lib.rs:

A server that functions as a pkarr relay.

You can run this relay as a binary or a crate for testing purposes.

Dependencies

~29–43MB
~772K SLoC