2 ms·
You're right, I should've moved that up a bit. Shields.io definitely has its merits, they've got a huge collection of supported badges. Badgen.net was created b
by splittydev 3y ago
You're right, I should've moved that up a bit. Shields.io definitely has its merits, they've got a huge collection of supported badges. Badgen.net was created because shields.io was significantly slowing down over time, and solved that by serving SVG over the edge, and it's what I've been using for the past few years. But badgen has lots of broken badges nowadays, and it doesn't seem to be properly maintained. So I decided to roll my own, using a Rust library and Cloudflare workers. In the end, there are still good reasons to use shields.io or badgen.net, depending on the specific use-case. I've just become frustrated with broken badges, especially since we're using them on our company website, and it really doesn't make a good impression to have broken images everywhere
- xenodium 3y ago> So I decided to roll my own, using a Rust library and Cloudflare workers. What is Cloudflare workers Rust support is like? I'd be a a complete Rust noob and looking for a dev environment with some code completion. Is that feasible today? Could you share your dev environment?
- splittydev 3y agoThe documentation from Cloudflare isn't too great, but you can look at the badgers-worker code for inspiration. I personally use VS Code, with the rust-analyzer extension. I use Rust a lot, and I'm very satisfied with the code completion quality that rust-analyzer provides. Cloudflare's wrangler tool provides easy local debugging for workers, but its live-reload doesn't work too well, so you have to frequently restart.
- splittydev 3y agoAdding to that, Rust really isn't such a fringe language anymore. It's used in production all over the world, at huge companies such as Google, Meta, Microsoft, Netflix, etc. and it powers like 75% of the large crypto companies. The dev tools are high-quality, and there are lots of learning resources available. The language itself is mature too, and very stable.
- xenodium 3y agoThis is really encouraging! I'm keen to experiment with Cloudflare and Rust. Thank you for sharing.
- swyx 3y agoi would put the Why on the website too, not just the readme. i was wondering Why until i scrolled down here and realized its on the github.