from Hacker News

Show HN: SpaceBadgers – Free and Libre SVG Badges

by splittydev on 5/21/23, 11:54 AM with 49 comments

Greetings, Hacker News community!

I am thrilled to present SpaceBadgers, a new free and open-source SVG badge generator I've been working on. It's located at badgers.space.

SpaceBadgers is born out of the desire to offer more flexibility and customization for project badges, often used in open-source projects.

It's fully open source, provided under the permissive MIT license, and will always be provided for free. The core badge worker is written in Rust, and so is the library behind it, which you can also find on crates.io under the name spacebadgers.

I am excited to receive your feedback and suggestions. Check it out and let me know what you think in the comments. Contributions are also welcomed and appreciated. You can find the source code here: https://github.com/splittydev/spacebadgers.

  • by andrew_ on 5/21/23, 1:57 PM

    Wasn't expecting the "why" section to be at the bottom, since that's where I'm used to seeing license and contribution info. Might be worth linking to that at the top of your readme so folks don't miss it. I was specifically looking for why shields.io wasn't good enough, and found my answer there.
  • by chrisweekly on 5/21/23, 10:44 PM

    Awesome! I love that it "just works"; I might engage with the CLI for meaningful integrations later, but right off the bat I can create custom SVGs thanks to dynamic URL params:

    https://badgers.space/badge/mylabel/statuscode/green

  • by peter_l_downs on 5/21/23, 3:04 PM

    This is great, thank you! Any chance you'd consider making binaries available for download? I wanted to try out the CLI but I haven't used rust before, and I got as far as installing `cargo` via `rustup` but I can't figure out how to download and build the cli.

    The badges look great and I love that this is available as both a web service (easy to link to) and as a CLI tool (no risk of depending on your web service).

  • by mixmastamyk on 5/21/23, 7:37 PM

    Never really understood the point of these? They started showing up maybe ten years ago, and I must have missed the introductory blog post on them with the rationale.

    Guess I can see the utility of having a little stats/props table at the top of a project readme. But the in-line wrapped style and images from an external web service aspects never made sense to me. Why is that popular?

  • by assimpleaspossi on 5/21/23, 7:52 PM

    I have no clue what is going on here or how to access anything.
  • by splittydev on 5/30/23, 12:55 AM

    A short update for everyone who might see this in the future:

    The launch week has been great! We served an insane number (well over 50k) badges with a 0% error rate, and have since added support for NPM, GitHub and crates.io!

    And for those of you who've been waiting for icon support: We now have 900+ beautiful icons built-in!

    Thanks a lot for all your positive comments and support!

  • by splittydev on 5/21/23, 1:26 PM

    Btw, many more integrations are coming soon :) NPM is already lined up for release, just gotta test it a bit more and make sure everything works as intended
  • by goodpoint on 5/21/23, 9:00 PM

    How is this better than https://shields.io/ ?
  • by lgreiv on 5/21/23, 6:27 PM

    Very handy tool for sure. I really appreciate the efforts you made on in-line, repo and website documentation.
  • by nihit-desai on 5/21/23, 3:52 PM

    Very neat! I was looking for something exactly like this for a library I'm building - will try it out
  • by 6r17 on 5/22/23, 4:34 AM

    Hi ! Nice ! It lacks available style, RGB colorization, PNG64 logos includable ; and if possible ; i'd love one where I can shove in an url as parameter, to let the thing fetch the result ; But i might be completely dreaming on that last one :p
  • by samstave on 5/21/23, 4:41 PM

    Please put your email in your profile - or tell me how to contact you offline about a tangential project or email me first initial last name from profile name at proton
  • by bloopernova on 5/21/23, 5:31 PM

    This is fantastic, I really like the idea. Great stuff!!
  • by thih9 on 5/22/23, 9:37 AM

    I’m seeing an error message:

    > This Deployment has been disabled. Your connection is working correctly. Vercel is working correctly.

  • by danrl on 5/21/23, 2:57 PM

    Great project!

    Nit: Personally would prefer rounded corners.

  • by mattl on 5/21/23, 8:22 PM

    On mobile if the browser font is larger the content is off the screen without a way to scroll.
  • by zackproser on 5/21/23, 2:49 PM

    These look really nice! Well done