跳到正文

正在自动登录…

← 返回项目列表

kividbio/kividb

键值存储全文搜索向量搜索

KiviDB 是一个用 Rust 编写的高性能、多线程内存键值数据库,兼容 Redis 协议,内置全文和向量搜索,可作为 Redis 或 Valkey 的替代品。适用于需要高吞吐量、低延迟以及内置搜索能力的场景。

AI 中文解读 · 根据仓库描述与 README 生成 · 2026/10/20 19:46:34 · 查看原文

值得看Rust应用与服务
累计 Stars
420
当前热度
1~7 天 · 小火
仓库创建时间
打开 GitHub ↗项目网站 ↗

选用指南

AI 根据 README 整理 · 2026/10/20 19:46:34

使用方式

通过命令行启动服务,使用 Redis 客户端连接,默认端口 6380。

查看 README 依据
To build the Docker image yourself, `docker build -t kividb .` builds the default variant; `docker build --build-arg KIVIDB_FEATURES=lua,tls -t kividb:full .` builds another one. ## Running KiviDB ```bash ./target/release/kividb # listens on 0.0.0.0:6380 redis-cli -p 6380 PING ``` Any Redis client works; point it at port **6380**. ### Protected mode Protected mode is **on by default**, as in Redis. While it is on, **no bind address has been set** (`--bind` or `bind` in the config file) and the **`default` user has no password**, only
部署要求

从源码构建需要 Rust 1.89 或更高版本;也可使用 Docker 镜像或预编译二进制。

查看 README 依据
toolchain it is checked against is **Rust 1.89**, the version the [`Dockerfile`](Dockerfile) builds with. ```bash git clone https://github.com/kividbio/kividb.git cd kividb cargo build --release # default variant cargo build --release --features lua # with Lua scripting cargo build --release --features tls # with TLS cargo build --release --features lua,tls # full ./target/release/kividb ``` On Linux the server uses io_uring when the kernel allows it and falls back to Tokio otherwise (`--io-model auto`, the default).
the internet without a password. ### Docker Images are published to Docker Hub and the GitHub Container Registry, with the same tags in both: ```bash docker pull kividb/kividb:latest # or docker pull ghcr.io/kividbio/kividb:latest ``` `latest` and version tags such as `v1.1.0` are the default variant; `v1.1.0-lua`, `v1.1.0-tls` and `v1.1.0-full` are the others. Images are built for `amd64` and `arm64`. ```bash docker run -p 6380:6380 kividb/kividb ``` A container is reached through its network, never from loopback, so the image's default
**io_uring in containers:** Docker's default seccomp profile blocks io_uring on recent versions, and KiviDB then falls back to Tokio. To allow it on a Linux host, run with `--security-opt seccomp=unconfined` (understand what that permits before using it in production). ### Release binaries Release binaries for Linux (x86_64, aarch64) and macOS (Apple silicon, Intel) are published on [GitHub Releases](https://github.com/kividbio/kividb/releases). The `latest/download` links below always resolve to the newest release; replace `latest/download` with `download/v1.1.0` to pin a version. ```bash
已知限制

Lua 脚本和 TLS 为可选功能,需在构建时启用;默认启用保护模式,仅允许本机连接。

查看 README 依据
- **Lua scripting**: optional Cargo feature. `EVAL`, `SCRIPT`, `FUNCTION`, `FCALL` and related commands are available in builds with `--features lua` (see [Scripting commands (Lua)](COMMANDS.md#scripting-commands-lua)) - **TLS**: optional Cargo feature (`--features tls`) - **Default listen address**: `0.0.0.0:6380`, with [protected mode](#protected-mode) on - **License**: [GNU Affero General Public License v3](LICENSE) (AGPL-3.0-only), open source; using KiviDB does not put your application under the AGPL; see [License](#license)
| `lua` | `lua` | Lua scripting (`EVAL`, `EVALSHA`, `SCRIPT`, `FUNCTION`, `FCALL`, …) | | `tls` | `tls` | TLS listener, and TLS between cluster nodes and replicas | | `full` | `lua,tls` | both | In a build without Lua, the scripting commands return an error. A build without TLS refuses to start if `--tls-port` is given, rather than serving plaintext. ## Building from source Requires a **stable Rust** toolchain ([`rust-toolchain.toml`](rust-toolchain.toml) selects `stable` with `rustfmt` and `clippy`). The crate uses the **2024 edition**; the oldest
clients on the same machine (loopback) may connect. Any other client receives a `-DENIED` error that explains the options, and is disconnected. To accept clients from other machines, do one of these: - set a password: `--requirepass <password>`, or `ACL SETUSER default ><password>`; - set a bind address: `--bind <address>`; - turn protected mode off: `--protected-mode no`, `protected-mode no` in the config file, or `CONFIG SET protected-mode no` from a local client. If you turn it off or bind to a public address, make sure the server cannot be reached from

README

正在加载 README…

收录信息

仓库创建时间
2026/10/16 09:07:52
首次达标收录
2026/10/20 19:41:39
统计更新时间
2026/10/22 19:00:56

按创建时长与累计 Stars 判断等级。首次达标收录后,即使未达当前门槛仍保留;累计 Stars 和仓库状态会定期更新。确认只有 README 及辅助文件的仓库会停止公开。

模型评估

值得看加权总分 4.2 / 5

新颖度
3.7
实用价值
4.9
成熟度
4.8
实质含量
3.7

由 Jev 模型根据仓库描述与 README 评估,2026/10/20 19:41:39 生成。评分仅供参考,不是代码、安全或许可证审查;热度等级另按创建时长与累计 Stars 计算。

仓库信息

最近推送
2026/10/22 18:12:12
许可证标识
AGPL-3.0
Fork 数
14
当前状态
未归档

收录记录

按创建时长与累计 Stars 首次收录:小火
首次发现项目