The best of both worlds: SQL syntax with MongoDB power
@@ -823,7 +451,7 @@ const pgServer = new PostgresServer(mongoClient, 'mydb', {
Get Started Free
-
+
Request a Demo
diff --git a/docs/overrides/home.html b/docs/overrides/home.html
index 1ab76e9..1b61444 100644
--- a/docs/overrides/home.html
+++ b/docs/overrides/home.html
@@ -32,7 +32,7 @@
SQL for MongoDB that just works
Get Started
-
+
Request a Demo
diff --git a/docs/support/license-faq.md b/docs/support/license-faq.md
index 012ac9b..e20c3e3 100644
--- a/docs/support/license-faq.md
+++ b/docs/support/license-faq.md
@@ -1,81 +1,54 @@
# License FAQ
-## Managing existing licenses
+## What license does QueryLeaf use?
-Go to the [QueryLeaf Billing Dashboard](https://billing.stripe.com/p/login/bIYdRKdtcfklgdqaEE) to manage existing subscriptions
+QueryLeaf is licensed under the [Apache License 2.0](https://github.com/beekeeper-studio/queryleaf/blob/main/LICENSE.md), a permissive open source license maintained by the Apache Software Foundation.
-## General Questions
+## Can I use QueryLeaf in a commercial product?
-### What license does QueryLeaf use?
-QueryLeaf uses a dual licensing model:
-- GNU Affero General Public License v3 (AGPL-3.0) for the Community Edition
-- Commercial License for businesses using QueryLeaf in proprietary applications
+Yes. The Apache 2.0 license allows you to use, modify, and distribute QueryLeaf in any application — commercial, SaaS, internal tools, OEM, whatever you need. No licensing fees, no usage restrictions.
-### What is the difference between the AGPL and Commercial Licenses?
-The AGPL is a strong copyleft license that requires any modifications to be shared under the same license and requires source code disclosure if you run a modified version as a service. The Commercial License removes these requirements, allowing you to use QueryLeaf in proprietary applications without disclosing your source code.
+## Can I use QueryLeaf in a closed-source application?
-### Which license should I choose?
-- Choose the **AGPL license** if you are working on open source projects, personal projects, or for evaluation.
-- Choose the **Commercial License** if you are using QueryLeaf in a proprietary application, especially if you're offering it as a service or if you need commercial support.
+Yes. Unlike copyleft licenses, Apache 2.0 does not require you to open-source your own code. You just need to include the license and copyright notice.
-## AGPL Questions
+## What are the requirements of the Apache 2.0 license?
-### Can I use the AGPL version in a commercial project?
-Yes, but with important caveats. If your application is offered as a service (including web applications), the AGPL requires you to make the source code of your application available to users, including any modifications you've made to QueryLeaf.
+The main requirements are:
-### Does the AGPL affect my entire application?
-Yes, the AGPL's copyleft provisions generally extend to the entire application that incorporates the AGPL-licensed code, not just the QueryLeaf parts.
+- **Include the license**: Distribute a copy of the Apache 2.0 license with your software
+- **State changes**: If you modify QueryLeaf's source code, note that you made changes
+- **Preserve notices**: Keep copyright, patent, trademark, and attribution notices intact
-### What if I'm only using QueryLeaf internally?
-Even internal usage may trigger AGPL requirements if users (including employees) interact with the application over a network. For purely internal tools where source code is never shared outside your organization, AGPL may be suitable, but consult with your legal team.
+That's it. No source code disclosure, no copyleft, no network-use provisions.
-## Commercial License Questions
+## Are there any restrictions?
-### What does the Commercial License cover?
-The Commercial License covers all QueryLeaf components:
-- Core library
-- Command-line interface (CLI)
-- Web Server
-- PostgreSQL Server
+The Apache 2.0 license prohibits:
-### Are there any usage limitations with the Commercial License?
-The Commercial License prohibits:
-- Using QueryLeaf to create a competing product
-- Redistributing QueryLeaf as a standalone product
-- Removing copyright notices
+- Using the QueryLeaf name, trademarks, or logos to endorse your product (without permission)
+- Holding contributors liable for damages
-### Do I need a license for each developer or for each deployment?
-Pricing is tiered based on the number of developers at your organization, and the number of MongoDB servers you will be using QueryLeaf with. See the pricing section on the [homepage](/) for more information.
+## Does this license cover all QueryLeaf packages?
-### Do I need to purchase a separate license for the PostgreSQL Server?
-No, all server components (Web Server and PostgreSQL Server) are included in the same Commercial License. There's no need to purchase separate licenses for different components.
+Yes. All packages — the core library, CLI, Web Server, and PostgreSQL Server — are covered under the same Apache 2.0 license.
-## Server-specific Questions
+## Can I modify QueryLeaf and keep my changes private?
-### Does the AGPL apply to the PostgreSQL Server and Web Server components?
-Yes, if you're using the AGPL version, the license requirements apply to both server components. If you run either server as a service, you must make the source code (including modifications) available to users of that service.
+Yes. You can modify QueryLeaf for your own use without sharing your changes. If you distribute your modified version, you need to note that changes were made, but you don't have to open-source them.
-### Are there any technical limitations in the Community Edition of the servers?
-No, the Community Edition includes the full functionality of both server components. The difference is purely in the licensing terms, not in technical capabilities.
+## What about patents?
-### Can I embed the PostgreSQL Server in my application?
-- With the **AGPL license**: Yes, but you must make your application's source code available to users.
-- With the **Commercial license**: Yes, with no requirement to disclose your source code.
+The Apache 2.0 license includes an explicit patent grant from contributors. If you use the software as licensed, contributors cannot pursue patent claims against you for that use.
-## Support Questions
+## How do I get support?
-### Does the Commercial License include support?
-Yes, all commercial licenses include email support. Higher-tier licenses include priority support, quarterly reviews, and dedicated account managers.
+- **Community support**: Free via [GitHub Issues](https://github.com/beekeeper-studio/queryleaf/issues)
-### Is there any support for the Community Edition?
-Community support is available through GitHub issues. Commercial support is only available with a paid license.
+## Do you offer a commercial license?
-### How do I upgrade my license?
-To upgrade from Developer to Business or from Business to Enterprise, contact [sales@queryleaf.com](mailto:sales@queryleaf.com) with your current license information.
+Yes. If your organization requires a commercial license agreement beyond Apache 2.0 (for example, for compliance or procurement reasons), contact us at [sales@beekeeperstudio.io](mailto:sales@beekeeperstudio.io) and we'll work something out.
## Still Have Questions?
-If you have additional questions about licensing or need help determining which license is right for you, please contact us:
-
-- Email: [sales@queryleaf.com](mailto:sales@queryleaf.com)
-- Subject: "License Question"
\ No newline at end of file
+Contact us at [support@beekeeperstudio.io](mailto:support@beekeeperstudio.io).
diff --git a/docs/support/pricing.md b/docs/support/pricing.md
deleted file mode 100644
index 9626093..0000000
--- a/docs/support/pricing.md
+++ /dev/null
@@ -1,65 +0,0 @@
-# Pricing & Licensing
-
-QueryLeaf uses a dual-licensing model designed to balance open source availability with sustainable commercial development.
-
-## Licensing Options
-
-QueryLeaf is available under two licensing options:
-
-1. **AGPL v3 License (Community Edition)** - Free for open source projects, personal use, and evaluation
-2. **Commercial License** - For commercial use in proprietary applications
-
-## Community Edition
-
-The Community Edition of QueryLeaf is free for personal use, trials under a commercial license, or free forever under AGPL.
-
-The Community Edition is licensed under the [GNU Affero General Public License v3 (AGPL-3.0)](https://www.gnu.org/licenses/agpl-3.0.html). This license:
-
-- Allows free use, modification, and distribution of the software
-- Requires that any modifications to the software be shared under the same license
-- Requires source code disclosure if you run a modified version of the software as a service over a network
-- Has strong copyleft provisions that may affect proprietary applications
-
-The AGPL license is perfect for:
-- Open source projects
-- Personal projects
-- Educational purposes
-- Evaluation before purchase
-
-## Commercial License
-
-Our Commercial License is designed for businesses and organizations that require more flexibility in how they use and distribute QueryLeaf. This license:
-
-- Removes the AGPL requirements for source code disclosure
-- Allows integration into proprietary software without license contamination
-- Provides commercial support options
-- Includes all components: Library, CLI, Web Server, and PostgreSQL Server
-
-## Pricing Plans
-
-See the [Pricing section of the homepage](/#pricing) for pricing
-
-## Server Components and Licensing
-
-Both the Web Server and PostgreSQL Server components are covered under the same dual-licensing model. This means:
-
-1. **Under AGPL**: If you run either server as a service, you must make the source code (including any modifications) available to users of that service.
-2. **Under Commercial License**: You can run and distribute the server components as part of your proprietary applications without AGPL obligations.
-
-The PostgreSQL Server component is particularly valuable for commercial users as it allows seamless integration with existing PostgreSQL clients and tools, making it ideal for enterprise deployments.
-
-## How to Purchase
-
-For more information or to purchase a commercial license:
-
-- **Developer License**: [Email sales@queryleaf.com](mailto:sales@queryleaf.com?subject=QueryLeaf Developer License)
-- **Business License**: [Email sales@queryleaf.com](mailto:sales@queryleaf.com?subject=QueryLeaf Business License)
-- **Enterprise License**: [Email enterprise@queryleaf.com](mailto:enterprise@queryleaf.com?subject=QueryLeaf Enterprise License)
-
-## Need Help?
-
-For questions about licensing or to discuss your specific needs, please [contact our sales team](mailto:sales@queryleaf.com).
-
----
-
-© 2023-2025 Beekeeper Studio, Inc. All rights reserved.
\ No newline at end of file
diff --git a/mkdocs.yml b/mkdocs.yml
index 0dc9ab0..24e2fd2 100644
--- a/mkdocs.yml
+++ b/mkdocs.yml
@@ -56,7 +56,6 @@ nav:
- sql-syntax/group-by.md
- Blog: blog/index.md
- Support:
- - Pricing & Licensing: support/pricing.md
- License FAQ: support/license-faq.md
markdown_extensions:
diff --git a/package.json b/package.json
index db7a3e1..cf73986 100644
--- a/package.json
+++ b/package.json
@@ -44,7 +44,7 @@
"server"
],
"author": "",
- "license": "AGPL-3.0",
+ "license": "Apache-2.0",
"repository": {
"type": "git",
"url": "git+https://github.com/beekeeper-studio/queryleaf.git"
diff --git a/packages/cli/README.md b/packages/cli/README.md
index 92c05a5..c4c5721 100644
--- a/packages/cli/README.md
+++ b/packages/cli/README.md
@@ -78,9 +78,6 @@ You can configure the CLI using command-line arguments or environment variables:
## License
-QueryLeaf is dual-licensed:
-
-- [AGPL-3.0](https://github.com/beekeeper-studio/queryleaf/blob/main/LICENSE.md) for open source use
-- [Commercial license](https://github.com/beekeeper-studio/queryleaf/blob/main/COMMERCIAL_LICENSE.md) for commercial use
+QueryLeaf is licensed under the [Apache License 2.0](https://github.com/beekeeper-studio/queryleaf/blob/main/LICENSE.md). You are free to use, modify, and distribute it for any purpose.
For commercial licensing options, visit [queryleaf.com](https://queryleaf.com).
\ No newline at end of file
diff --git a/packages/cli/package.json b/packages/cli/package.json
index 46ac948..fb5bc4c 100644
--- a/packages/cli/package.json
+++ b/packages/cli/package.json
@@ -26,7 +26,7 @@
"cli"
],
"author": "",
- "license": "AGPL-3.0",
+ "license": "Apache-2.0",
"dependencies": {
"@queryleaf/lib": "0.1.0",
"chalk": "^4.1.2",
diff --git a/packages/lib/README.md b/packages/lib/README.md
index ff6126c..e613fef 100644
--- a/packages/lib/README.md
+++ b/packages/lib/README.md
@@ -146,9 +146,6 @@ Features:
## License
-QueryLeaf is dual-licensed:
-
-- [AGPL-3.0](https://github.com/beekeeper-studio/queryleaf/blob/main/LICENSE.md) for open source use
-- [Commercial license](https://github.com/beekeeper-studio/queryleaf/blob/main/COMMERCIAL_LICENSE.md) for commercial use
+QueryLeaf is licensed under the [Apache License 2.0](https://github.com/beekeeper-studio/queryleaf/blob/main/LICENSE.md). You are free to use, modify, and distribute it for any purpose.
For commercial licensing options, visit [queryleaf.com](https://queryleaf.com).
\ No newline at end of file
diff --git a/packages/lib/package.json b/packages/lib/package.json
index e9c161a..b771a6e 100644
--- a/packages/lib/package.json
+++ b/packages/lib/package.json
@@ -24,7 +24,7 @@
"query"
],
"author": "",
- "license": "AGPL-3.0",
+ "license": "Apache-2.0",
"dependencies": {
"debug": "^4.4.0",
"node-sql-parser": "^4.11.0"
diff --git a/packages/postgres-server/README.md b/packages/postgres-server/README.md
index 4f85fdb..46afe40 100644
--- a/packages/postgres-server/README.md
+++ b/packages/postgres-server/README.md
@@ -109,9 +109,6 @@ You can configure the server using command-line arguments or environment variabl
## License
-QueryLeaf is dual-licensed:
-
-- [AGPL-3.0](https://github.com/beekeeper-studio/queryleaf/blob/main/LICENSE.md) for open source use
-- [Commercial license](https://github.com/beekeeper-studio/queryleaf/blob/main/COMMERCIAL_LICENSE.md) for commercial use
+QueryLeaf is licensed under the [Apache License 2.0](https://github.com/beekeeper-studio/queryleaf/blob/main/LICENSE.md). You are free to use, modify, and distribute it for any purpose.
For commercial licensing options, visit [queryleaf.com](https://queryleaf.com).
\ No newline at end of file
diff --git a/packages/postgres-server/package.json b/packages/postgres-server/package.json
index e4fc827..ee329f5 100644
--- a/packages/postgres-server/package.json
+++ b/packages/postgres-server/package.json
@@ -28,7 +28,7 @@
"server"
],
"author": "",
- "license": "AGPL-3.0",
+ "license": "Apache-2.0",
"dependencies": {
"@queryleaf/lib": "0.1.0",
"debug": "^4.4.0",
diff --git a/packages/server/README.md b/packages/server/README.md
index 503c239..b6204ba 100644
--- a/packages/server/README.md
+++ b/packages/server/README.md
@@ -116,9 +116,6 @@ The server includes security features:
## License
-QueryLeaf is dual-licensed:
-
-- [AGPL-3.0](https://github.com/beekeeper-studio/queryleaf/blob/main/LICENSE.md) for open source use
-- [Commercial license](https://github.com/beekeeper-studio/queryleaf/blob/main/COMMERCIAL_LICENSE.md) for commercial use
+QueryLeaf is licensed under the [Apache License 2.0](https://github.com/beekeeper-studio/queryleaf/blob/main/LICENSE.md). You are free to use, modify, and distribute it for any purpose.
For commercial licensing options, visit [queryleaf.com](https://queryleaf.com).
\ No newline at end of file
diff --git a/packages/server/package.json b/packages/server/package.json
index ba7b64d..0d22f59 100644
--- a/packages/server/package.json
+++ b/packages/server/package.json
@@ -27,7 +27,7 @@
"api"
],
"author": "",
- "license": "AGPL-3.0",
+ "license": "Apache-2.0",
"dependencies": {
"@queryleaf/lib": "0.1.0",
"body-parser": "^1.20.2",