Compear is a browser-based CSV/XLSX comparison tool that finds semantically similar rows using in-browser embeddings. All processing runs client-side — no backend required.
Key features
Quick start (development)
npm install
npm run dev
npm run build
npm run preview
Other useful scripts: npm run lint, npm run format, npm run type-check.
How it works (short)
Architecture & important files
Available embedding models
The project ships with several model names configured (see AVAILABLE_MODELS in src/utils/embeddings.ts) including:
Xenova/bge-small-en-v1.5onnx-community/Qwen3-Embedding-0.6B-ONNXXenova/all-MiniLM-L6-v2Xenova/all-MiniLM-L12-v2nomic-ai/nomic-embed-text-v1.5Model loading occurs in-browser and may use WebGPU when available (the embedding util attempts to detect and enable WebGPU; otherwise it falls back to a WASM/CPU backend). Large models can take time and memory — choose a smaller model for faster, lighter usage.
Notes & developer tips
comparisonProgress and comparisonPhase).Contributing
AVAILABLE_MODELS in src/utils/embeddings.ts.src/utils/ and updating the file load flow in the store.License See the project root for license information.
5 commits
Vue
52.3%
TypeScript
47.5%
Compear is a browser-based CSV/XLSX comparison tool that finds semantically similar rows using in-browser embeddings. All processing runs client-side — no backend required.
Key features
Quick start (development)
npm install
npm run dev
npm run build
npm run preview
Other useful scripts: npm run lint, npm run format, npm run type-check.
How it works (short)
Architecture & important files
Available embedding models
The project ships with several model names configured (see AVAILABLE_MODELS in src/utils/embeddings.ts) including:
Xenova/bge-small-en-v1.5onnx-community/Qwen3-Embedding-0.6B-ONNXXenova/all-MiniLM-L6-v2Xenova/all-MiniLM-L12-v2nomic-ai/nomic-embed-text-v1.5Model loading occurs in-browser and may use WebGPU when available (the embedding util attempts to detect and enable WebGPU; otherwise it falls back to a WASM/CPU backend). Large models can take time and memory — choose a smaller model for faster, lighter usage.
Notes & developer tips
comparisonProgress and comparisonPhase).Contributing
AVAILABLE_MODELS in src/utils/embeddings.ts.src/utils/ and updating the file load flow in the store.License See the project root for license information.
5 commits
Vue
52.3%
TypeScript
47.5%