Skip to content
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

Suggestion: Generate image previews using Vercel #58

Open
akrolsmir opened this issue Apr 14, 2022 · 2 comments
Open

Suggestion: Generate image previews using Vercel #58

akrolsmir opened this issue Apr 14, 2022 · 2 comments

Comments

@akrolsmir
Copy link

akrolsmir commented Apr 14, 2022

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)

@NunoSempere
Copy link
Collaborator

Beautiful, thanks for the suggestion!

@NunoSempere
Copy link
Collaborator

Happy to share our code if it'd help, or explain more!

Yeah, would appreciate this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants