jb55 on Nostr: about to land the new metadata table in #nostrdb when ingesting notes into the ...
about to land the new metadata table in #nostrdb
https://github.com/damus-io/nostrdb/pull/91when ingesting notes into the database, it will automatically count:
- direct replies
- thread replies (total number of replies in a thread)
- individual reaction counts
- total reaction counts
- number of quote reposts
- total zap sats
all stored in a compact format in nostrdb that is fast to update.
this should greatly simplify the frontend code in damus android, ios, and notecrumbs. people thought you would need a caching server to have reliable note stats like this, but not anymore! the local relays are getting smarter.
will try to get this into all of our clients asap, thanks for your patience ✌
Published at
2025-10-29 20:55:51 UTCEvent JSON
{
"id": "599e1cfed9bcd54f84ae8f36334aa15422b35b23d1e34c83ef8d4086489bbba2",
"pubkey": "32e1827635450ebb3c5a7d12c1f8e7b2b514439ac10a67eef3d9fd9c5c68e245",
"created_at": 1761771351,
"kind": 1,
"tags": [
[
"client",
"Damus Notedeck"
],
[
"t",
"nostrdb"
]
],
"content": "about to land the new metadata table in #nostrdb\n\nhttps://github.com/damus-io/nostrdb/pull/91\n\nwhen ingesting notes into the database, it will automatically count:\n\n- direct replies\n- thread replies (total number of replies in a thread)\n- individual reaction counts\n- total reaction counts\n- number of quote reposts\n- total zap sats\n\nall stored in a compact format in nostrdb that is fast to update.\n\nthis should greatly simplify the frontend code in damus android, ios, and notecrumbs. people thought you would need a caching server to have reliable note stats like this, but not anymore! the local relays are getting smarter.\n\nwill try to get this into all of our clients asap, thanks for your patience ✌",
"sig": "3127d71e79ca18975dc98e877028a663883077f1e2e621d25f0248d4a660811848db6c3f5740fa6e3c8eeeea40ad13961df7db13987e069549dabf6194338101"
}