In short
Let AI build the prototype, but not the foundation of the real app. Login, database, shop, CMS, invoicing and integrations exist as open-source projects that have run in production for years, report and fix security issues in public and can be extended through plugins. A fully vibe-coded app has to reinvent all of that, and nobody but you checks it. Before you pick a project, check its licence, its maintenance and how it is extended; then limit the code AI writes for you to what sets your business apart.
With vibe coding, you describe to an AI such as Lovable, Bolt, v0 or Cursor what the app should do, and it writes the code. In a few evenings you have a demo you can show. The obvious next question: why not keep prompting until it has become the finished product?
My answer: because almost every business application consists largely of things others have already solved, and solved better than a prompt can in one evening. This article shows where a fully vibe-coded app is weak, which proven open-source projects can take over those parts and how to recognise a good project. If your app already runs and you want to know what is missing before real users arrive, read How to fix a vibe-coded app first.
What vibe coding is good for
I consider vibe coding one of the best tools there is for the early phase. A clickable prototype settles in days what used to take weeks of concept papers: which screens exist, which fields a form needs, whether test customers understand the flow. For a demo to investors, a test of the idea with ten users or an internal tool only you use, that is often enough.
It gets difficult when the same code is meant to become the base for paying customers. Then things count that nobody sees in the demo: who may see which data, how the app behaves under load, how it talks to the payment provider, the accounting system or a company login, and who can still change it in two years.
Where a fully vibe-coded app is weak
Security
AI models write code that runs, but they often take the insecure route. Which gaps an audit finds in apps from Lovable, Cursor or Bolt is covered in detail in Is AI-generated code secure?. One risk hits self-built core functions in particular: models invent packages. In a study of 576,000 code samples from 16 models, commercial models recommended packages that do not exist in at least 5.2% of cases, open-source models in at least 21.7% (Spracklen et al., USENIX Security 2025). If an attacker registers such a name, the app installs their code.
A self-written login, permission check or password reset is exactly the kind of code where one mistake exposes all data at once. A project like Keycloak, by contrast, has its own page for security advisories, a fixed process for fixes and many installations in which bugs surface.
Performance
A demo has one user and a few dozen records. Missing database indexes, one query per list item instead of one for the whole list, or images at full resolution go unnoticed there. With ten thousand records, milliseconds become seconds. AI optimises for what you see in the chat, and you don't see load there.
A shop system or CMS that has run in large installations for years has already been through these problems: caching, pagination and indexes are built in because earlier users needed them. You still have to check, but you don't start from zero.
Integrations and adapters
Hardly any business application stands alone. It has to take payments, write invoices, sign customers in with their company login (SSO) or pass data to accounting. In Germany, e-invoicing comes on top: since 1 January 2025 every business must be able to receive e-invoices, and the transition periods for sending them end at the end of 2026, or at the end of 2027 for businesses with up to €800,000 prior-year turnover (German Federal Ministry of Finance, e-invoice FAQ, as of November 2026).
Each of these integrations has edge cases: cancelled payments, duplicate webhooks, credit notes, format variants. An AI writes you the happy path in minutes. The edge cases only show up in production. Proven projects ship such adapters or have a plugin route for them: Medusa and Shopware for payment providers, Keycloak for SSO via SAML, OpenID Connect or LDAP, the Mustang Project for ZUGFeRD and XRechnung.
Maintenance
Code that an AI wrote in many small prompts grows fast and is rarely cleaned up. In GitClear's data, the share of moved lines, a sign of refactoring, fell from 21% in 2022 to 3.8% in 2026, while duplicated code blocks rose by 81% compared with 2023 (GitClear, The Maintainability Gap, 2026). GitClear measures a trend across all projects and sells analysis tools itself.
On top of that, AI assistance feels faster than it is. In a controlled study by METR, 16 experienced open-source developers took 19% longer on their tasks with AI tools, yet believed afterwards they had been 20% faster (METR, July 2025). METR itself now calls the results outdated because the tools have improved. The gap between feeling and measurement is the point that remains.
With a fully self-built app, you alone are responsible for every line. With an open-source project, a community maintains the core and you only maintain your extension.
What proven open-source projects bring
A project that has run in many companies for years has three things a fresh prototype cannot have:
- Production experience: bugs that only appear with real users have already been found and fixed there.
- A public security process: a
SECURITY.mdor security page, reported vulnerabilities with a CVE number and notes on which version is affected. - An intended way to extend it: plugins, modules or extensions through which you add your own features without changing the core. That keeps updates possible.
Even the AI tools build on open source: since May 2026 Lovable generates apps with TanStack Start and uses Supabase for database and login. Supabase is licensed under Apache-2.0 and builds on PostgreSQL, which has existed under that name since 1996 (PostgreSQL, history). So the question is not whether your app runs on open source, but how much of it you have rewritten from scratch.
I maintain open-source packages myself: Anolilab, Visulima and Lunora together reach more than 1.4 million weekly downloads on npm.
An example from my own work: in one project I needed three GitLab settings that the open-source Terraform module by DASMETA could not set: deleting pipelines after a retention period, letting a release bot push to a protected branch, and approval rules for merge requests. Instead of writing my own module, I extended the existing one and contributed the change back as a pull request. Since November 2026 it is part of the module, and everyone who uses it now shares the maintenance.
A contribution like this takes less effort than many think. With AI, the change is usually written quickly, and even if I spend ten minutes explaining it by hand in the pull request, that is still faster than building and maintaining my own module. And everyone else who uses the project benefits too.
Open source is not automatically secure
Open source doesn't take maintenance off your hands, it only distributes it differently. Black Duck's report on more than 900 audited codebases shows how often companies forget to update:
- contain open source
- 98%
- of 947 audited codebases
- with outdated components
- 92%
- four or more years behind the current version
- with licence conflicts
- 68%
- 56% the year before
Black Duck sells dependency analysis tools itself (Black Duck, February 2026). That proven projects get attacked too was shown in 2024 by the backdoor in xz-utils, a compression tool in many Linux systems (CVE-2024-3094). It was found and reported before it reached the stable releases of the major Linux distributions. An open process doesn't guarantee security, but it makes sure many people look.
The difference to the vibe-coded app: with a maintained project, installing updates is enough. With self-written code, nobody sends you an update.
Which project for which part of your app
The table shows proven projects for parts almost every business application needs. It is not a complete list but a starting point; I checked year and licence in the repositories and documentation in November 2026.
| Part of the app | Project | Public since | Licence | Extend via |
|---|---|---|---|---|
| Database | PostgreSQL | 1996 | PostgreSQL License | Extensions |
| Backend with database | Supabase | 2020 | Apache-2.0 | Postgres extensions |
| Login, SSO, roles | Keycloak | 2013 | Apache-2.0 | SPIs |
| Login inside the app | Better Auth | 2024 | MIT | Plugins |
| Shop | Shopware 6 | 2019 | MIT | Plugins |
| Composable shop | Medusa | 2020 | MIT (enterprise parts separate) | Plugins |
| CMS | Payload | 2021 | MIT | Plugins |
| CMS | Strapi | 2015 | MIT (enterprise parts separate) | Plugins |
| ERP, inventory | Odoo Community | 2014 | LGPL-3.0 | Modules |
| Customer support, chat | Chatwoot | 2020 | MIT (enterprise parts separate) | Agent bots and API |
| E-invoicing | Mustang Project | 2015 | Apache-2.0 | Java library, integrated via API |
| Automation | n8n | 2019 | Sustainable Use License | Custom nodes |
"Public since" is the year of the first release or, where that is not documented, the year the repository was created. n8n is not under an open-source licence in the strict sense but under its own "fair-code" licence; more on that in the next section and in the article Self-hosting n8n.
Open source is not all the same: check the licence
"The code is on GitHub" does not yet mean you may use it freely for your product. Roughly, there are four groups:
| Licence type | Examples | What it means for your product |
|---|---|---|
| Permissive | MIT, Apache-2.0, PostgreSQL | Using, changing and building into closed products is allowed. Ship the licence notice. |
| Copyleft | GPL, AGPL, LGPL | You may have to publish changes to the project, with AGPL even when you only offer the software over the network. |
| Open core | Strapi, Medusa, Chatwoot | The core is MIT, individual folders (often ee/ or enterprise/) are under a commercial licence. |
| Source-available with limits | n8n, Directus | The code is visible, but certain uses are forbidden, such as a competing offering. Not an open-source licence by the OSI definition. |
Licences can change. Directus is now under the "Monospace Sustainable Core License", which rules out competing use. Cal.com, long a well-known open-source example for scheduling, moved to closed source in April 2026; the free variant Cal.diy remains MIT-licensed but lacks features such as teams and SSO, and according to its README it is not recommended for production use.
That is why I check licences as part of every quote, before a project goes into the stack. This section is a technical overview, not legal advice; for copyleft licences in a commercial product, ask a lawyer if in doubt.
How to recognise a good open-source project
Before you make a project the base of your app, check these points. For most of them, the project's GitHub page is all you need.
Read the licence
Is there a
LICENSEfile with MIT, Apache-2.0 or another OSI licence? Are there folders likeee/with their own licence? Does that fit your business model?Look at the releases
When was the last release? Regular releases over several years are a better sign than many stars.Find the security process
Is there a
SECURITY.mdor a security page and published advisories? A project that has never reported a vulnerability is rarely bug-free, usually just little-audited.Check the Scorecard
OpenSSF Scorecard rates public projects automatically in 18 checks, such as whether they are maintained, have a security policy, do code reviews and pin dependencies.
Who is behind it?
Several active maintainers, a foundation or a company with a business model are more stable than a single person. Keycloak, for example, is a CNCF incubating project.
Check the extension route
Is there a documented plugin or module system? Only then can you add your own features and still install updates, instead of rewriting the core.
Plan a way out
Can you export your data and host the project yourself? Then you keep an option if the licence or the vendor changes.
Where AI still helps
Nothing speaks against AI in programming. What matters is what it writes. On a proven base, the AI generates a plugin, a data model or an interface for your particular workflow. That is manageable code with clear boundaries that a human can review and test. Login, payment handling and invoice formats are handled by the project.
This is the route I recommend:
- Build the prototype with vibe coding and test it with real users.
- For each part of the prototype, ask: is there a proven project for this? The table above is a start.
- Build the real app on those projects. The prototype serves as the most precise description of what is needed.
- Build yourself (with AI and code review) only what sets your business apart.
Frequently asked questions
Is open-source software free?
The licence usually costs nothing; running it does: servers, updates, backups and someone who takes care of it. Many projects also offer a paid cloud version or enterprise features. The savings are mainly in development, because you don't have core functions rebuilt.
Can I combine my Lovable prototype with open-source projects?
Yes. Lovable apps already use Supabase and TanStack Start. You can, for example, run login through Keycloak, load content from Payload or hand the shop part over to Medusa. How well that works depends on how cleanly the prototype is built; whether fixing or rebuilding is better is covered in How to fix a vibe-coded app.
Is an app on an open-source base harder to customise?
At first, yes, because you have to follow the project's structure. But that structure is exactly what makes updates and security fixes possible later. If you rewrite a project's core instead of extending it through plugins, you lose that advantage.
If you already have a vibe-coded app
If you have taken your prototype far and wonder which parts you should replace, an outside view helps. In the vibe code audit, I read your code and your database, check security, code quality and performance, and write you a report with prioritised fixes. Where a proven project handles a part more reliably than your own code, the report says so as a recommendation.
[ Anolilab — Blog ]
More hands-on writing on AI, web development and infrastructure.
