L
lena13144/lorecodex★ 21 · JavaScript
Tree-indexed RAG that retrieves whole fiction scenes without embeddings
MIT · Commercial Friendlyv3.3.0
Side-by-side 2026 comparison in RAG, Data & Memory: pgvector/pgvector leads both total GitHub adoption (★ 23.9k) and recent 7-day momentum. Licensing: MIT · Commercial Friendly vs Custom / Check Repo.
Tree-indexed RAG that retrieves whole fiction scenes without embeddings
PostgreSQL extension for exact and approximate vector search alongside relational data
Backed by independent 6-hour D1 snapshots. Embed in GitHub READMEs or technical blogs.
| Dimension | lena13144/lorecodex | pgvector/pgvector |
|---|---|---|
| Total GitHub Stars | ★ 21 | ★ 23,928 |
| 24h / 7d Velocity | +1 / +8 | +13 / +96 |
| 7-Day Trend Curve | ||
| Engineering Health | A · 87/100 | B+ · 71/100 |
| Deployment Signals | Self-Hosted · Local AI · API | Docker · Self-Hosted |
| Primary Language | JavaScript | C |
| Commercial License | MIT · Commercial Friendly | Custom / Check Repo |
| Activity | Updated today | Updated today |
| Latest Release | v3.3.0 | Rolling commits (main) |
| Best For | SillyTavern and TauriTavern roleplay, or MCP-based lore research, where exact dialogue, recurring aliases, and chapter-level spoiler limits matter | RAG and semantic search teams already on PostgreSQL that need to retrieve embeddings with document metadata and apply relational filters in one query. Start with exact search and add ANN when measured latency calls for it |
# 离线全量测试(无需 API Key,覆盖双端解析、Mock LLM 建库与断点续传、MCP、dsh 插件、防剧透门控与别名搜索) npm test # 构建 dist/releases/ 下的 4 个发行包 npm run build:releases
vector extension per database and query embeddings over existing PostgreSQL connections using SQL.m, ef_construction, and hnsw.ef_search tune graph construction and search.ivfflat.probes controls how many lists a query searches.docker pull pgvector/pgvector:pg19-trixieSignal-only digest of fast-growing AI repos, SPDX license alerts, and architecture picks. Zero spam.
Zero spam · 1-click unsubscribe · Privacy Policy