"liberty" / "liberation" + "nostr relay" [lih-beh-lay]
When it comes to Nostr, it implies freedom.
No one can interfere with this freedom.
Yes... even "libc".
A high-performance, single-binary Nostr relay written in C.
git clone git@github.com:Hakkadaikon/libelay.git
cd libelay
# debug build
just debug-build
# release build
just release-build
./build/libelay- opcode
- 0x0 (continuation) : No
- 0x1 (text) : Yes (Interpret with user callbacks)
- 0x2 (binary) : Yes (Interpret with user callbacks)
- 0x8 (close) : Yes
- 0x9 (ping) : No
- 0xA (pong) : Yes (When a ping is received, a pong is sent back.)
- TLS Support : No
- Sub protocol : No (Sec-WebSocket-Protocol)
- Extensions : No (Sec-WebSocket-Extensions)
- Compression / Decode : No
- [] NIP-01
- ...
- Linux : Ubuntu (24.04) x86_64 only
- clang-format
- cmake
- googletest
- just
- mado
Hakkadaikon