metaforecast icon indicating copy to clipboard operation
metaforecast copied to clipboard

Suggestion: Generate image previews using Vercel

Open akrolsmir opened this issue 2 years ago • 2 comments

Saw that your images seem to include an upload-to-imgur step that's running into API limits. Obviously, you could upload to a cloud service (GCP, AWS) instead, but I'd actually suggest rendering a dynamic image using Vercel -- it's actually really easy!

Manifold did this basically by copying https://github.com/vercel/og-image and tweaking it, resulting in a nice preview image that gets rendered whenever a link is posted on Twitter/Discord/etc. Happy to share our code if it'd help, or explain more!

(Sidenote: from a UX perspective, would be cool if Capture was a thing you could get by clicking on an "image"/"share" icon directly from the main Metaforecast site; right now, it's fairly hard to discover)

akrolsmir avatar Apr 14 '22 11:04 akrolsmir