Nicolas Martyanoff on Nostr: Ok I'm fed up with YAML, it just does not work for large and complex configuration ...
Ok I'm fed up with YAML, it just does not work for large and complex configuration files (e.g. Boulevard: imagine an array of dozens of handlers…).
So I'm playing with a new custom format. Well not so custom, it's very similar to what NGINX has. Easier to read, without deeply nested objects, designed for programs needing more than a couple keys/values.
If I go all the way I'll write a specification and a reference library. Anyone interested?
Published at
2024-12-11 19:16:59Event JSON
{
"id": "6772e235acf067ba8281ca6851cd40ccd48f9f4fd374fed5b59a961e4e1df2a5",
"pubkey": "6d91e7b056ab18986298e04a8b278a5e070a726487fd30a599427c79db9070e9",
"created_at": 1733944619,
"kind": 1,
"tags": [
[
"imeta",
"url https://cdn.fosstodon.org/media_attachments/files/113/635/792/349/072/760/original/e643085691c3f7b7.png",
"m image/png",
"dim 1134x638",
"blurhash U03k~G?bx[but7ofs:j]W.oet7s:%3s;bHWB"
],
[
"proxy",
"https://fosstodon.org/users/galdor/statuses/113635794610876616",
"activitypub"
]
],
"content": "Ok I'm fed up with YAML, it just does not work for large and complex configuration files (e.g. Boulevard: imagine an array of dozens of handlers…).\n\nSo I'm playing with a new custom format. Well not so custom, it's very similar to what NGINX has. Easier to read, without deeply nested objects, designed for programs needing more than a couple keys/values.\n\nIf I go all the way I'll write a specification and a reference library. Anyone interested?\n\nhttps://cdn.fosstodon.org/media_attachments/files/113/635/792/349/072/760/original/e643085691c3f7b7.png",
"sig": "09e093e865dbe4ea9150c8eb91bb28198e5909955ae960ab669aeaeb6d6e6345963c1765d96a369909425f6660461975b8b3647e9ec053dcec869c54f2659d2d"
}