8fs - Local Pinecone Alternative (SQLite Vector HTTP API)
1.2K
A simple HTTP API for sqlite-vec.
I needed a local alternative to Pinecone. Maybe you do too.
# Docker Hub
docker run -p 8080:8080 melihbirim/8fs:latest
# GitHub Container Registry (after PR merge)
docker run -p 8080:8080 ghcr.io/8fs-io/8fs:latest
git clone https://github.com/8fs-io/core.git
cd core
go build ./cmd/server
./server
curl -X POST http://localhost:8080/api/v1/vectors/embeddings \
-H "Content-Type: application/json" \
-d '{"id": "doc1", "embedding": [0.1, 0.2, 0.3], "metadata": {"title": "test"}}'
curl -X POST http://localhost:8080/api/v1/vectors/search \
-H "Content-Type: application/json" \
-d '{"query": [0.1, 0.2, 0.3], "top_k": 5}'
curl -X PUT http://localhost:8080/my-bucket/file.txt \
-d "Hello World"
Set environment variables:
PORT=8080 - Server portSTORAGE_PATH=./data - Data directoryVECTOR_DIMENSION=384 - Vector dimensionsMIT
Content type
Image
Digest
sha256:524faffef…
Size
43.5 MB
Last updated
about 1 year ago
docker pull melihbirim/8fs