PolicyEngine / policyengine-app

PolicyEngine's free web app for computing the impact of public policy.
GNU Affero General Public License v3.0
37 stars 101 forks source link

Social cards for economic impact charts #356

Open nikhilwoodruff opened 1 year ago

nikhilwoodruff commented 1 year ago

This is a probably technically complex (or not, maybe there's an easy way to do it) task. But the social card for each chart page could be a screenshot of that titled chart. This would be massively useful on Twitter, where we get most of our engagement (it would probably boost that by a fair amount: currently, we put up screenshots and bury the PolicyEngine link in a later tweet in a thread- with this, we could post a screenshot and a link all in one).

I think the way we'd want to do this is:

[^1]: Or make the image with some Python package. It seems easier to mirror the web app by taking a screenshot though

nikhilwoodruff commented 1 year ago

Just in case it's helpful, I think this plugin might be the easiest way:

[^1]: The app flask backend would probably get wiped on redeploys though

nikhilwoodruff commented 6 days ago

Reopening because it doesn't seem like it works anymore