Open Martin-Pitt opened 6 years ago
This is a good idea. I was thinking of some sort of cron-based setup to do screenshots in the long-term would be neat too.
Could be cool to explore doing this with headless browser, building on-the-fly like Zeit does with this. Though may not make sense, considering this is only a 1-page site - new anchor addition lends to potential, though.
Seeing some opportunity to optimize this for sharing with twitter and og tags in the <head>
, alongside adding canonical
, description
, and some other meta tags.
For favicons, unavatar could be used like:
https://unavatar.io/duckduckgo/{domain}
https://unavatar.io/google/{domain}
https://unavatar.io/microlink/{domain}
and for metadata, the dub.sh metatags API
https://api.dub.co/metatags?url=https://{domain}
I think it might be neat to pull through any favicons.
Also any personal sites could be using a PWA manifest.json and thus have free metadata, falling back on the meta tags in the head. Which could help with client-side searching