#nostr #lmdb #backed #unfairly

nostrdb

An unfairly fast embedded nostr database backed by lmdb

11 releases

new 0.3.3 Apr 27, 2024
0.3.2 Apr 8, 2024
0.2.0 Feb 10, 2024
0.1.6 Dec 31, 2023

#578 in Database interfaces

Download history 210/week @ 2024-02-11 218/week @ 2024-02-18 127/week @ 2024-02-25 19/week @ 2024-03-03 12/week @ 2024-03-10 1/week @ 2024-03-17 669/week @ 2024-04-07 189/week @ 2024-04-14

858 downloads per month
Used in 2 crates (via nostr-ndb)

GPL-3.0-or-later

6.5MB
85K SLoC

C 75K SLoC // 0.1% comments Rust 8K SLoC // 0.0% comments GNU Style Assembly 754 SLoC // 0.1% comments Shell 534 SLoC // 0.1% comments Swift 270 SLoC // 0.0% comments Automake 226 SLoC // 0.1% comments FlatBuffers Schema 172 SLoC // 0.1% comments Python 75 SLoC // 0.2% comments M4 61 SLoC // 0.1% comments

Contains (static library, 175KB) nostrdb/src/bolt11/libnostrdb.a, (obscure autoconf code, 20KB) nostrdb/deps/secp256k1/configure.ac

nostrdb-rs

ci docs

nostrdb in Rust!

Dependencies

~4–7.5MB
~133K SLoC