|
| 1 | +<div align="center"> |
| 2 | + <a href="https://sqlite.ai"> |
| 3 | + <img src="https://www.sqlite.ai/social/logo-ai.png" alt="SQLite AI" height="56"> |
| 4 | + </a> |
| 5 | + |
| 6 | + <h1>SQLite-JS</h1> |
| 7 | + <p><strong>Write SQLite functions in JavaScript.</strong><br> |
| 8 | + Scalars, aggregates, window functions, and collations — directly in JS, with full QuickJS sandboxing. No more C extensions for custom logic.</p> |
| 9 | + |
| 10 | + <p> |
| 11 | + <a href="https://dashboard.sqlitecloud.io/auth/sign-in"><strong>Free managed instance →</strong></a> · |
| 12 | + <a href="https://docs.sqlitecloud.io/docs/ai-overview">Docs</a> · |
| 13 | + <a href="https://sqlite.ai">Website</a> · |
| 14 | + <a href="https://blog.sqlite.ai">Blog</a> |
| 15 | + </p> |
| 16 | + |
| 17 | + <p> |
| 18 | + <sub><strong>Data:</strong> |
| 19 | + <a href="https://github.com/sqliteai/sqlite-vector">Vector</a> · |
| 20 | + <a href="https://github.com/sqliteai/sqlite-sync">Sync</a> · |
| 21 | + <a href="https://github.com/sqliteai/sqlite-columnar">Columnar</a> · |
| 22 | + <a href="https://github.com/sqliteai/sqlite-js">JS</a> |
| 23 | + <br> |
| 24 | + <strong>AI:</strong> |
| 25 | + <a href="https://github.com/sqliteai/sqlite-ai">AI</a> · |
| 26 | + <a href="https://github.com/sqliteai/sqlite-agent">Agent</a> · |
| 27 | + <a href="https://github.com/sqliteai/sqlite-memory">Memory</a> · |
| 28 | + <a href="https://github.com/sqliteai/sqlite-mcp">MCP</a> |
| 29 | + </sub> |
| 30 | + </p> |
| 31 | +</div> |
| 32 | + |
| 33 | +<br> |
| 34 | + |
| 35 | +> **Want to run your JS functions in the cloud too?** SQLite-JS runs locally as an extension; pair it with **[SQLite Cloud Edge Functions](https://dashboard.sqlitecloud.io/auth/sign-in)** to deploy the same JS server-side. Free tier available. |
| 36 | +
|
| 37 | +--- |
| 38 | + |
1 | 39 | # SQLite JS |
2 | 40 |
|
3 | 41 | **SQLite JS** is a powerful extension that brings JavaScript capabilities to SQLite. With this extension, you can create custom SQLite functions, aggregates, window functions, and collation sequences using JavaScript code, allowing for flexible and powerful data manipulation directly within your SQLite database. |
@@ -506,19 +544,31 @@ This project is licensed under the [Elastic License 2.0](./LICENSE.md). You can |
506 | 544 |
|
507 | 545 | --- |
508 | 546 |
|
509 | | -## Part of the SQLite AI Ecosystem |
| 547 | +## ☁️ Hosted version |
| 548 | + |
| 549 | +Don't want to manage runtime infrastructure? **[SQLite Cloud](https://sqlite.ai)** runs your JavaScript functions at the edge, with auth, REST APIs, webhooks, and observability included. |
| 550 | + |
| 551 | +[**Start free →**](https://dashboard.sqlitecloud.io/auth/sign-in) |
| 552 | + |
| 553 | +--- |
| 554 | + |
| 555 | +## Part of the SQLite AI stack |
| 556 | + |
| 557 | +SQLite-JS is one piece of a larger ecosystem that turns SQLite into a runtime for intelligent, distributed data: |
510 | 558 |
|
511 | | -This project is part of the **SQLite AI** ecosystem, a collection of extensions that bring modern AI capabilities to the world’s most widely deployed database. The goal is to make SQLite the default data and inference engine for Edge AI applications. |
| 559 | +**Data layer** |
| 560 | +- [sqlite-vector](https://github.com/sqliteai/sqlite-vector) — ANN vector search inside SQLite |
| 561 | +- [sqlite-sync](https://github.com/sqliteai/sqlite-sync) — Offline-first CRDT sync across devices |
| 562 | +- [sqlite-columnar](https://github.com/sqliteai/sqlite-columnar) — Column-oriented analytics for OLAP queries |
| 563 | +- [**sqlite-js**](https://github.com/sqliteai/sqlite-js) — Custom SQLite functions written in JavaScript *(you are here)* |
512 | 564 |
|
513 | | -Other projects in the ecosystem include: |
| 565 | +**AI layer** |
| 566 | +- [sqlite-ai](https://github.com/sqliteai/sqlite-ai) — On-device LLM inference and embeddings |
| 567 | +- [sqlite-agent](https://github.com/sqliteai/sqlite-agent) — Autonomous AI agents running inside SQLite |
| 568 | +- [sqlite-memory](https://github.com/sqliteai/sqlite-memory) — Persistent, searchable memory for agents |
| 569 | +- [sqlite-mcp](https://github.com/sqliteai/sqlite-mcp) — Call MCP tools directly from SQL queries |
514 | 570 |
|
515 | | -- **[SQLite-AI](https://github.com/sqliteai/sqlite-ai)** — On-device inference and embedding generation directly inside SQLite. |
516 | | -- **[SQLite-Memory](https://github.com/sqliteai/sqlite-memory)** — Markdown-based AI agent memory with semantic search. |
517 | | -- **[SQLite-Vector](https://github.com/sqliteai/sqlite-vector)** — Ultra-efficient vector search for embeddings stored as BLOBs in standard SQLite tables. |
518 | | -- **[SQLite-Sync](https://github.com/sqliteai/sqlite-sync)** — Local-first CRDT-based synchronization for seamless, conflict-free data sync and real-time collaboration across devices. |
519 | | -- **[SQLite-Agent](https://github.com/sqliteai/sqlite-agent)** — Run autonomous AI agents directly from within SQLite databases. |
520 | | -- **[SQLite-MCP](https://github.com/sqliteai/sqlite-mcp)** — Connect SQLite databases to MCP servers and invoke their tools. |
521 | | -- **[SQLite-JS](https://github.com/sqliteai/sqlite-js)** — Create custom SQLite functions using JavaScript. |
522 | | -- **[Liteparser](https://github.com/sqliteai/liteparser)** — A highly efficient and fully compliant SQLite SQL parser. |
| 571 | +**Managed platform** |
| 572 | +- [SQLite Cloud](https://sqlite.ai) — Hosted SQLite with sync, auth, edge functions, and analytics. [Free tier →](https://dashboard.sqlitecloud.io/auth/sign-in) |
523 | 573 |
|
524 | | -Learn more at **[SQLite AI](https://sqlite.ai)**. |
| 574 | +Built by [SQLite AI](https://sqlite.ai). Questions? [Contact us](https://sqlite.ai/support). |
0 commit comments