Automated Link Preview Image Card
Taking screenshots with Playwright
A while ago, I saw this tweet thread from Simon Willison about how he added social media preview cards to his TILs. He detailed how he did this through a combination of Puppeteer, Vercel, SQLite, and some other stuff I didn’t understand 😅. @simonw Added social media preview cards to my TILs! https://til.simonwillison.net/til/til/pytest_subprocess-server.md Read more... At that time, I was manually taking these screenshots by hand to be included as part of the commit, which is to say it’s not very efficient....
May 31, 2022