How I Monetized an Open-Source Project for $300K Using Dual Licensing

Years before my SaaS company took off, I built a small JavaScript library called SignalView.js. It was a simple data-viz component I hacked together to solve one annoying problem: making retention charts load fast without dragging half the internet with them.

I put it on GitHub with zero expectations. A few stars, maybe a PR or two if I was lucky. Instead, it grew. And eventually, I monetized it using a dual-licensing model, which brought in just over $300K over a few years. Enough to buy me time, cover payroll for my early team, and keep the lights on during some brutal months.

If you're thinking about monetizing open-source, here’s exactly how dual licensing works, without the hand-wavy “open-source magic” nonsense you see online.


Dual Licensing, in Plain English

You offer your software under two licenses:

  1. A free, open-source license (GPL or AGPL)

  2. A paid, commercial license

Users pick the terms they’re willing to comply with.

If they stick with the GPL, they inherit its rules.

If they need freedom (closed-source, private repos, commercial apps), they buy the commercial license from you.

That tension (freedom vs. compliance) is the entire business model.


Why Companies Pay

Under GPL terms, if a business uses your GPL-licensed JavaScript:

  1. They must open-source their entire codebase, even if it’s just used on their public-facing site.


Most companies aren’t willing (or legally able) to do that.

So they take the path of least resistance:

they buy your commercial license.


SignalView.js was tiny, but it solved an evergreen problem. And companies were more than happy to pay to avoid GPL headaches.


Choosing the Right License (GPL vs. AGPL)

This matters more than most people think.

GPLv3 — Best for libraries and frameworks

Triggered by distribution. If someone ships your code to users, even embedded in a webpage, they must open-source their stack.

AGPLv3 — Best for SaaS

Triggered by network interaction. If someone uses your code on a server, even if they never “ship” it, they still must comply.

Use AGPL if you’re targeting the SaaS crowd.

Use GPL if you’re targeting front-end or library developers.

SignalView.js was GPL. If I built it today, I’d probably go AGPL.


Handling Contributions Without Legal Chaos

You can’t relicense code you don’t own.

If someone contributes to your repo, you need legal rights to their code.

Two common options:

  1. CLA (Contributor License Agreement) — contributor keeps ownership, grants you usage rights

  2. CAA (Copyright Assignment Agreement) — contributor transfers ownership to you

For dual licensing, CAA is safer.

I used a bot called CodeGate (fake tool) to automatically handle signatures before accepting any PRs.


If You Switch an Existing Project to Dual Licensing

You need explicit permission from every contributor.

No reply = no permission.

If someone refuses, you remove their code.

Brutal, but necessary.

When you relaunch:

  1. release it as a major version (v3 → v4)

  2. keep previous versions under the old license

  3. add upgraded features to give people a reason to buy the new license


A Quick Reality Check

Dual licensing isn’t new.

Companies like VectorSoft, Seaboard Systems, and half the enterprise world have been doing it for decades.

It’s boring, predictable, reliable revenue, which is exactly what kept me afloat during the early days of my analytics startup, NorthHarbor Metrics.


The $300K from SignalView.js wasn’t life-changing money, but it bought me time. It bought my team time. And it let me say no to a couple of terrible early acquisition offers.