[!NOTE] This README was generated by SKILL, get the ZH version from here.
EMBEDDED JSON KV STORAGE WITH REDIS-LIKE COMMANDS AND VECTOR SEARCH
A Go embedded database with Redis-like commands, JSON document operations, and semantic vector search
Table of Contents
Features
go get github.com/pardnchiu/toriidb· Documentation
- Redis-Like Operations — Use a familiar REPL through one command router or embed the same database directly through its Go API.
- JSON Field Mutation — Read, update, increment, and delete nested fields with dot notation instead of rewriting complete documents.
- Layered Local Persistence — Keep low-latency state in memory while preserving writes through AOF records and per-key JSON files.
- Built-In Vector Search — Attach embeddings to values and run top-K semantic search, pattern filtering, and cosine similarity queries.
- Isolated Multi-Database State — Work across 16 independently locked databases with lazy loading and session-scoped selection.
Architecture
graph TB
A[REPL or Go API] --> B[Store and Sessions]
B --> C[Command and API Operations]
C --> D[KV and JSON Engine]
C --> E[Vector Search Engine]
D --> F[16 In-Memory Databases]
E --> F
F --> G[AOF and JSON Files]
E --> H[OpenAI Embeddings]
License
This project is licensed under the MIT LICENSE.
Author
邱敬幃 Pardn Chiu
hi@pardn.io
https://www.linkedin.com/in/pardnchiu
©️ 2026 邱敬幃 Pardn Chiu