seeyou2night13 downloadsSurface related notes and unexpected semantic connections as you write.
Semantix is a local-first semantic retrieval and serendipity engine for Obsidian. As you write, it automatically surfaces highly relevant notes (Related) and unexpected cross-domain conceptual connections (Discover) directly in a dual-stream sidebar.
v1.7.2 or later.3.11+ with uv for running the local engine.Semantix.main.js, manifest.json, and styles.css from the latest GitHub Releases..obsidian/plugins/ and create a folder named semantix.main.js, manifest.json, and styles.css into .obsidian/plugins/semantix/.Semantix uses a lightweight local Python sidecar for embedding and retrieval. In your terminal:
cd engine
uv sync --locked
uv run uvicorn main:app --host 127.0.0.1 --port 8000
Note: On first run, the engine will automatically download the local embedding model (
BAAI/bge-small-zh-v1.5) and reranker model (BAAI/bge-reranker-base). No note contents are uploaded. For offline environments, you can pre-download models:cd engine uv run python scripts/download_models.py
You can also enable Auto-start Local Engine in the plugin settings to have Obsidian launch the sidecar automatically on desktop.
Semantix: Open Radar View (or Semantix: Open side view).127.0.0.1.SEMANTIX_API_TOKEN and managing TLS/network security.| Variable | Default | Description |
|---|---|---|
SEMANTIX_API_TOKEN |
empty | When set, all requests must include a matching Bearer token. Required for remote servers. |
SEMANTIX_DB_PATH |
./semantix_lance |
Directory for LanceDB vector storage. |
SEMANTIX_ALLOWED_ORIGINS |
Localhost & Obsidian origins | Comma-separated CORS allowed origins. |
SEMANTIX_LOG_LEVEL |
INFO |
Engine logging verbosity (DEBUG, INFO, WARNING, ERROR). |
SEMANTIX_PARENT_PID |
0 |
Process ID monitored by the local sidecar watchdog. |
SEMANTIX_WATCHDOG_TIMEOUT |
600 |
Inactivity timeout in seconds before auto-exit (0 to disable). |
SEMANTIX_HOST |
127.0.0.1 |
Binding host when executing main.py directly. |
SEMANTIX_PORT |
8000 |
Port when executing main.py directly. |
http://127.0.0.1:8000/health. Check that the port in plugin settings matches.scripts/download_models.py if needed..semantix.pid locks. You can also click Force Restart Engine in settings.Semantix 是面向 Obsidian 的本地语义检索与灵感发现插件,在写作过程中提供强相关内容(Related)和跨主题关联(Discover)。
当前版本:v0.9.3。桌面端本地 Sidecar 是主要工作流;代码中存在显式开启的移动端远程模式,其正式支持等级仍记录在 PROGRESS 中等待确认。
127.0.0.1 Sidecar 之间传输笔记内容;模型推理和索引存储在用户控制的环境中完成。BAAI/bge-small-zh-v1.5 和 BAAI/bge-reranker-base。这不会上传笔记内容。Obsidian Plugin (TypeScript)
editor context -> query gate -> HTTP API -> result stabilizer -> sidebar
|
v
Semantix Engine (Python/FastAPI)
embedding -> Vector + FTS -> rerank -> Related / Discover -> LanceDB
插件与 Engine 是独立交付物:
manifest.json、versions.json、package.json;构建产物:main.js、styles.css。engine/ 目录。详细边界和真实协议来源见 ARCHITECTURE。
要求 Python 3.11+ 和 uv:
cd engine
uv sync --locked
uv run uvicorn main:app --host 127.0.0.1 --port 8000
健康检查地址为 http://127.0.0.1:8000/health。首次加载模型需要可访问模型注册源;离线环境可提前执行:
cd engine
uv run python scripts/download_models.py
要求 Node.js 22:
npm ci
npm run build
将根目录 main.js、manifest.json、styles.css 复制到:
<vault>/.obsidian/plugins/semantix/
启用插件后配置 Engine 地址。桌面本地模式可选择自动启动;该选项默认关闭。
Engine 连接成功后,在设置页启动全量索引。插件按文档数和字符数分批发送,并在批次间让出 UI 执行权。失败文档保留在增量队列中重试。
MIT