We have no moat, and neither does open source

11 min read Original article ↗

A few months ago I decided to build an idea I’d been considering for a while — the ability to scan an entire project for license information (e.g. LICENSE.md files) and report back any possible conflicts with a company’s organizational policy (e.g. a GPL-3.0 dependency prohibited by company policy).

To be clear, the idea I had was not necessarily a novel one. In fact, years ago, when I had been working at a previous startup, I had been tasked to create this exact kind of license report, and had found a bunch of disparate tools — some free, some paid. The challenge was that the free tools weren’t that good and were usually ecosystem-dependent, and the paid tools were outside our budget. So, my solution at the time was a mix of using a bunch of the free tools, compiling and normalizing the reports they created into one big report, and then manually fixing and adjusting things until it all seemed cohesive. I made a mental note that one day I’d build a great open source alternative1—and potentially build a business around it that undercut the paid tools.

Within a month of coding and working with Claude, I felt that I had done it: https://licensedetector.com/ and https://github.com/licensedetector/cli/ both exist, and the tool is better than anything out there that I’ve encountered, including the 2,600-star ScanCode Toolkit library as shown below2:

MetricLicense DetectoraskalonoScanCodelicensee
SPDX-ID accuracy99.0%96.9%92.8%35.1%
Throughput (files/sec)161/sec9/sec16/sec2/sec
Cold start235 ms108 ms4.6 s324 ms
Adversarial survival98%91%86%21%
…on truncated text89%39%32%0%

After building the tool, however, I found myself a bit unsatisfied — could I have put that same amount of effort into contributing to ScanCode? Thinking it through, I believe the answer is no3 — and it makes me worry for the state of open source.4

What’s wrong with just using existing open source libraries?

There are plenty of great open source libraries out there that are well-maintained, well documented, easy to run, and fit into any codebase cleanly. For those, there’s no reason to reinvent the wheel.

But we’ve all run across “best” open source libraries, where the library is severely limited today by the tech choices it made years ago. Similarly, we’ve all stumbled upon tools/libraries that are perfect, just in a different language or framework than what we need them in.

As an example, when I built my job search startup TrueJob more than a decade ago, it was a monolith Ruby on Rails app, as that was the language and framework I was most proficient with at the time. But then later when I wanted to add in job scraping, I relied heavily on Scrapy, which was written in Python, to load javascript-rendered websites, download pages in parallel, and much more. While I was able to get Scrapy up and running and write code for it, it was always a bit clunky to work with. This inevitably led to challenges, for example:

  1. How do I reliably “glue” these two apps together, and make sure they work well at the seams?
  2. Who will fix and debug the issues when this new language or framework inevitably breaks?

We chose Scrapy as it was the most powerful tool at the time for the job, but if I had the choice today, why would I add another language dependency if I could create something just as powerful in a language the other members of my team already know?

What’s wrong with just “contributing back” to existing open source libraries?

Having been a maintainer of a 2k star GitHub repo, and contributed to many others with many more stars, I have to admit that sometimes submitting to open source is exhausting, often due to the people involved.

It’s not just me: in Work Practices and Challenges in Pull-Based Development: The Contributor’s Perspective, “social aspects” was considered a large piece in why people get frustrated. From the paper:

“[…] More than 15% of the survey participants mentioned that getting timely feedback, if any, for their pull requests is hard and usually related to people issues”

Here are some additional fun quotes from the paper. See if any of this sounds familiar:

  • “The owner of the repo doesn’t ever respond to the PR and leaves it hanging open forever”
  • “[there are] projects with lots of open PRs and few actually being accepted”
  • “Few things are more frustrating than opening a PR and having it go nowhere”

From Khatoonabadi et al. (2021):

“[…] difficulty addressing the maintainers’ comments, lack of review from the maintainers, difficulty resolving the CI failures, and difficulty resolving the merge issues are the most common reasons why contributors abandon their PRs.”

From GitHub’s Open Source Survey of 2017:

  • “18% of respondents have personally experienced a negative interaction with another user in open source, but 50% have witnessed one between other people.”
  • “Negative experiences have real consequences for project health. 21% of people who experienced or witnessed a negative behavior said they stopped contributing to a project because of it, and 8% started working in private channels more often.”

There’s plenty of other papers that reinforce the above claims, but in general I hope you can see that contributing to open source is not without its pain points5.

Above and beyond contributions, however, there’s plenty of “funny” (or not funny) challenges of existing large open source codebases where you can’t break certain people’s workflows:

A real life example of this happened just a few years ago — when AMD patched a potentially dangerous performance tweak users were using, users were up in arms and demanded that it be put back.

Open source maintainers aren’t having it any easier

Given the last few paragraphs, you might expect me to think of all open source maintainers as curmudgeonly coders with egos. But that’s not the case — they are dealing with their own problems as well:

While the above is mainly focused on AI, open source maintainers before this already had to deal with a slew of other issues, such as contributors who didn’t follow instructions or style guides as to how to contribute, or contributors who created duplicate code or just bad code (Steinmacher et al., “Almost There” (2018)).

When both the contributors and maintainers are frustrated, it’s easy to see the allure of starting fresh.

To greener pastures?

In the end, the siren song of a greenfield project is sometimes too good to pass up — you can build the tool that you want, and not spend time waiting for someone to accept your contribution, or convincing people that your use case is worth supporting.

But where does this leave open source? If someone can spend a month and build an objectively better tool6 than the current open source leader, why would anyone contribute to the existing project? There are a few obvious reasons why, and they are still important:

  • Working with others: Open source is not always about the quality of the code; it’s about working with other engineers in the open, which is a great goal in and of itself. But it also comes with tangential benefits: showing you can work well with others is a great way to show employers you have good communication skills, and will work well in a team.
  • Building towards something unified: It’s easy as engineers for us to say “all these existing libraries suck, I’m going to build my own”, but you run into the problem where rather than making it easier for others to see which library is best, you add to the glut. If a group of people worked on something together, though, it could have a chance to really make a change in the ecosystem.

Still, something in open source will need to change — or we as engineers will have to treat open source code differently. With the proliferation of AI tooling and cheap compute, it will be easy for engineers to create open source libraries that beat the best ones out there but receive only a handful of stars.

In the future, when an engineer comes along and wants to look for the best tool out there to solve their problem, how will they decide between the 2,000-star repo that is actively being worked on but is slow/old/doesn’t support their use case (and might not ever), and the 300 repos that people have created that are potentially great, but were created by one person and probably never maintained? Or will that engineer simply say “I guess I’ll build my own tool from scratch”, and add to the glut?

The clearest parallel to this is the explosion of writing that happened after the printing press became widely available. There’s great literature on how people of that time dealt with this7, but in a nutshell, readers relied on trusted institutions and individuals for book reviews and summaries. Borrowing books from libraries or friends also reduced the financial cost of choosing a bad book.

Can we apply these same principles to code today? To be clear, we already do this to some extent — GitHub repos with “Awesome X” names collect the best libraries around topic X, AI tools summarize content and surface useful projects through search, and YouTubers and other content creators recommend new libraries and frameworks. But this still feels a bit unsatisfying — the pace at which we are creating new libraries8 and content vastly exceeds the capacity of both AI and humans to consume it.

So where does this leave us then? In my mind, I have to believe it creates a divide between libraries / tools / frameworks that were already well known and everything else. For the libraries and tools that are already heavily used and well known, they will continue to get open source support, even if a greenfield project is better / faster / has more functionality — distribution just wins. Open source might not have a code moat anymore, but the distribution moat will still carry the incumbents along. For the tools that come afterwards, unless you can figure out how to market your tool, the best you’ll be able to say is that your code will become fodder for AI9 models that will allow the next developer to come along and build their own tool with the help of AI — perhaps not as enticing as one might hope.

Footnotes:

  1. This is a bit misleading. The license is Elastic License 2.0, which is not as open as something like MIT, but for most purposes can be used by businesses and individuals without worry. ↩︎
  2. Don’t believe me? I included the benchmark tool for you to run yourself: https://github.com/licensedetector/cli/tree/main/bench ↩︎
  3. It’s easy to stop reading here and conclude that I am lazy, or I’m not interested in working with other people, or I’m only interested in working on my own code. Those things could still be true, but I also think those criticisms are unfairly shallow — or else no greenfield project would ever be spearheaded if an open source library already existed. ↩︎
  4. This sounds like AI, but I assure you it’s not — I just like em-dashes, and sometimes I do like to do a “microphone drop”. ↩︎
  5. To be clear, however, I don’t want to be all doom and gloom. While I’m drawing from the complaint sections of these papers to make a point, there is also plenty of research from these papers highlighting the things first time contributors did wrong, along with the fairly positive acceptance rate overall of most open source pull requests (84.73% are eventually merged, Gousios et al., 2014). ↩︎
  6. Yes, this is me being biased or a bit too hand-wavy. “Objectively better” by what measures? Well, for my repo, by the measures in the table above, at least. ↩︎
  7. See: Too Much to Know: Managing Scholarly Information before the Modern Age by Ann M. Blair ↩︎
  8. GitHub noted more than 120 million new repos in 2025, more than 230 a minute (Octoverse 2025). ↩︎
  9. See Koren et al., “Vibe Coding Kills Open Source” (2026). ↩︎