Closed simonw closed 3 years ago
I'd really love to have screenshots of the posts as the social media card images. I wonder what the best way to achieve that would be?
Built https://github.com/simonw/puppeteer-screenshot for screenshots. It takes a secret key, so the URL is something like:
I'm going to store the images in the database and use https://github.com/simonw/datasette-media to serve them.
Added two new secrets to this repo:
Shipped and tweeted: https://twitter.com/simonw/status/1300868423774212096
It would be better if the aspect ratio was 2x1 though.
That GitHub Actions run (attempting to rebuild everything) took too long so I'm rebuilding and deploying once on my laptop.
Shipped. Demo https://twitter.com/simonw/status/1300884226066190337
So sharing on twitter is nicer.