provoost on Nostr: This could be a good use case for a mobile SDK which different apps can use. It ...
This could be a good use case for a mobile SDK which different apps can use. It should let the user paste in an X URL, render it inside the browser so the user can dismiss captchas, cookie popups and such nonsense. Then it should do two things:
1. Make a screenshot (simple, reliable)
2. Scrape the page, put the actual text in the note as a quote and a link to the original (maybe add some tags if you want to be fancy)
Optionally it could also help on the rendering side: if a nostr post has a X URL, or some tag, drop the plaintext fallback and render it like how embedded Twitter posts used to look.
https://fountain.fm/clip/Vzsfti14f5ypfwraxJihPublished at
2025-01-22 19:35:53Event JSON
{
"id": "a6fbce521204744176f6c4f512aecc78b84df0bf5758eaf6005e13bfe9fe49ac",
"pubkey": "8685ebef665338dd6931e2ccdf3c19d9f0e5a1067c918f22e7081c2558f8faf8",
"created_at": 1737574553,
"kind": 1,
"tags": [
[
"r",
"https://fountain.fm/clip/Vzsfti14f5ypfwraxJih"
],
[
"i",
"podcast:item:guid:c85543e1-aa1d-4e3b-977f-a04dc1d22963",
"https://fountain.fm/episode/OlQzTxXaGKkxfZr1pYLL"
],
[
"i",
"podcast:guid:c90e609a-df1e-596a-bd5e-57bcc8aad6cc",
"https://fountain.fm/show/p8WM5xdhPOB2YrKmP1Vy"
]
],
"content": "This could be a good use case for a mobile SDK which different apps can use. It should let the user paste in an X URL, render it inside the browser so the user can dismiss captchas, cookie popups and such nonsense. Then it should do two things:\n1. Make a screenshot (simple, reliable)\n2. Scrape the page, put the actual text in the note as a quote and a link to the original (maybe add some tags if you want to be fancy)\n\nOptionally it could also help on the rendering side: if a nostr post has a X URL, or some tag, drop the plaintext fallback and render it like how embedded Twitter posts used to look.\n\nhttps://fountain.fm/clip/Vzsfti14f5ypfwraxJih",
"sig": "640e566439251d3d2009f0e2facd8328a9462626fb6bfd1e043ec873c758b628ce5399671d9465efc1c098e61c57053aa047f177e27c79ec626a5ab54cf2197c"
}