{"id":13647646,"url":"https://github.com/penberg/limbo","last_synced_at":"2025-07-31T07:32:03.873Z","repository":{"id":238739112,"uuid":"683347556","full_name":"penberg/limbo","owner":"penberg","description":"Limbo is a work-in-progress, in-process OLTP database management system, compatible with SQLite.","archived":false,"fork":false,"pushed_at":"2024-12-03T17:50:59.000Z","size":11952,"stargazers_count":1050,"open_issues_count":67,"forks_count":68,"subscribers_count":16,"default_branch":"main","last_synced_at":"2024-12-03T18:19:32.574Z","etag":null,"topics":["database","embedded-database","sql","sqlite3","webassembly"],"latest_commit_sha":null,"homepage":"","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/penberg.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-08-26T09:21:36.000Z","updated_at":"2024-12-03T17:11:38.000Z","dependencies_parsed_at":"2024-09-18T08:59:18.722Z","dependency_job_id":"a22775dc-4751-4c58-805a-6a2f472696b1","html_url":"https://github.com/penberg/limbo","commit_stats":{"total_commits":788,"total_committers":34,"mean_commits":"23.176470588235293","dds":0.5215736040609137,"last_synced_commit":"0a313c64862274add2972430bcf806cca25f0abd"},"previous_names":["penberg/limbo"],"tags_count":8,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/penberg%2Flimbo","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/penberg%2Flimbo/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/penberg%2Flimbo/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/penberg%2Flimbo/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/penberg","download_url":"https://codeload.github.com/penberg/limbo/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":227972446,"owners_count":17849516,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["database","embedded-database","sql","sqlite3","webassembly"],"created_at":"2024-08-02T01:03:41.230Z","updated_at":"2025-07-31T07:32:03.856Z","avatar_url":"https://github.com/penberg.png","language":"Rust","readme":"\u003cp align=\"center\"\u003e\n  \u003cimg src=\"limbo.png\" alt=\"Limbo\" width=\"800\"/\u003e\n  \u003ch1 align=\"center\"\u003eProject Limbo\u003c/h1\u003e\n\u003c/p\u003e\n\n\u003cp align=\"center\"\u003e\n  \u003ci\u003eLimbo\u003c/i\u003e is a project to build the modern evolution of SQLite.\n\u003c/p\u003e\n\n\u003cp align=\"center\"\u003e\n  \u003ca title=\"Build Status\" target=\"_blank\" href=\"https://github.com/tursodatabase/limbo/actions/workflows/rust.yml\"\u003e\u003cimg src=\"https://img.shields.io/github/actions/workflow/status/tursodatabase/limbo/rust.yml?style=flat-square\"\u003e\u003c/a\u003e\n  \u003ca title=\"Releases\" target=\"_blank\" href=\"https://github.com/tursodatabase/limbo/releases\"\u003e\u003cimg src=\"https://img.shields.io/github/release/tursodatabase/limbo?style=flat-square\u0026color=9CF\"\u003e\u003c/a\u003e\n  \u003ca title=\"MIT\" target=\"_blank\" href=\"https://github.com/tursodatabase/limbo/blob/main/LICENSE.md\"\u003e\u003cimg src=\"http://img.shields.io/badge/license-MIT-orange.svg?style=flat-square\"\u003e\u003c/a\u003e\n  \u003cbr\u003e\n  \u003ca title=\"GitHub Pull Requests\" target=\"_blank\" href=\"https://github.com/tursodatabase/limbo/pulls\"\u003e\u003cimg src=\"https://img.shields.io/github/issues-pr-closed/tursodatabase/limbo.svg?style=flat-square\u0026color=FF9966\"\u003e\u003c/a\u003e\n  \u003ca title=\"GitHub Commits\" target=\"_blank\" href=\"https://github.com/tursodatabase/limbo/commits/main\"\u003e\u003cimg src=\"https://img.shields.io/github/commit-activity/m/tursodatabase/limbo.svg?style=flat-square\"\u003e\u003c/a\u003e\n  \u003ca title=\"Last Commit\" target=\"_blank\" href=\"https://github.com/tursodatabase/limbo/commits/main\"\u003e\u003cimg src=\"https://img.shields.io/github/last-commit/tursodatabase/limbo.svg?style=flat-square\u0026color=FF9900\"\u003e\u003c/a\u003e\n\u003c/p\u003e\n\u003cp align=\"center\"\u003e\n  \u003ca title=\"Developer's Discord\" target=\"_blank\" href=\"[https://discord.gg/jgjmyYgHwB](https://discord.gg/jgjmyYgHwB)\"\u003e\u003cimg alt=\"Chat with developers on Discord\" src=\"https://img.shields.io/discord/1258658826257961020?label=Discord\u0026logo=Discord\u0026style=social\"\u003e\u003c/a\u003e\n\u003c/p\u003e\n\n---\n\n## Features and Roadmap\n\nLimbo is a _work-in-progress_, in-process OLTP database engine library written in Rust that has:\n\n* **Asynchronous I/O** support on Linux with `io_uring`\n* **SQLite compatibility** [[doc](COMPAT.md)] for SQL dialect, file formats, and the C API\n* **Language bindings** for JavaScript/WebAssembly, Rust, Go, Python, and [Java](bindings/java)\n* **OS support** for Linux, macOS, and Windows\n\nIn the future, we will be also working on:\n\n* **Integrated vector search** for embeddings and vector similarity.\n* **`BEGIN CONCURRENT`** for improved write throughput.\n* **Improved schema management** including better `ALTER` support and strict column types by default.\n\n## Getting Started\n\n\u003cdetails\u003e\n\u003csummary\u003e💻 Command Line\u003c/summary\u003e\n\u003cbr\u003e\nYou can install the latest `limbo` release with:\n\n```shell \ncurl --proto '=https' --tlsv1.2 -LsSf \\\n  https://github.com/tursodatabase/limbo/releases/latest/download/limbo-installer.sh | sh\n```\n\nThen launch the shell to execute SQL statements:\n\n```console\nLimbo\nEnter \".help\" for usage hints.\nConnected to a transient in-memory database.\nUse \".open FILENAME\" to reopen on a persistent database\nlimbo\u003e CREATE TABLE users (id INT PRIMARY KEY, username TEXT);\nlimbo\u003e INSERT INTO users VALUES (1, 'alice');\nlimbo\u003e INSERT INTO users VALUES (2, 'bob');\nlimbo\u003e SELECT * FROM users;\n1|alice\n2|bob\n```\n\nYou can also build and run the latest development version with:\n\n```shell\ncargo run\n```\n\u003c/details\u003e\n\n\u003cdetails\u003e\n\u003csummary\u003e✨ JavaScript\u003c/summary\u003e\n\u003cbr\u003e\n\n```console\nnpm i limbo-wasm\n```\n\nExample usage:\n\n```js\nimport { Database } from 'limbo-wasm';\n\nconst db = new Database('sqlite.db');\nconst stmt = db.prepare('SELECT * FROM users');\nconst users = stmt.all();\nconsole.log(users);\n```\n\u003c/details\u003e\n\n\u003cdetails\u003e\n\u003csummary\u003e🐍 Python\u003c/summary\u003e\n\u003cbr\u003e\n\n```console\npip install pylimbo\n```\n\nExample usage:\n\n```python\nimport limbo\n\ncon = limbo.connect(\"sqlite.db\")\ncur = con.cursor()\nres = cur.execute(\"SELECT * FROM users\")\nprint(res.fetchone())\n```\n\u003c/details\u003e\n\n\u003cdetails\u003e\n\u003csummary\u003e🐹 Go\u003c/summary\u003e\n\u003cbr\u003e\n\n1. Clone the repository\n2. Build the library and set your LD_LIBRARY_PATH to include limbo's target directory\n```console\ncargo build --package limbo-go\nexport LD_LIBRARY_PATH=/path/to/limbo/target/debug:$LD_LIBRARY_PATH\n```\n3. Use the driver\n\n```console\ngo get github.com/tursodatabase/limbo\ngo install github.com/tursodatabase/limbo\n```\n\nExample usage:\n```go\nimport (\n    \"database/sql\"\n    _\"github.com/tursodatabase/limbo\"\n)\n\nconn, _ = sql.Open(\"sqlite3\", \"sqlite.db\")\ndefer conn.Close()\n\nstmt, _ := conn.Prepare(\"select * from users\")\ndefer stmt.Close()\n\nrows, _ = stmt.Query()\nfor rows.Next() {\n    var id int \n    var username string\n    _ := rows.Scan(\u0026id, \u0026username)\n    fmt.Printf(\"User: ID: %d, Username: %s\\n\", id, username)\n}\n```\n\u003c/details\u003e\n\n\u003cdetails\u003e\n  \n\u003csummary\u003e☕️ Java\u003c/summary\u003e\n\u003cbr\u003e\n\nWe integrated Limbo into JDBC. For detailed instructions on how to use Limbo with java, please refer to\nthe [README.md under bindings/java](bindings/java/README.md).\n\u003c/details\u003e\n\n## Contributing\n\nWe'd love to have you contribute to Limbo! Please check out the [contribution guide] to get started.\n\n## FAQ\n\n### How is Limbo different from Turso's libSQL?\n\nLimbo is a project to build the modern evolution of SQLite in Rust, with a strong open contribution focus and features like native async support, vector search, and more. The libSQL project is also an attempt to evolve SQLite in a similar direction, but through a fork rather than a rewrite.\n\nRewriting SQLite in Rust started as an unassuming experiment, and due to its incredible success, replaces libSQL as our intended direction. At this point, libSQL is production ready, Limbo is not - although it is evolving rapidly. As the project start to near production readiness, we plan to rename it to just \"Turso\". More details [here](https://turso.tech/blog/we-will-rewrite-sqlite-and-we-are-going-all-in).\n\n## Publications\n\n* Pekka Enberg, Sasu Tarkoma, Jon Crowcroft Ashwin Rao (2024). Serverless Runtime / Database Co-Design With Asynchronous I/O. In _EdgeSys ‘24_. [[PDF]](https://penberg.org/papers/penberg-edgesys24.pdf)\n* Pekka Enberg, Sasu Tarkoma, and Ashwin Rao (2023). Towards Database and Serverless Runtime Co-Design. In _CoNEXT-SW ’23_. [[PDF](https://penberg.org/papers/penberg-conext-sw-23.pdf)] [[Slides](https://penberg.org/papers/penberg-conext-sw-23-slides.pdf)]\n\n## License\n\nThis project is licensed under the [MIT license].\n\n### Contribution\n\nUnless you explicitly state otherwise, any contribution intentionally submitted\nfor inclusion in Limbo by you, shall be licensed as MIT, without any additional\nterms or conditions.\n\n[contribution guide]: https://github.com/tursodatabase/limbo/blob/main/CONTRIBUTING.md\n[MIT license]: https://github.com/tursodatabase/limbo/blob/main/LICENSE.md\n","funding_links":[],"categories":["Rust","webassembly"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpenberg%2Flimbo","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpenberg%2Flimbo","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpenberg%2Flimbo/lists"}