ShellRS
ShellRS is a free, open-source SSH client written in Rust: host management, terminals, WinSCP-style SFTP and port forwarding in one GPU-rendered window, for macOS, Windows and Linux.
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.
Translation pending
Developer toolsPython · TypeScriptGitHub @rachitkumar2105OnlineOwner unconfirmed
Have you tried it? One tap is enough. No sign-in needed.
No updates detected yet. GitHub releases will appear here.
Owners of public repositories under a personal GitHub account can sign in to verify ownership and manage the introduction themselves. No administrator approval is needed.
Sign in, generate a verification file, and commit it to this repository’s default branch within 30 minutes. Files on other branches or forks do not count. Then check the file below to manage the project without administrator approval. Keep the file to retain your access.
If needed, you will go to sign-in. After signing in, return here and press your chosen verification button again.
Run /nomorevibe verify in your project folder to verify ownership and manage the introduction yourself.
Verify in one minuteAsk about other verification options
A vector database from first principles: hand-written HNSW, IVF, int8 quantization, crash-safe WAL, FastAPI service, benchmarked against FAISS.
Translation pending
Loading the full README.
Read the full 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.