kkharji/sqlite.lua
kkharji/sqlite.lua has 572 GitHub stars and 32 forks. GitHot measured 0 stars in 24 hours and 0 in 7 days. Last checked 2026-11-09 04:13 UTC. Last push 2025-03-14.
SQLite LuaJIT binding with a very simple api.
What you can do
- Connect, reconnect, close sql db connections sqlite:open/sql:close
- Evaluate any sqlite statement and return result if any sqlite:eval
- Helper function over sqlite:eval to do all sort of operation.
- High level API with sqlite.tbl for better experience.
Measured star growth
- in 24h
- 0
- in 7 days
- 0
- in 15 days
- Update delayed
- in 1 month
- Update delayed
Net star changes over overlapping periods, not daily totals. Missing measurements are left blank. Stars measure attention, not software quality.
README.md
Originalsqlite.lua 💫
SQLite/LuaJIT binding and a highly opinionated wrapper for storing, retrieving, caching, and persisting SQLite databases. sqlite.lua present new possibilities for plugin development and while it's primarily created for neovim, it support all luajit environments.
✨ Features:
- Connect, reconnect, close sql db connections
sqlite:open/sql:close - Evaluate any sqlite statement and return result if any
sqlite:eval - Helper function over
sqlite:evalto do all sort of operation. - High level API with
sqlite.tblfor better experience. - lua tables deserialization/serialization (in helper functions and high level api)
- 90% test coverage.
- Up-to-date docs and changelog
🚧 Installation
Packer.nvim (Neovim)
use { "kkharji/sqlite.lua" }
luarocks (LuaJIT)
luarocks install sqlite luv
Ensure you have sqlite3 installed locally. (if you are on mac it might be installed already)
Windows
Download precompiled and set let g:sqlite_clib_path = path/to/sqlite3.dll (note: /)
Linux
sudo pacman -S sqlite # Arch
sudo apt-get install sqlite3 libsqlite3-dev # Ubuntu
sudo dnf install sqlite sqlite-devel # Fedora
Nix (home-manager)
programs.neovim.plugins = [
{
plugin = pkgs.vimPlugins.sqlite-lua;
config = "let g:sqlite_clib_path = '${pkgs.sqlite.out}/lib/libsqlite3${stdenv.hostPlatform.extensions.sharedLibrary}'";
}
];
Notes:
- Ensure you install
pkgs.sqlite
🔥 Powered by sqlite.lua
- https://github.com/kkharji/impatient.nvim
- https://github.com/nvim-telescope/telescope-smart-history.nvim
- https://github.com/nvim-telescope/telescope-frecency.nvim
- https://github.com/kkharji/lispdocs.nvim
- https://github.com/nvim-telescope/telescope-cheat.nvim
- https://github.com/LintaoAmons/bookmarks.nvim
Explore related projects
Asabeneh/30-Days-Of-Python
The 30 Days of Python programming challenge is a step-by-step guide to learn the Python programming language in 30 days. This challenge may take more than 100 days. Follow your own pace. These videos may help too: https://www.youtube.com/channel/UC7PNRuno1rzYPb1xLa4yktw
78,423 starsgrafana/grafana
The open and composable observability and data visualization platform. Visualize metrics, logs, and traces from multiple sources like Prometheus, Loki, Elasticsearch, InfluxDB, Postgres and many more.
77,763 starsredis/redis
For developers, who are building real-time data-driven applications, Redis is the preferred, fastest, and most feature-rich cache, data structure server, and document and vector query engine.
77,309 starsapache/superset
Apache Superset is a Data Visualization and Data Exploration Platform
75,453 stars