Live data from Hacker News

Show HN: A GitHub business card generator

github-business-card.vercel.app

51–59 of 59 posts

Re: Show HN: A GitHub business card generator

#51
post #49

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?

It says he works at Dunder Mifflin, it doesn't look like its about self promotion

Re: Show HN: A GitHub business card generator

#54
A repo for the @vercel/og API it uses isn't here: https://www.npmjs.com/package/@vercel/og

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

#55

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…

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

With WebAssembly, layout engines should be easy pickings. Just have to grab the code from an open source browser and get it to build, and put the license on it.

Edit: well, not that easy :) https://github.com/servo/servo/discussions/28070

Re: Show HN: A GitHub business card generator

#56
post #41

Feels 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?

Re: Show HN: A GitHub business card generator

#58
post #41

Feels 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?

I just see github as a productivity tool like a kitchen knife and I wouldn't flex my kitchen knife. I would flex my products though which is like the food I make as a result of the kitchen knife.
Post reply on HN