tinkerbird  by wizenheimer

Browser-native vector database for local, client-side embedding storage and retrieval

Created 1 year ago
270 stars

Top 95.1% on SourcePulse

GitHubView on GitHub
Project Summary

TinkerBird is a browser-native vector database for efficient storage and retrieval of high-dimensional vectors, targeting developers building client-side AI applications. It enables fast, local vector search without server-side roundtrips, enhancing privacy and reducing costs by keeping sensitive data within the user's browser.

How It Works

TinkerBird utilizes HNSW (Hierarchical Navigable Small World) indexes for fast approximate nearest neighbor search. Its storage layer is built on IndexedDB, leveraging its stability and familiarity for offline-first workflows. This architecture co-locates data and embeddings, eliminating network latency and server dependencies for vector search operations.

Quick Start & Requirements

  • Installation: Typically via npm or yarn.
  • Prerequisites: Browser environment supporting IndexedDB.
  • Resources: Browser memory and storage capacity are the primary constraints.
  • Links: Sample App, Source

Highlighted Details

  • Browser-native vector database.
  • Uses HNSW for efficient vector retrieval.
  • Leverages IndexedDB for storage.
  • Focuses on client-side, offline-first vector search.

Maintenance & Community

Contributions are welcomed via suggestions and bug reports.

Licensing & Compatibility

Distributed under the MIT License. Permissive for commercial use and integration into closed-source projects.

Limitations & Caveats

Performance and storage capacity are limited by the user's browser environment. The project is provided "as is" with no guarantees.

Health Check
Last Commit

1 month ago

Responsiveness

Inactive

Pull Requests (30d)
0
Issues (30d)
0
Star History
2 stars in the last 30 days

Explore Similar Projects

Starred by Chang She Chang She(Cofounder of LanceDB), Carol Willing Carol Willing(Core Contributor to CPython, Jupyter), and
11 more.

lancedb by lancedb

0.7%
8k
Embedded retrieval engine for multimodal AI
Created 2 years ago
Updated 4 days ago
Feedback? Help us improve.