ShellRS
ShellRS 是一款免费开源的 SSH 客户端,使用 Rust 编写:主机管理、终端、WinSCP 风格的 SFTP 与端口转发,全部在一个 GPU 渲染窗口中,支持 macOS、Windows 和 Linux。
AI 翻译
尚未检测到更新。GitHub 发布版本后会显示在这里。
个人 GitHub 账号下公开仓库的所有者可以登录并验证所有权,自行管理介绍,无需管理员批准。
登录并生成验证文件,在 30 分钟内将其提交到此仓库的默认分支。其他分支或分叉仓库中的文件无效。然后在下方检查文件,即可无需管理员批准直接管理项目。请保留文件以维持管理权限。
如需登录,将前往登录页面。登录后请回到此处,再次点击所选的验证按钮。
在项目文件夹中运行 /nomorevibe verify,即可验证所有权并自行管理介绍。
一分钟完成验证A vector database from first principles: hand-written HNSW, IVF, int8 quantization, crash-safe WAL, FastAPI service, benchmarked against FAISS.
翻译准备中
正在加载完整 README。
查看完整 README ↗A vector database written from first principles, benchmarked honestly against FAISS, with a showcase site.
engine/): Python + NumPy. Hand-written HNSW (heuristic and simple neighbour
selection, tombstone deletes, filtered traversal), IVF-Flat (k-means++), per-dimension int8
scalar quantization, memory-mapped segments, a crc32-checked write-ahead log with torn-tail
recovery, atomic manifests, and a FastAPI service with API keys, token-bucket rate limits and
Prometheus metrics. No ANN library is imported by the engine.bench/): SIFT1M and GloVe-100d (public), ground truth by exact search,
ef_search / nprobe sweeps, FAISS IndexHNSWFlat / IndexIVFFlat as the baseline, results in
bench/results/*.json.web/): Next.js. An in-browser HNSW visualizer, the benchmark explorer, a live
semantic search demo with a static fallback, an architecture walkthrough and a limitations
section.The point is not to beat FAISS (it does not). The point is a correct implementation, measured rigorously, with the gap explained.
# One shared venv outside the repo (never .venv/ inside it)
python -m venv ~/.venvs/vectorforge
source ~/.venvs/vectorforge/bin/activate # Linux/macOS
source ~/.venvs/vectorforge/Scripts/activate # Windows Git Bash
pip install -e "engine[dev,bench]"
# Tests (coverage gate 85%)
cd engine && pytest --cov=vectorforge
# Run the engine
export VECTORFORGE_ADMIN_KEY=$(python -c "import secrets; print(secrets.token_hex(32))")
python -c "from vectorforge.service.app import main; main()"
python bench/datasets/download.py all # SIFT1M + GloVe into ~/datasets (about 1 GB)
python bench/run_bench.py # writes bench/results/*.json (about 1 hour, single thread)
python bench/demo/build_demo.py # demo corpus embeddings into web/data/demo
cd web
pnpm install # pnpm only; uses the global content-addressed store
pnpm dev # copies bench/results into web/data/bench, then starts Next.js
Server-only environment for the demo route: VECTORFORGE_ENGINE_URL, VECTORFORGE_DEMO_KEY.
Without them the demo answers from the static snapshot and says so.
render.yaml and engine/Dockerfile.
bench/results, never from the hosted engine.web/data/demo/seed.json) when the image is built and baked into it; every restart starts
from that snapshot. Measured at 0.1 CPU / 512 MB: ready in 37 s using 53 MB. Rebuilding the
graph on boot instead took more than 10 minutes there, so it is not done at startup. Anything
written to the hosted engine is lost on restart.docs/DEPLOY.md.engine/vectorforge/core distance functions, int8 quantization
engine/vectorforge/index flat, hnsw, ivf
engine/vectorforge/storage segments, WAL, manifests
engine/vectorforge/service FastAPI app, routes, schemas, security
engine/vectorforge/collection.py
bench/ dataset scripts, run_bench.py, results/
web/ Next.js showcase
docs/ PRD, ARCHITECTURE, API, DESIGN, DECISIONS, INTERVIEW
Reports: RUN-REPORT.md (phase log), SECURITY.md, DEMO-REPORT.md, FINAL-AUDIT.md.