Live data from Hacker News

Show HN: A GitHub business card generator

github-business-card.vercel.app

31–40 of 59 posts

Re: Show HN: A GitHub business card generator

#31
post #8
post #6

Nice project! Sadly the emojis present in my GitHub bio aren’t being rendered. I can’t see them in the image. :)

Yes, there was a bug with the image not rendering with certain emojis, so I had to remove them as a quick fix. But I’ll investigate to find a way to show them :)

You can use fonts to handle emojis!

https://vercel.fyi/og-image-with-emoji-font

Re: Show HN: A GitHub business card generator

#38
post #22

Seems broken on Firefox for Android (mobile). It displays half the card [0]. [0] https://imgur.com/a/CQ7QXkB

I'm using firefox nightly on android and it displays normally. Maybe your internet connection?

Nah it happened to me too (Chrome stable, perfect internet connection). Refreshing fixed it.

Re: Show HN: A GitHub business card generator

#40

Huh, `@vercel/og` is interesting! It looks like the same approach as `html2canvas` (implement custom rendering for each HTML element + CSS property), with all the tradeoffs that entails, but they actually rightly limited some of the features they're willing to support (like external stylesheets). And it looks like it'll be more supported than `html2canvas` currently is. I quite like `dom-to-image-more` (sorta active…

html2canvas and similar libraries only work in the browser, and this is why @vercel/og is that interesting! Not only it runs on the server (in an Edge serverless function), but it doesn’t have to start a headless browser to make screenshot and generate the image ;)

How could I forgot about that part! Yeah, super useful for that platform. I had so much trouble finding the GitHub repo for it to check their methodology earlier I forgot about that lol
Post reply on HN