RepositoryJavaScriptBRBrazil
BA

babycommando/entity-db

EntityDB is an in-browser vector database wrapping indexedDB and Transformers.js over WebAssembly

296sao
24fork
3issue
1lượt xem

Thành tựu nổi bật

Những danh hiệu mới nhất của dự án

1
TINIX TRENDING·Chủ đề: indexed-db

#1 Repository của tháng

1
TINIX TRENDING·Chủ đề: dbbrowser

#1 Repository của tháng

1
TINIX TRENDING·Chủ đề: indexeddb-wrapper

#1 Repository của tháng

🧠 EntityDB — Cơ sở dữ liệu vector trong trình duyệt, không cần máy chủ

EntityDB kết hợp IndexedDB và Transformers.js để xây dựng hệ thống tìm kiếm vector nhanh chóng ngay trên trình duyệt.

EntityDB là một thư viện JavaScript nhẹ, chạy hoàn toàn trong trình duyệt, thiết kế để lưu trữ và truy vấn các vector nhúng (embedding). Nó tích hợp IndexedDB để lưu trữ bền vững và Transformers.js để sinh embedding từ văn bản bằng các mô hình Hugging Face, giúp bạn xây dựng hệ thống tìm kiếm đa giống nhanh chóng mà không cần backend.

✨ Điểm nổi bật

  • Chạy trong trình duyệt: Dựa trên IndexedDB, không cần máy chủ hoặc cấu hình phứ tạp.
  • Tích hợp Transformers.js: Tự động sinh embedding từ văn bản bằng mô hình Hugging Face.
  • Tìm kiếm cosine similarity: Truy vấn dựa trên độ tương đồng cosine giữa các vector.
  • Linh hoạt: Hỗ trợ cả sinh embedding tự động và chèn vector đã tính sẵn.
  • Nhẹ và nhanh: Không phụ thuộc vào server, phù hợp cho ứng dụng AI memory, đề xuất, tìm kiếm.
  • Vector nhị phân thử nghiệm: Tối ưu tốc độ bằng cách mã hóa vector thành dạng nhị phân và dùng Hamming distance.
  • Hỗ trợ WebAssembly SIMD: Xử lý 128-bit/lần, tăng tốc đáng kể so với JavaScript thuần.

💡 Vì sao đáng chú ý

EntityDB khác biệt ở khả năng đóng gói toàn bộ quy trình từ sinh embedding, lưu trữ vector đến truy vấn đa giống chỉ trong trình duyệt. Điều này giúp giảm thiểu phụ thuộc vào backend, thích hợp cho các ứng dụng cá nhân hóa, AI memory hoặc demo prototype.

Với tính năng hỗ trợ vector nhị phân kết hợp WebAssembly SIMD, EntityDB hướng tới hiệu năng cực cao, lý tưởng cho kịch bản tìm kiếm quy mô lớn hoặc yêu cầu thời gian thực trong môi trường client-side.


#VectorDatabase #IndexedDB #TransformersJS #WebAssembly #AI #TiniX

Dự án tương tự

Khám phá các dự án và mô hình AI khác có sự tương đồng.

Modelsentence-similarity
sentence-transformers/all-MiniLM-L6-v2

all-MiniLM-L6-v2 This is a sentence-transformers(https://www.SBERT.net) model: It maps sentences & paragraphs to a 384 dimensional dense vector space and can be used for tasks like clustering or semantic search. Usage (Sentence-Transformers) Using t...

♥0
157.6M
Jun 1, 2026
RepositoryTypeScript
firecrawl/firecrawl

Firecrawl is the knowledge infrastructure to make your agents smarter. It connects your agents to the web, and to Alexandria, our library of everything else.

215.1k
Dec 2, 2026
RepositoryJavaScript
Mintplex-Labs/anything-llm

Stop renting your intelligence. Own it with AnythingLLM. Everything you need for a powerful local-first agent experience

68.9k
Nov 24, 2026
RepositoryJava
langchain4j/langchain4j

LangChain4j is an idiomatic, open-source Java library for building LLM-powered applications on the JVM. It offers a unified API over popular LLM providers and vector stores, and makes implementing tool calling (including MCP support), agents and RAG easy. It integrates seamlessly with enterprise Java frameworks like Quarkus and Spring Boot.

13.5k
Dec 1, 2026
RepositoryTypeScript
giancarloerra/SocratiCode

Enterprise-grade (40m+ LOC) codebase intelligence, zero-setup, local & private Plugin/Skill/Extension or MCP: hybrid semantic search, polyglot dependency graphs, symbol-level impact analysis & call-flow, interactive HTML viewer, cross-project & branch-aware search, DB/API/infra knowledge. 61% less tokens, 84% fewer calls, 37x faster. Cloud in beta.

3.4k
Nov 27, 2026
RepositoryPython
vearch/vearch

Distributed vector search for AI-native applications

2.3k
Jul 27, 2026
RepositoryGo
featureform/featureform

The Virtual Feature Store. Turn your existing data infrastructure into a feature store.

2.0k
Jul 3, 2025
RepositoryTypeScript
azu/kvs

Lightweight key-value storage library for Browser, Node.js, and In-Memory.

190
Jan 18, 2026
RepositoryTypeScript
chenstarx/GoDB.js

IndexedDB with Intuitive API,轻松搞定浏览器数据库🎉

173
Mar 16, 2023