Event JSON
{
"id": "ee192ebd61134e80ee2e27b6b69f1401905b45ac63d5ced5a242937bb17920b5",
"pubkey": "6f79abf2242534084694d8acdf4e9fec16dbfa33913c05e9e5396b4a157a5dd7",
"created_at": 1722442526,
"kind": 1,
"tags": [
[
"t",
"webdev"
],
[
"t",
"astro"
],
[
"t",
"ssg"
],
[
"proxy",
"https://mastodon.design/@amxmln/112881993404438133",
"web"
],
[
"t",
"js"
],
[
"p",
"6c637afe2e8213b3b6cb1aa94fdb9208ea5ca5b8016480266778bdfefa94e99c"
],
[
"proxy",
"https://mastodon.design/users/amxmln/statuses/112881993404438133",
"activitypub"
],
[
"L",
"pink.momostr"
],
[
"l",
"pink.momostr.activitypub:https://mastodon.design/users/amxmln/statuses/112881993404438133",
"pink.momostr"
],
[
"-"
]
],
"content": "Ugh, is it really *that* difficult to get custom image placeholders in nostr:npub1d33h4l3wsgfm8dktr255lkujpr49efdcq9jgqfn80z7la755axwqenyg52 for local and remote images, or am I just dumb? 😅\n\nDoes anyone have good strategies to get raw image data out of the `getImage` function? 🤔 Ideally, I’d want my transformer to generate a tiny placeholder image in addition to the different sizes but return it as a Buffer, so I can extract the dominant colour and generate a Thumbhash from it. 😅\n\n#webdev #js #astro #ssg",
"sig": "22abc85cf293a82161eda31ff7245e3b23e0432e922df37334d49c47c3431a82a4023bcc9f5da3a78906c9ba62fe94b5453add8d47e8cdca7f449486eff8c46f"
}