bu5hm4nn on Nostr: One of the first things I did when I heard of nostr was experiment with a protobuf ...
One of the first things I did when I heard of nostr was experiment with a protobuf mapping to reduce bandwidth.
jb55 (npub1xts…kk5s) later gave me the helpful hint that strfry already maps to flat buffers internally (afair). So that may be the easiest way to go. Just modifying a strfry to serve flat buffers.
Published at
2023-11-22 04:50:11Event JSON
{
"id": "ffa3e3abb08ed344f2b15768855ad110f713cdf67dcac6a195833811ef33346c",
"pubkey": "bfc058c9abb250a2f4f0f240210ae750221b614f19b9872ea8cdf59a69d68914",
"created_at": 1700628611,
"kind": 1,
"tags": [
[
"e",
"b9611526961ab24eb3c4773c7f3076c98cdb7c0d9ae451ec050bf6b5904bdb87"
],
[
"p",
"1bc70a0148b3f316da33fe3c89f23e3e71ac4ff998027ec712b905cd24f6a411"
],
[
"p",
"32e1827635450ebb3c5a7d12c1f8e7b2b514439ac10a67eef3d9fd9c5c68e245"
]
],
"content": "One of the first things I did when I heard of nostr was experiment with a protobuf mapping to reduce bandwidth. nostr:npub1xtscya34g58tk0z605fvr788k263gsu6cy9x0mhnm87echrgufzsevkk5s later gave me the helpful hint that strfry already maps to flat buffers internally (afair). So that may be the easiest way to go. Just modifying a strfry to serve flat buffers.",
"sig": "5c0c265fff94e40c55d6b46266347dbd5f069158359111bddc8e22e980ab4a1a242715357750840e0073e0192e64f1d6430937513b5f5b004fe5a3736667bdb4"
}