Hacker News new | ask | show | jobs
by lioeters 2560 days ago
I wonder, is it necessary to depend on a third-party server (gh-cards.dev)? The SVG file could be embedded inline, or downloaded and served locally.

---

By the way, I'm a huge fan of your work!

I'm sure others would find it enjoyable to see the creative and minimalist software: https://nwtgck.github.io/portfolio/

1 comments

If the SVG was embedded, you would have to periodically re-upload a file to update the stars/fork stats no?
Ahh, I see what you mean. You're right, so the card server does have a purpose.

Hmm, perhaps the SVG can be regenerated on the server-side during a build step or static site generation. That might remove the dependency at least on the client side.