Export the Rankings
JakePartusch opened this issue · comments
My guess is that a lot of users visit the page on Tuesdays, take a screenshot, and post it on their league board. Or league group chat/ slack/ snapchat, etc.
We should provide an easy way to export the results in a consistent format (Image?) that the users can use to share with their league.
If I may ask, how is the app deployed? I'm thinking if its possible to make a worker script take a screenshot of the ReactJS page using PhantomJS. Something like this: https://github.com/svdgraaf/serverless-screenshot
Another alternative would be to generate an image through the serverless API. One way of me approaching this would be to export as an image through a HTML template all in the serverless API function.
It is deployed with Netlify, so we would potentially be able to build a Netlify Function:
https://www.netlify.com/docs/functions/