frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

Open in hackernews

Show HN: Shields.rs – a Rust badge engine 10x faster than Node.js

https://github.com/Jannchie/shields.rs
1•jannchie•9h ago
Hi HN,

I've been working on a project I'd love to share: shields.rs, a high-performance badge rendering engine written in Rust.

The goal was to build something incredibly fast and reliable for services that need to generate a lot of badges. The result is an engine that can render a badge in about 4.5 microseconds, which is over 10 times faster than the popular badge-maker library for Node.js.

A key feature is that the output is bitwise-identical to shields.io. This means you get 100% compatible and consistent SVGs every time. It supports all the styles you'd expect (flat, flat-square, plastic, etc.) and makes it easy to add logos from Simple Icons or your own custom SVG.

The API is designed to be simple and chainable. Here's a quick peek:

``` let badge = Badge::plastic() .label("version") .message("1.0.0") .message_color("#4c1") .build(); ```

I wrote this because I wanted a more performant and type-safe solution for badge generation. It was a fun challenge to optimize the rendering pipeline and SVG generation logic in Rust.

You can check out the source code and benchmarks on GitHub: https://github.com/Jannchie/shields

And the full documentation is on docs.rs: https://docs.rs/shields

I would be grateful for any feedback or questions. What do you think?

New kind of cryptocurrency spam on GitHub

https://github.com/viperdavis/faucet-token-help/issues/1
1•throwaway290•1m ago•0 comments

Elixir: An Alternative to JavaScript-Based Web Development

https://thenewstack.io/elixir-an-alternative-to-javascript-based-web-development/
1•indigodaddy•2m ago•0 comments

Biofuels Policy, a Mainstay of American Agriculture, a Failure for the Climate

https://insideclimatenews.org/news/13062025/agriculture-ethanol-biofuel-policy-climate-failure/
2•rntn•5m ago•0 comments

Modifying an HDMI dummy plug's EDID using a Raspberry Pi

https://www.downtowndougbrown.com/2025/06/modifying-an-hdmi-dummy-plugs-edid-using-a-raspberry-pi/
1•zdw•7m ago•0 comments

The AI lifestyle subsidy is going to end

https://digitalseams.com/blog/the-ai-lifestyle-subsidy-is-going-to-end
1•bobbiechen•11m ago•0 comments

Async Compute All the Things

https://interplayoflight.wordpress.com/2025/05/27/async-compute-all-the-things/
1•ibobev•11m ago•0 comments

The unions are (finally) coming for big tech

https://leaddev.com/leadership/unions-finally-coming-big-tech
3•kiyanwang•12m ago•0 comments

Simplest Computer Sound [video]

https://www.youtube.com/watch?v=tIOR7kRevPU
1•surprisetalk•12m ago•0 comments

Anthropologists map Neanderthals' long and winding roads across Europe&Eurasia

https://phys.org/news/2025-06-anthropologists-neanderthals-roads-europe-eurasia.html
1•bookofjoe•12m ago•0 comments

The First Interstellar Software Update – The Hack That Saved Voyager 1 [video]

https://www.youtube.com/watch?v=p0K7u3B_8rY
1•FatalLogic•12m ago•0 comments

3D-printed device splits white noise into an acoustic rainbow without power

https://phys.org/news/2025-06-3d-device-white-noise-acoustic.html
1•rbanffy•13m ago•0 comments

BVH Quality: Beyond SBVH

https://jacco.ompf2.com/2025/05/20/bvh-quality-beyond-sbvh/
1•ibobev•14m ago•0 comments

Delightful Commons List

https://delightful.coding.social/
2•mofosyne•19m ago•0 comments

I got rid of all my Neovim plugins [video]

https://www.youtube.com/watch?v=mQ9gmHHe-nI
1•yobibyte•20m ago•0 comments

Show HN: MSDL – A minimal description language and editor for system diagrams

https://github.com/stefankober/minimal-systemigram-description-language
2•kbrkbr•23m ago•0 comments

Pyaket – Easy Python to → Fast Executables

https://github.com/BrokenSource/Pyaket
2•koakuma-chan•23m ago•0 comments

The Skyscraper That Could Have Toppled over in the Wind (1995)

https://www.newyorker.com/magazine/1995/05/29/the-fifty-nine-story-crisis-citicorp-center
2•georgecmu•27m ago•1 comments

Serene-audio-mode: rebalance the audiotracks of videos

https://github.com/dborzov/serene-audio-mode
2•ingve•27m ago•0 comments

Zero shot is not a free lunch

https://softwaredoug.com/blog/2025/06/15/zero-shot-not-free-lunch.html
1•ingve•30m ago•0 comments

The Big Red W

https://randsinrepose.com/archives/the-big-red-w/
1•Tomte•31m ago•0 comments

Show HN: I Built an Interactive Spreadsheet

https://reasonyx.com/
1•Kushal6070•34m ago•0 comments

A Meditation on AI Slop and Other Monsters

https://vectorheart.substack.com/p/ai-slop-and-other-monsters
1•urumcsi•39m ago•0 comments

Journalists Wary of Travelling to US Due to Palantir Surveillance

https://bsky.app/profile/alistairkitchen.bsky.social/post/3lrjsdecc5c2x
48•Kapura•45m ago•4 comments

Mrs. Orcutt's Driveway (2005)

https://www.caranddriver.com/features/a15385694/mrs-orcutts-driveway-204-mph-on-a-double-nickel-road-page-1/
4•linsomniac•57m ago•0 comments

Russia's increase in killer drone attacks is overwhelming Ukraine

https://www.cnn.com/2025/06/15/europe/russia-tactics-swarms-of-killer-drones-intl-cmd
2•MilnerRoute•58m ago•1 comments

Hustle2Grand – A challenge for teens to earn their first £1k online this summer

https://hustle2grand.vercel.app
1•VulcanWM•59m ago•1 comments

FAA pick has claimed 'commercial' pilot license he doesn't have

https://www.politico.com/news/2025/06/15/trumps-faa-pick-has-claimed-commercial-pilot-license-he-doesnt-have-00406090
18•JumpCrisscross•1h ago•0 comments

Vienna could be the model to tackle the housing crisis and climate change

https://www.npr.org/2025/06/15/nx-s1-5400642/affordable-housing-environment-vienna-climate-change
1•toomuchtodo•1h ago•1 comments

Charlottesville activist facing vandalism charges for makeshift crosswalk

https://www.29news.com/2025/05/22/charlottesville-activist-facing-vandalism-charges-makeshift-crosswalk/
2•rntn•1h ago•0 comments

New dating site matches singles by browser history

https://www.wired.com/story/an-experimental-new-dating-site-matches-singles-based-on-their-browser-histories/
2•driesdep•1h ago•1 comments