Skip to content

Repository files navigation

Libelay

⚠️Warning: Not implemented yet⚠️

"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".

Image

A high-performance, single-binary Nostr relay written in C.

Build

git clone git@github.com:Hakkadaikon/libelay.git
cd libelay

# debug build
just debug-build

# release build
just release-build

./build/libelay

Support

Features

WebSocket

  • 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

NIPS

  • [] NIP-01
  • ...

Platform

  • Linux : Ubuntu (24.04) x86_64 only

Dependencies (develop)

Author

Hakkadaikon

About

Liberty nostr relay

Topics

Resources

Stars

2 stars

Watchers

0 watching

Forks

Packages

Contributors

Languages