Event JSON
{
"id": "313c5c6f9957079054036f46c7a17254c91d8178569734a3e16237ff99b7c565",
"pubkey": "5c931aab4bd50aef18e4fd6a257cb53bb70fee015066bea9102ac27a8e230f5c",
"created_at": 1739240047,
"kind": 1,
"tags": [
[
"p",
"02d2c68f7c236a687ff8a596099af9a535b513fad04d6ed961dcec55246bff3c",
"wss://relay.mostr.pub"
],
[
"p",
"8671184c76e0cf3c8c9a785cdde1fd132e318e4a14c2a5cdfdb93de4eb16643f",
"wss://relay.mostr.pub"
],
[
"e",
"36a62d8310d4a2b406c88deb73ab30044802e3666273373c449c4b325dbdc9e9",
"wss://relay.mostr.pub",
"reply"
],
[
"proxy",
"https://ruby.social/users/Schneems/statuses/113982835776453123",
"activitypub"
]
],
"content": "nostr:nprofile1qy2hwumn8ghj7un9d3shjtnddaehgu3wwp6kyqpqqtfvdrmuyd4xsllc5ktqnxhe556m2yl66pxkaktpmnk92frtlu7qtcp3s2 I forget, is front matter a part of YAML or a separate thing?\n\nYou can try deserializing a document into a yaml Value and print debug it to see if it captured the info you’re looking for https://docs.rs/serde_yaml/latest/serde_yaml/enum.Value.html\n\nLooks like there are a few frontmatter crates https://crates.io/search?q=frontmatter\n\nLooks like this one just inspects the string https://docs.rs/frontmatter/0.4.0/src/frontmatter/lib.rs.html#9\n\nThe overkill “best” way to do it would be to write a parser with something like winnow, but IDK if the problem space calls for it.",
"sig": "fb0983dc20888f260b24b1a6512184acf9e23b9955f89704d16582784dcde9fc30ae7090349cf1eb49169f7177c28f43b0568a9c1b1fcf3920e43620fccfd9c9"
}