Nicolas Martyanoff on Nostr: So this is what an example Boulevard configuration would look with the new format on ...
So this is what an example Boulevard configuration would look with the new format on the left compared to YAML on the right.
Obviously it's longer, but it is more readable to me, especially for nested handlers. I'm not 100% convinced though, maybe I'm missing something.
What do you think?
Published at
2024-12-27 15:01:24Event JSON
{
"id": "f894c216d7cf008950957f6171b69fc93a19c85570c03caaca980a6cc404ff90",
"pubkey": "6d91e7b056ab18986298e04a8b278a5e070a726487fd30a599427c79db9070e9",
"created_at": 1735311684,
"kind": 1,
"tags": [
[
"imeta",
"url https://cdn.fosstodon.org/media_attachments/files/113/725/386/362/197/728/original/c9f20d79eae1a849.png",
"m image/png",
"dim 2390x1958",
"blurhash U03k~G%2s,-qt7WUWBs;NFs:ofjYt7oMWUj["
],
[
"proxy",
"https://fosstodon.org/users/galdor/statuses/113725386566431601",
"activitypub"
]
],
"content": "So this is what an example Boulevard configuration would look with the new format on the left compared to YAML on the right.\n\nObviously it's longer, but it is more readable to me, especially for nested handlers. I'm not 100% convinced though, maybe I'm missing something.\n\nWhat do you think?\n\nhttps://cdn.fosstodon.org/media_attachments/files/113/725/386/362/197/728/original/c9f20d79eae1a849.png",
"sig": "5332315cc305ac075d34895cdb6724e10657857c5387f73b2818244f10377f528ee9f1ff0eea164d0f49ce3f0a330d38039d97e6431f4cf6f0a28e47f3182354"
}