Giter Site home page Giter Site logo

Comments (15)

KartikSoneji avatar KartikSoneji commented on September 26, 2024 2

Can we have summary screenshot as the OG Image?

I still feel having screenshot is a better

video.mp4

from catchup.

KartikSoneji avatar KartikSoneji commented on September 26, 2024 1

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

from catchup.

tusharnankani avatar tusharnankani commented on September 26, 2024 1

Updates? @KartikSoneji

from catchup.

tusharnankani avatar tusharnankani commented on September 26, 2024 1

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

from catchup.

KartikSoneji avatar KartikSoneji commented on September 26, 2024 1

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.

from catchup.

HarshKapadia2 avatar HarshKapadia2 commented on September 26, 2024

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

from catchup.

HarshKapadia2 avatar HarshKapadia2 commented on September 26, 2024

Maybe look into html2canvas. (Doesn't seem to be Node.js compatible though.)

from catchup.

SirusCodes avatar SirusCodes commented on September 26, 2024

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

from catchup.

tusharnankani avatar tusharnankani commented on September 26, 2024

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!

from catchup.

SirusCodes avatar SirusCodes commented on September 26, 2024

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...

from catchup.

KartikSoneji avatar KartikSoneji commented on September 26, 2024

I am still considering writing a custom renderer.

from catchup.

SirusCodes avatar SirusCodes commented on September 26, 2024

@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/

from catchup.

tusharnankani avatar tusharnankani commented on September 26, 2024

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

from catchup.

SirusCodes avatar SirusCodes commented on September 26, 2024

Can we have summary screenshot as the OG Image?

I still feel having screenshot is a better

from catchup.

HarshKapadia2 avatar HarshKapadia2 commented on September 26, 2024

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

Source

from catchup.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.