frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

Open in hackernews

Show HN: Shouldiuse.dev – Software dependency health checker

https://shouldiuse.dev/
10•louis_w_gk•6h ago
As software engineers we are often confronted with the decision of whether to code something ourselves or to add an existing library that does it for us.

Whether we like it or not – we are adding dependencies sooner or later. And it's arguably good practice to check a new dependency beforehand: Is it maintained? By whom? How many issues does it have and how many of those are bugs? Are they being fixed? What's on the roadmap? What's the release frequency and how often do APIs break?

One of our favorite solutions that already exist to answer such questions is the OpenSSF Scorecard project (https://github.com/ossf/scorecard) – we use this ourselves and can only recommend it.

We built shouldiuse.dev around it to make results accessible as a website, and used the opportunity to dive deep into heavily LLM-assisted coding for the first time in a professional project.

Three people (devs and non-devs) each started vibe-coding an initial prototypes, one using v0, one using lovable and one using Cursor. At first blown away by how fast we were able to generate these and how great there were looking, we soon ran into issues merging different ideas as there were multiple different web frameworks and versions flying around. The most work on the frontend definitely went into getting the details and small adaptions right.

In parallel, on the backend we started to write a Go application that uses the ossf/scorecard library to do a lot of the checks we want. To also play around with AI on that end, we intentionally made heavy use of Copilot and tried around with different models and prompts. We also added more metrics to the dependency check that we gather via GitHub API, and finally generate textual summaries via OpenAI.

The Prompt to generate a final textual recommendation consists of:

* A header stating the role, capabilities and limitations, and the expected response format (JSON and no lists/bullet points) – We also tell it to be critical, objective and give short and concise answers. * The result of the scorecard check * Additional community-related data * The questions that are being shown in the FAQ section – The answers to those are also generated by the LLM.

Since such a check involves heavy use of the GitHub API, we require users to input a GitHub personal access token when requesting a check. The first time a repository is checked on shouldiuse.dev it will take a few seconds, but then the results are stored in a postgres for faster retrieval later on.

For now it only works for public GitHub repos, but we might add other platforms if there is interest.

We also added a remote MCP server with built-in authentication, so you can directly access shouldiuse from your IDE and automatically check new dependencies anytime a coding assistant introduces one to ensure that only safe dependencies are added to the project.

What started as a fun internal experiment quickly surprised us with how useful it turned out to be. We didn’t plan to release it publicly, but we think might be useful for other devs and therefore we wanted to share it here. Any feedback is welcome!

Comments

SCUSKU•5h ago
Tried a public repo but it asked for a personal access token? No thanks. Otherwise great idea, but why should I give a personal access token for something that's publicly available, it really does not inspire confidence.
pmig•5h ago
Thanks scusku, the personal access token does not have any additional permission, we just need to avoid getting rate limited.
kissgyorgy•4h ago
Why don't use your own personal access token?
dylan604•4h ago
never pay for something yourself when you can have someone else pay for it. it's a useful concept that can be used in many many cases. the 1%ers love this concept
pmig•4h ago
We did, bur ran into the API limits as oder/scorecard alone is quite expensive on GitHub request
rglover•4h ago
Implement an OAuth flow with Github and then you can avoid that entirely.
pmig•4h ago
Gods point, will work on that!
Sleaker•4h ago
Sharing a GitHub API token to bypass rate limiting is explicitly in violation of section H of the terms on GitHub usage.

https://docs.github.com/en/site-policy/github-terms/github-t...

pmig•4h ago
Most applications are designed in that way, think about ossf scorecard, star-history.com etc..
woodruffw•5h ago
This should come with a heavy caveat: it’s based on heuristics, and heuristics can be wrong (at best) or maliciously gamed (at worst).

I wish companies would take a simpler approach: stop intermediating your open source interactions through middlemen, and work directly with your upstreams. You might discover that you have too many to work with, in which case you’ve laid the problem bare rather than obscuring it with metrics and policies.

mentalgear•4h ago
can you explain/expand?
FlyingAvatar•4h ago
If you have a dependency that is simple and stable, it could appear unmaintained since it doesn't have a lot of recent commits, bug reports, comment history, etc.

If a library author wants to make their package "look" maintained for some reason, they could generate superfluous commits and open and close fake bug reports. This could be a "good" signal to the heuristic, but has no real world benefit or worse-case could be used to lend credibility to a package with known vulnerabilities.

pmig•4h ago
We actually check from how many different organization the last committers belong to and analyze if the most recent commits have be done by bots (like renovate or dependabot)
pmig•4h ago
Thanks for the feedback, shouldiuse.dev gave us a lot of information on the first glance.
kissgyorgy•4h ago
The only thing crazier than asking for a personal access token is that people probably do it.
jacooper•4h ago
Why not open source it? It's almost fully vibe coded anyway

Show HN: I'm an airline pilot – I built interactive graphs/globes of my flights

https://jameshard.ing/pilot
1067•jamesharding•13h ago•162 comments

Normalizing Flows Are Capable Generative Models

https://machinelearning.apple.com/research/normalizing-flows
86•danboarder•5h ago•6 comments

Learn OCaml – Exercises

https://ocaml-sf.org/learn-ocaml-public/#activity=exercises
67•smartmic•6h ago•19 comments

James Webb Space Telescope Reveals Its First Direct Image of an Exoplanet

https://www.smithsonianmag.com/smart-news/james-webb-space-telescope-reveals-its-first-direct-image-discovery-of-an-exoplanet-180986886/
131•divbzero•8h ago•58 comments

SymbolicAI: A neuro-symbolic perspective on LLMs

https://github.com/ExtensityAI/symbolicai
116•futurisold•7h ago•35 comments

Structuring Arrays with Algebraic Shapes

https://dl.acm.org/doi/abs/10.1145/3736112.3736141
64•todsacerdoti•6h ago•5 comments

Multi-Stage Programming with Splice Variables

https://tsung-ju.org/icfp25/
15•matt_d•2h ago•1 comments

Reinforcement learning, explained with a minimum of math and jargon

https://www.understandingai.org/p/reinforcement-learning-explained
48•JnBrymn•3d ago•1 comments

Qwen VLo: From "Understanding" the World to "Depicting" It

https://qwenlm.github.io/blog/qwen-vlo/
170•lnyan•12h ago•50 comments

C compiler for Web Assembly (c4wa)

https://github.com/kign/c4wa
8•90s_dev•3d ago•0 comments

10 Years of Pomological Watercolors

https://parkerhiggins.net/2025/04/10-years-of-pomological-watercolors/
170•fanf2•11h ago•28 comments

Facebook is starting to feed its AI with private, unpublished photos

https://www.theverge.com/meta/694685/meta-ai-camera-roll
62•pier25•2h ago•36 comments

bootc-image-builder: Build your entire OS from a Containerfile

https://github.com/osbuild/bootc-image-builder
29•twelvenmonkeys•3d ago•7 comments

nimbme – Nim bare-metal environment

https://github.com/mikra01/nimbme
44•michaelsbradley•7h ago•9 comments

Transmitting data via ultrasound without any special equipment

https://halcy.de/blog/2025/06/27/transmitting-data-via-ultrasound-without-any-special-equipment/
96•todsacerdoti•9h ago•30 comments

Theoretical Analysis of Positional Encodings in Transformer Models

https://arxiv.org/abs/2506.06398
15•PaulHoule•4h ago•1 comments

Spark AI (YC W24) is hiring a full-stack engineer in SF (founding team)

https://www.ycombinator.com/companies/spark/jobs/kDeJlPK-software-engineer-full-stack-founding-team
1•juliawu•5h ago

Rust in the Linux kernel: part 2

https://lwn.net/SubscriberLink/1025232/fbb2d90d084368e3/
68•chmaynard•4h ago•1 comments

New Process Uses Microbes to Create Valuable Materials from Urine

https://newscenter.lbl.gov/2025/06/17/new-process-uses-microbes-to-create-valuable-materials-from-urine/
26•gmays•7h ago•5 comments

A Brief History of Children Sent Through the Mail

https://www.smithsonianmag.com/smart-news/brief-history-children-sent-through-mail-180959372/
84•m-hodges•6h ago•73 comments

Weird Expressions in Rust

https://www.wakunguma.com/blog/rust-weird-expr
142•lukastyrychtr•11h ago•111 comments

The Journey of Bypassing Ubuntu's Unprivileged Namespace Restriction

https://u1f383.github.io/linux/2025/06/26/the-journey-of-bypassing-ubuntus-unprivileged-namespace-restriction.html
13•Bogdanp•5h ago•1 comments

Whitesmiths C compiler: One of the earliest commercial C compilers available

https://github.com/hansake/Whitesmiths-C-compiler
96•todsacerdoti•4d ago•31 comments

Does a Focus on Royalty Obscure British History?

https://www.historytoday.com/archive/head-head/does-focus-royalty-obscure-british-history
16•pepys•3d ago•5 comments

Glass nanostructures reflect nearly all visible light, challenging assumptions

https://phys.org/news/2025-06-glass-nanostructures-visible-photonics-assumptions.html
26•bookofjoe•3d ago•4 comments

A New Kind of Computer (April 2025)

https://lightmatter.co/blog/a-new-kind-of-computer/
40•gkolli•3d ago•17 comments

Parameterized types in C using the new tag compatibility rule

https://nullprogram.com/blog/2025/06/26/
130•ingve•21h ago•64 comments

Slightly better named character reference tokenization than Chrome, Safari, FF

https://www.ryanliptak.com/blog/better-named-character-reference-tokenization/
47•todsacerdoti•1d ago•8 comments

PJ5 TTL CPU

https://pj5cpu.wordpress.com/
81•doener•19h ago•1 comments

Project Vend: Can Claude run a small shop? (And why does that matter?)

https://www.anthropic.com/research/project-vend-1
201•gk1•10h ago•84 comments