Ryan Barrett on Nostr: Bridgy Fed is roughly 20k lines of code. If you add in all the other parts of the ...
Bridgy Fed is roughly 20k lines of code.
If you add in all the other parts of the stack that we own – granary, arroba, lexrpc, etc – it’s 51kloc total.
(Excluding tests; those add another 81kloc.)
I’m not really proud of this, or embarrassed. Just wanted to put it out there for anyone who thinks more code is better, or worse, or an important metric either way.
All code is liability. Results are what matters. Write code to do what you need to do, try to minimize it in general, but don’t over-index on it. Focus on results.
Published at
2026-08-16 16:39:06 UTCEvent JSON
{
"id": "921580cc304e7d38d02ef763c399b2ac8ba516ceb5ae98aea1d8853a9ddb4078",
"pubkey": "2a8484b0df89b96e3bedf270d8fce7e4ca331893819b54f4950ca262e1061dd4",
"created_at": 1786898346,
"kind": 1,
"tags": [
[
"proxy",
"https://fed.brid.gy/r/https://snarfed.org/2026-08-16_57510",
"activitypub"
],
[
"client",
"Mostr",
"31990:6be38f8c63df7dbf84db7ec4a6e6fbbd8d19dca3b980efad18585c46f04b26f9:mostr",
"wss://relay.ditto.pub"
]
],
"content": "Bridgy Fed is roughly 20k lines of code.\nIf you add in all the other parts of the stack that we own – granary, arroba, lexrpc, etc – it’s 51kloc total.\n(Excluding tests; those add another 81kloc.)\nI’m not really proud of this, or embarrassed. Just wanted to put it out there for anyone who thinks more code is better, or worse, or an important metric either way.\nAll code is liability. Results are what matters. Write code to do what you need to do, try to minimize it in general, but don’t over-index on it. Focus on results.",
"sig": "d5db2fdc6fe3c15e46c97115fb29bd60a02d7087777226fbc3aaa6bfac78c0c6caa476eccef154dbabd1f96f1f7e951f71a819c279956913c0977abcf03cdd35"
}