ShellRS
ShellRS는 Rust로 작성된 무료 오픈소스 SSH 클라이언트
수작업 HNSW·IVF 인덱스와 충돌 방지 로그, 파이썬 기반 질의 서비스, FAISS 대비 정직하게 벤치마크
Hand-written HNSW and IVF indexes, a crash-safe write-ahead log and a query service in Python, benchmarked honestly against FAISS on SIFT and GloVe.
개발 도구Python · TypeScriptGitHub @rachitkumar2105온라인운영자 미확인
써 보셨어요? 한 번만 눌러 주세요. 로그인은 필요 없어요.
아직 감지된 업데이트가 없습니다. GitHub 릴리스가 나오면 여기에 보입니다.
개인 계정의 공개 저장소 소유자는 GitHub로 로그인해 운영자를 확인하고 소개를 직접 관리할 수 있습니다. 관리자 승인은 필요하지 않습니다.
로그인한 뒤 확인 파일을 만들어 이 저장소의 기본 브랜치에 30분 안에 커밋해 주세요. 다른 브랜치나 포크의 파일은 인정하지 않습니다. 파일을 올린 뒤 아래에서 확인하면 관리자 승인 없이 관리할 수 있습니다. 자격을 유지하려면 파일을 남겨 두세요.
로그인이 필요하면 로그인 화면으로 이동합니다. 로그인 후 이곳으로 돌아와 원하는 확인 버튼을 다시 눌러 주세요.
프로젝트 폴더에서 /nomorevibe verify를 실행하면 소유권을 확인하고 소개를 직접 관리할 수 있습니다.
1분 만에 확인하기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.