-
Notifications
You must be signed in to change notification settings - Fork 84
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add social media cards #21
Comments
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. |
Shipped and tweeted: https://twitter.com/simonw/status/1300868423774212096 It would be better if the aspect ratio was 2x1 though. |
Now also rebuilds DB from scratch if REBUILD in commit message.
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.
The text was updated successfully, but these errors were encountered: