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

Add custom OG image for individual summaries #3

Open
HarshKapadia2 opened this issue Dec 10, 2021 · 15 comments
Open

Add custom OG image for individual summaries #3

HarshKapadia2 opened this issue Dec 10, 2021 · 15 comments

Comments

@HarshKapadia2
Copy link
Member

@HarshKapadia2
Copy link
Member Author

Maybe use https://github.com/vercel/og-image?

@HarshKapadia2
Copy link
Member Author

HarshKapadia2 commented Feb 9, 2022

@SirusCodes
Copy link
Member

https://screenshot.as-a-service.dev/ looks like a service we can use to create an OG image for us.

Example: https://screenshot.as-a-service.dev/?url=https://catchup.ourtech.community/summary/103

@OurTechCommunity/core

@tusharnankani
Copy link
Member

Ohhh nice! @SirusCodes
Although I guess we should have an OG image like this:
image

https://og-image.vercel.app/OTC%20CatchUp%20103%20Summary.png

Creating something around this looks promising!

@SirusCodes
Copy link
Member

Yeah but the reason for having a screenshot is that people can have a glimpse of what summary has and can read a few lines and if they want they can open it and continue reading...

@KartikSoneji
Copy link
Member

I am still considering writing a custom renderer.

@SirusCodes
Copy link
Member

@KartikSoneji I'm thinking that it is worth the effort or not. I feel it's better to implement it as a standalone project so others can also use which kind of justifies the efforts.

But until that is implemented, I feel it's better to use https://screenshot.as-a-service.dev/

@tusharnankani
Copy link
Member

I am still considering writing a custom renderer.

Do you mean writing a complete og-image service or using OG Image as a serivce like Vercel og-image? @KartikSoneji

@KartikSoneji
Copy link
Member

@tusharnankani sorry I meant a custom asciidoctor renderer for adoc -> svg.

@tusharnankani
Copy link
Member

Updates? @KartikSoneji

@tusharnankani
Copy link
Member

Can we have summary screenshot as the OG Image? cc: @PranavDani

@SirusCodes
Copy link
Member

Can we have summary screenshot as the OG Image?

I still feel having screenshot is a better

@KartikSoneji
Copy link
Member

Updates? @KartikSoneji

Sorry, need to open an issue in Asciidoctor regarding the internal flow of the rendering pipeline.
I had found a workaround but I'm not sure if it's better to fix the underlying issue.

@KartikSoneji
Copy link
Member

Can we have summary screenshot as the OG Image?

I still feel having screenshot is a better

video.mp4

@HarshKapadia2
Copy link
Member Author

One way to do this: Social media cards generated with shot-scraper

Source

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

4 participants