#nostr #lmdb #backed #unfairly

nostrdb

An unfairly fast embedded nostr database backed by lmdb

11 releases

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

#490 in Database interfaces

Download history 246/week @ 2024-02-12 203/week @ 2024-02-19 119/week @ 2024-02-26 7/week @ 2024-03-04 12/week @ 2024-03-11 49/week @ 2024-04-01 650/week @ 2024-04-08 159/week @ 2024-04-15 192/week @ 2024-04-22 42/week @ 2024-04-29 32/week @ 2024-05-06

455 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
~134K SLoC