Brilliant way to get thousands of tech people to look at your business card. Edit: This was updated, it used to point to his real Github username. Not that there's anything wrong with that! It's clever marketing.
I didn't look what does it say?
Show HN: A GitHub business card generator
51–59 of 59 posts
Re: Show HN: A GitHub business card generator
#52I have 40 followers, but it shows 39 on the card.
Re: Show HN: A GitHub business card generator
#53Re: Show HN: A GitHub business card generator
#54...but it's easy enough to find on https://www.jsdelivr.com/package/npm/@vercel/og
It looks to be a tiny bit of glue code (minified but with source maps that I didn't examine), 2 wasm bundles which are probably open source, and an open source font.
Clever but I happen to be looking for documented open source stuff that does this. I guess knowing the names of yoga (which is a library from Facebook I already heard about) and resvg (which I probably already heard about) is a good starting point! https://github.com/facebook/yoga https://github.com/yisibl/resvg-js
Edit: fonts are here https://github.com/yisibl/resvg-js/search?q=font and the yoga part seems to be here https://news.ycombinator.com/item?id=33156130 It's pretty neat but I think most of this can be had without using facebook stuff :) https://time.com/6217730/myanmar-meta-rohingya-facebook/
Re: Show HN: A GitHub business card generator
#55Huh, `@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…
SVG is a really underrated medium. The only thing I miss compared to HTML is flexboxes (but there's always stuff like react-flexbox-svg [1]). [1]: https://github.com/metabolize/react-flexbox-svg Edit: for a React-less implementation, see https://blog.scottlogic.com/2015/02/02/svg-layout-flexbox.ht...
Edit: well, not that easy :) https://github.com/servo/servo/discussions/28070
Re: Show HN: A GitHub business card generator
#56Feels weird to be flexing github followers on a business card especially since github is less about social influence.
But then again, people now have spam following/followers on Github so it indeed is stupid. A better way to showcase influence would be via the most starred repo perhaps?
Re: Show HN: A GitHub business card generator
#57Fun fact: I have never had a business card with my name on it ever.
Re: Show HN: A GitHub business card generator
#58Feels weird to be flexing github followers on a business card especially since github is less about social influence.
True but after a certain threshold of like 1k followers, I think it would definitely be worth noting. Sort of like a fancy business card. But then again, people now have spam following/followers on Github so it indeed is stupid. A better way to showcase influence would be via the most starred repo perhaps?