Skip to content

Commit 7265437

Browse files
committed
Add License
1 parent ca5158f commit 7265437

File tree

4 files changed

+44
-5
lines changed

4 files changed

+44
-5
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,5 @@ node_modules/
22
sqlite-wasm/*
33
!sqlite-wasm/package.json
44
!sqlite-wasm/README.md
5+
!sqlite-wasm/LICENSE.md
56
!sqlite-wasm/test

LICENSE.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
sqlite-wasm/LICENSE.md

sqlite-wasm/LICENSE.md

Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
Elastic License 2.0 (modified for open-source use)
2+
3+
Copyright © 2025 SQLite Cloud, Inc.
4+
5+
This software is licensed under the Elastic License 2.0, with the additional grant described below.
6+
7+
You may not use this file except in compliance with the Elastic License 2.0 and the conditions outlined here.
8+
9+
You may obtain a copy of the Elastic License 2.0 at:
10+
11+
```
12+
https://www.elastic.co/licensing/elastic-license
13+
```
14+
15+
Software distributed under the Elastic License is distributed on an "AS IS" BASIS,
16+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
17+
18+
See the Elastic License 2.0 for the specific language governing permissions and limitations under the license.
19+
20+
---
21+
22+
## Additional Grant for Open-Source Projects
23+
24+
In addition to the permissions granted under the Elastic License 2.0:
25+
26+
* **Free Use in Open-Source Projects**:
27+
You may use, copy, distribute, and prepare derivative works of the software — in source or object form, with or without modification — freely and without fee, provided the software is incorporated into or used by an **open-source project** licensed under an OSI-approved open-source license.
28+
29+
---
30+
31+
## Conditions
32+
33+
1. For **open-source projects**, the software may be used, copied, modified, and distributed without restriction or fee.
34+
35+
2. For **non–open-source or commercial production use**, you may use, copy, distribute, and prepare derivative works of the software only with a commercial license from SQLite Cloud, Inc.
36+
37+
3. You may not provide the software to third parties as a managed service, such as a hosted or cloud-based service, unless you have a license for that use.
38+
39+
4. The software may not be used to circumvent the license grant limitations.
40+
41+
5. Any permitted use is subject to compliance with the Elastic License 2.0, this additional grant, and applicable law.

sqlite-wasm/README.md

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -195,8 +195,4 @@ initializeSQLite();
195195

196196
## License
197197

198-
**Apache 2.0**
199-
200-
## Acknowledgements
201-
202-
This project is based on [SQLite WASM](https://sqlite.org/wasm), which is conveniently wrapped as an ES Module and published to npm as [`@sqliteai/sqlite-wasm`](https://www.npmjs.com/package/@sqliteai/sqlite-wasm).
198+
This project is licensed under the [Elastic License 2.0](./LICENSE.md). You can use, copy, modify, and distribute it under the terms of the license for non-production use. For production or managed service use, please [contact SQLite Cloud, Inc](mailto:[email protected]) for a commercial license.

0 commit comments

Comments
 (0)