Putting a startup's entire source code on GitHub, letting anyone download it for free, and still collecting millions of dollars a year from ordinary subscriptions looks like charity with a leaky budget from the outside. In practice, dozens of small teams earn money this exact way, and in 2026 AI agents gave the model an unexpected boost.
Look at two projects from the same founder, Elie Steinbock. The first, AI email assistant Inbox Zero, is three years old. Built before the agent boom, it gets almost no outside code contributions, yet its cloud subscription brings in tens of thousands of dollars a month and enterprise clients sign $100,000 annual contracts. The second project, an open-source Grok Bot alternative called Rakazo, was built in a single day right after the original's loud launch. Within weeks of turning on billing, it hit $5,000 a month while its repository pulled in 264 contributors and hundreds of bots fixing bugs and adding features on their own.
Why code secrecy stopped working, where revenue comes from when software is free, and why successful open-source startups like Cal.com sometimes close their repos anyway—let's break it all down with real numbers and cases.
Two meanings of Open Source and three market tiers
When people say "Open Source," they often mean two different things. Informally, it's simple: the code sits in a public GitHub repo where anyone can read every line. Legally, everything hinges on the LICENSE file inside the project. Many famous public GitHub repos are actually "source-available": you can read the code and often run it yourself, but the license explicitly forbids selling a competing service based on it. We'll come back to licenses shortly, because they decide how a business protects its revenue.
A second common mix-up involves what kind of product you're trying to monetize. If you sort the open-source market onto shelves, you get three completely different tiers with very different economics.
| Open Source tier | Examples | How people use it | Where the money comes from |
|---|---|---|---|
| Packages and libraries | Zod, Lodash | Installed with one command (npm install) directly into code | Almost no direct revenue; builds resumes, consulting, and author reputation |
| Infrastructure and DBs | MongoDB, HashiCorp (Terraform) | Widely run for free on personal machines and servers | Managed cloud clusters and enterprise support; valuations reach tens of billions |
| Full-stack SaaS | Inbox Zero, Rakazo, Papermark, Postiz, PostHog, Supabase, Sentry, GitLab | Requires a server, database, frontend, integrations, and constant updates | Regular cloud subscriptions, dedicated support, and enterprise deployments |
On the first tier live small building blocks for developers. Tools like Zod or Lodash get downloaded millions of times, yet nobody pays for a utility you install in two seconds from a terminal. For the creator, it's a great resume line and a ticket to high-paid consulting, not a standalone recurring-revenue business.
On the second tier sit heavyweights like databases and infrastructure tools—MongoDB with a market cap around $30B, or HashiCorp. In absolute dollars, that's the biggest money in the market, but the entry barrier is brutal: a solo dev or three-person team isn't building the next MongoDB over a weekend. Plus, a huge share of developers happily run these databases at home for free, paying the vendor nothing.
The third tier, full-stack SaaS (complete web apps with their own server, database, UI, and dozens of integrations), has become the sweet spot for indie founders and small teams. It spans giants like GitLab (valued near $10B) and PostHog alongside lean, profitable apps like Inbox Zero, Papermark, and Postiz. Deploying and maintaining a system like this yourself is far harder than installing an npm package. That friction is where the cash register sits.
Interface of the open-source cloud AI email assistant Inbox Zero (Source: getinboxzero.com)
Why code stopped being a secret and a swarm of bots fixes bugs
Three or four years ago, open-sourcing your SaaS looked like a risky gamble. Imagine spending six months of evenings and weekends writing a backend and debugging integrations, only to put everything on GitHub. You'd worry that a competitor with an ad budget would show up tomorrow and walk off with half a year of your work.
In 2026, that math broke. With AI tools, a working service prototype comes together in one to three days and a pile of tokens. Better yet, any closed SaaS can be cloned from UI screenshots anyway: a model easily reconstructs the core logic, and backend details stopped being a unique moat long ago. If your product can be cloned over a weekend regardless, hiding code in a private repo to stop copycats makes almost no sense.
Meanwhile, open code unlocked a second effect that barely existed before. Compare Elie Steinbock's two projects. Over three years, Inbox Zero built a sizable GitHub following, yet outside developers rarely sent pull requests. Learning someone else's codebase, running it locally, and spending an evening on one minor fix takes too much effort. With the newer Rakazo, the picture flipped completely: within weeks, the project attracted 264 contributors and hundreds of connected bots. Discord buzzes with feature talk, and pull requests pour in, with many reviewed and merged semi-automatically—including through the founder's own bot.
Official preview of the open-source autonomous AI agent platform Rakazo (Source: rakazo.com)
Why do strangers spend free time improving someone else's commercial product? There are two practical reasons. First is portfolio value: meaningful commits to a fast-growing repo look great on a resume. The second is much more interesting and tied directly to AI. Many developers run tools on their own servers, known as self-hosting. Previously, hitting a bug or missing button meant writing to support and waiting on the vendor. Now a developer points their AI agent at the open repo, patches the code for their own needs in ten minutes, and sends the fix upstream in one click so it doesn't break on the next update. For a founder, that turns into a free engineering department that finds and fixes product pain points on its own.
The AI agent as a new customer and the storefront paradox
In 2026, software gained a new kind of buyer: the autonomous AI agent. When an agent handles a workflow like scheduling posts or automating outreach, it picks from several similar tools. Developer Theo Browne, creator of T3 Code, noticed a simple pattern: all else equal, AI agents choose open-source tools noticeably more often than closed commercial services. In T3 Code itself, roughly 10% of users forked the GitHub repo to tailor the tool to their workflow. An agent simply has an easier time with open code—it can read it, debug it, and rebuild it like Lego blocks.
That sounds great, until you get carried away and assume an "Open Source" badge sells software by itself. Reality cools that hype fast. Visit the homepages of Papermark (an open-source DocSend alternative for secure document sharing and data rooms) or Postiz (a social media scheduler that started as Gitroom). Hit Ctrl+F for "open source" and you'll barely find it—mentions hide in customer quotes and a small GitHub badge.
Post scheduling interface in the open-source SaaS platform Postiz (Source: postiz.com)
Postiz even had a telling prank. Founder Nevo David once joked on X that an angry employee had leaked the product's source code publicly. The post went viral, commenters debated the drama, and almost nobody realized Postiz had been open source from day one. The same happens with analytics platform PostHog: thousands of teams use it daily without ever knowing its code sits on GitHub.
Postiz grew to $5M ARR (Annual Recurring Revenue), and the agent wave genuinely helped since AI agents actively schedule posts through its API. Papermark, launched three years ago by spouses Marc Seitz and Julia Schnae, has already reached $4M ARR according to Elie Steinbock's estimate (earlier public company reports cited milestones above $2–3M). Yet both products took off thanks to product quality and aggressive marketing. Open code gave them a strong launchpad and technical credibility, while normal product work—the same kind that works for closed SaaS—kept and monetized customers.
Where the money comes from when code is free
Open-source SaaS support chats get the same question every week: "If you're Open Source, where's the free version?" The founder calmly drops a GitHub link. There really is a free version: grab the code, set up Docker, configure the database, SSL certificates, and mail gateways, and update everything by hand.
That's where simple "price vs. convenience" math kicks in. In the managed cloud, Rakazo costs $15 a month, Inbox Zero runs $20, Papermark asks €24 (site plans start around $24–29), and open-source DocuSign rival Documenso is roughly $30 a month. Buyers pay for a ready service: click "Start now" and you're working in a minute.
Now tally the hidden cost of "free" self-hosting. Running a full-stack service like Rakazo on your own server takes a solid VPS, backups, monitoring, and constant security patching. Even ignoring your personal time, a single dedicated server easily eats $20 to $100 a month. Meanwhile, the creator hosts hundreds or thousands of users on shared infrastructure and comfortably sells access for $15–20 a month thanks to scale. You get a paradoxical deal: paying for the cloud is often literally cheaper than running "free" code yourself.
This playbook is as old as the web and shows up clearly with WordPress. The engine at WordPress.org is completely open and free, yet millions of site owners pay WordPress.com for years just to avoid thinking about hosting, updates, and hacks. As automated attacks on public servers grow more common, fear of misconfiguring security pushes regular users straight to the managed cloud. In the end, 99% of your audience will never self-host anything. And the 0.1% of enthusiasts willing to spend a weekend on Docker to save twenty bucks would never have bought a subscription anyway, so the business loses nothing.
Self-hosters also bring an unexpected revenue stream. Billion-dollar enterprises sometimes deploy tools like Inbox Zero on their own servers, yet still pay the founder thousands of dollars a month purely for dedicated support and security assurances. For an indie developer that's a major check; for a corporation it's a rounding error in the IT budget.
Trend jacking: how to collect your first thousands of stars
If open code is a free user-acquisition channel, how do you keep your repo from drowning among millions of other projects on GitHub? The fastest working tactic in 2026 is called trend jacking—riding a loud news wave.
The play is simple: you watch X and spot a closed product getting massive hype or, even better, sparking anger over greedy pricing. Literally the next day, you ship a working open-source alternative. That's how Rakazo worked: the day after Grok Bot launched, a post went up on X saying "I built an open-source Grok Bot in one day." Riding that wave, the repo collected thousands of stars in its first 24 hours.
The "hated incumbent" play works even better. Entrepreneur Kevin Rose got an $8,100 annual bill from DocuSign for a 15-person team—just to sign PDFs. Instead of quietly paying the invoice, he built an open-source alternative, SignuDoc, with one-click Vercel deployment, zero per-seat fees, white-labeling, and a full audit log. His X post hit 4.4 million views.
One neat detail: a strong, popular open-source DocuSign rival, Documenso, already existed. You might think the niche was taken. Yet SignuDoc broke through thanks to a clear villain (an eight-thousand-dollar invoice wins instant sympathy from any founder) and a bold name poking directly at the giant.
GitHub stars collected by top open-source SaaS projects
The chart shows clearly that you don't need a massive star count to start selling, and having a strong open-source player in the niche doesn't block newcomers. SignuDoc still has far fewer stars than mature Documenso, yet one viral launch with 4.4M views is plenty to turn a project into a million-dollar cloud SaaS if you want. The key is catching the moment when the market is actively hunting for an alternative to an expensive closed monopoly like Buffer, Calendly, DocSend, or DocuSign.
Licenses, forks, and why Cal.com and Dub went closed source
As soon as an open project starts making real money, founders ask a logical question: what stops a giant like AWS or another startup from copying the repo, repainting the buttons, and taking all the revenue? That's where the LICENSE file—something many beginners pick at random—steps onto the stage.
| License | Status | What others can do with code | Core business protection | Who uses it |
|---|---|---|---|---|
| MIT / Apache 2.0 | Classic Open Source (permissive) | Almost anything, including closed commercial forks | Minimal; relies on brand, speed, and cloud | Rakazo, SignuDoc, cal.diy |
| AGPL v3 | Classic Open Source (network copyleft) | Modify and run on a server | Serving it over a network requires opening all your code | Inbox Zero, Postiz, Documenso |
Open-core + ee/ folder | Hybrid | Core is open; ee/ modules are proprietary | Enterprise features stay under a commercial license | Papermark, PostHog |
| BUSL | Source-available (not Open Source) | Read and use internally | Direct ban on selling a competing product | HashiCorp (Terraform) |
| SSPL | Source-available (not Open Source) | Run free for yourself | Cloud providers must open their entire hosting stack | MongoDB |
The gap between those rows is huge. MIT and Apache 2.0 are maximally friendly to the community, but they don't stop a rival from shipping a closed clone. That's why many commercial SaaS teams pick AGPL v3, a strict copyleft license. It acts as a strong barrier against quiet appropriation: if a big company forks Inbox Zero to sell a paid service, it has to publish the source code of its changes. Corporate lawyers almost never agree to that.
When businesses reach MongoDB or Terraform scale, they often switch to source-available licenses like SSPL or BUSL. MongoDB aimed SSPL straight at Amazon: if AWS wants to sell managed MongoDB, it must open-source its entire cloud hosting wrapper, which Amazon will never do. Such sharp moves carry a side effect—community backlash and high-profile forks. After Terraform changed its license, OpenTofu appeared as an independent open fork, and a similar clash around Elasticsearch gave birth to OpenSearch.
In 2026, though, a brand-new reason to close code emerged: AI security. In April 2026, scheduling platform Cal.com—which had grown past $7M ARR while open (and reached roughly $12M by year-end per Elie Steinbock's estimate)—moved its main production repo private. GitHub kept only a stripped-down cal.diy edition under MIT without team or enterprise modules. CEO Bailey Pumfleet explained it bluntly: autonomous AI agents let attackers scan public code almost for free and generate exploits automatically. In that world, a public repo turns into a detailed blueprint of a bank vault.
Paper collage showing an open-source workshop under a glass dome beside a locked commercial cloud
In late October 2026, link-shortening and attribution platform Dub took a similar step: commit Simplify Dub #4783 stripped down the public repo and renamed it to dub.link, removing commercial parts. The team didn't publish a blog post explaining why, though in a private conversation with Elie Steinbock, Dub founder Steven Tey cited the exact same motive: defense against automated AI attacks.
Inside the open-source community, people view that argument with skepticism. "Security by obscurity" has long been criticized: closed software gets hacked just as often, except flaws stay hidden longer, while thousands of eyes watch open code. Better yet, in 2026 AI started working for defenders too. At Inbox Zero and Rakazo, multiple AI agents automatically review every incoming pull request, and OpenAI and Snyk recently ran a free pentest on both repos—work that would normally cost thousands of dollars. Popular open projects now get free enterprise-grade protection that small closed startups simply don't have.
$100K–$10M contracts and an honest filter for who shouldn't open-source
Behind $15–30 monthly cloud plans lies the biggest money pool in open-source software: on-premise enterprise deals. That means deploying software completely inside a company's private network, with zero data leaving for the internet.
Picture a bank, defense contractor, or government agency with thousands of employees. Their source code or internal emails are strictly sensitive data that compliance rules forbid sending to someone else's cloud. An open-source architecture fits that need like a glove: the client runs the software on its own servers, and the vendor physically has no access to their data. GitLab built its business on this model and, by Elie Steinbock's estimate, serves roughly half of the Fortune 100. At around $100 per developer per month across thousands of engineers, an annual contract easily reaches $10M. At a smaller scale, the same math works for Inbox Zero: an enterprise rollout for roughly 400 seats at $20 a month plus support brings in about $100,000 a year from one client.
Does that mean you should run out tomorrow and open-source every startup? Not at all. Open source acts as a great free marketing amplifier, but only where your audience actually knows what GitHub is.
When open code helps a business—and when to keep it closed
- You're entering a broad market with a big, pricey closed leader (Calendly, DocuSign, DocSend, Buffer, Grok Bot).
- You're just launching and want free distribution through X, GitHub Trending, and AI agents.
- Your buyers include developers, technical teams, or enterprises that care about transparency and on-premise deployment.
- You're ready to pick a clear license up front (AGPL v3 or open-core with
ee/) so you don't hand your business to rivals on turn one.
If you're building a niche app for plumbers, local CRM software for realtors, or a tool for coffee shop owners, open-sourcing makes no sense. Your customers don't care whether the app sits on GitHub, they won't hand out stars on X, and contributors with bots won't show up in that niche. The same goes for an established closed business with a steady customer base: flipping a mature closed SaaS to open source is risky, and the upside rarely justifies the hassle of reworking security and licensing.
Looking realistically at the year ahead, don't expect a mass wave of overnight million-dollar miracles. According to Elie Steinbock, over the next 12 months, dozens of tiny open-source teams under five people will likely cross $1M ARR. Meanwhile, hundreds more open projects will create real market value or land major acquisitions without direct subscription revenue, just as happened with OpenClaw and Hermes Agent.


