Hacker News new | ask | show | jobs
by mcint 657 days ago
Well done! Nice to play with. Seeing it in context of each platform's default interface is *chefs kiss* a nice touch.

- It sounds like meta-crawlers for each platform might behave differently, and I noticed previews don't match what I see elsewhere, 0/2 in the 2 I know well, WhatsApp & Discord.

- It would be good to report redirects that happen in link following.

- Needs target url in URL query params or fragment.

https://linkpreview.xyz/#example.com

https://linkpreview.xyz/#url=https://example.com

https://linkpreview.xyz/?url=https://example.com

Without data specifiable in URL it's a cute tool on a web page, whereas with data controlled by URL it's a native, shareable web utility. Just as cool URLs don't change, on the web URLs are the API.

(Updated after seeing your tweet, https://x.com/fayazara/status/1830272619637047359 [top HN]+ [all critique]!)