{"id":41859609,"url":"https://github.com/agentfront/vectoriadb","last_synced_at":"2026-04-06T19:01:01.936Z","repository":{"id":334524784,"uuid":"1141532397","full_name":"agentfront/vectoriadb","owner":"agentfront","description":"A lightweight, production-ready in-memory vector database for semantic search","archived":false,"fork":false,"pushed_at":"2026-01-28T01:53:09.000Z","size":331,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-01-28T04:56:33.979Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/agentfront.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2026-01-25T01:21:38.000Z","updated_at":"2026-01-28T01:24:01.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/agentfront/vectoriadb","commit_stats":null,"previous_names":["agentfront/vectoriadb"],"tags_count":5,"template":false,"template_full_name":null,"purl":"pkg:github/agentfront/vectoriadb","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/agentfront%2Fvectoriadb","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/agentfront%2Fvectoriadb/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/agentfront%2Fvectoriadb/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/agentfront%2Fvectoriadb/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/agentfront","download_url":"https://codeload.github.com/agentfront/vectoriadb/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/agentfront%2Fvectoriadb/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31485516,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-06T17:22:55.647Z","status":"ssl_error","status_checked_at":"2026-04-06T17:22:54.741Z","response_time":112,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2026-01-25T11:13:28.774Z","updated_at":"2026-04-06T19:01:01.922Z","avatar_url":"https://github.com/agentfront.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# VectoriaDB\n\n[![npm version](https://img.shields.io/npm/v/vectoriadb.svg)](https://www.npmjs.com/package/vectoriadb)\n[![License](https://img.shields.io/badge/license-Apache--2.0-blue.svg)](LICENSE)\n[![TypeScript](https://img.shields.io/badge/TypeScript-5.0+-blue.svg)](https://www.typescriptlang.org/)\n\n\u003e Lightweight, in-memory vector database for semantic search in JavaScript/TypeScript\n\n## Features\n\n- **Fast** - HNSW indexing for O(log n) search on 100k+ documents\n- **Lightweight** - Minimal dependencies, small footprint\n- **Type-Safe** - Full TypeScript support with generics\n- **Flexible** - Custom metadata filtering with batch operations\n- **Persistent** - File \u0026 Redis adapters for caching across restarts\n- **Zero-Dep Option** - TF-IDF mode for simpler deployments\n\n## Installation\n\n```bash\nnpm install vectoriadb\n```\n\nRequires Node.js 18+.\n\n## Quick Start\n\n```typescript\nimport { VectoriaDB } from 'vectoriadb';\n\nconst db = new VectoriaDB();\nawait db.initialize();\n\n// Add documents with metadata\nawait db.add('doc-1', 'How to create a user account', { category: 'auth' });\nawait db.add('doc-2', 'Send email notifications', { category: 'notifications' });\n\n// Semantic search\nconst results = await db.search('creating new accounts');\nconsole.log(results[0].score); // 0.87\n```\n\n## Documentation\n\n| Topic | Link |\n|-------|------|\n| Get Started | [Welcome](https://agentfront.dev/docs/vectoriadb/get-started/welcome) |\n| Installation | [Setup Guide](https://agentfront.dev/docs/vectoriadb/get-started/installation) |\n| Quickstart | [First Steps](https://agentfront.dev/docs/vectoriadb/get-started/quickstart) |\n| Indexing | [Core Guide](https://agentfront.dev/docs/vectoriadb/guides/core/indexing-basics) |\n| Search | [Search Guide](https://agentfront.dev/docs/vectoriadb/guides/search/basic-search) |\n| Storage | [Persistence](https://agentfront.dev/docs/vectoriadb/guides/storage/overview) |\n| Scaling | [HNSW Overview](https://agentfront.dev/docs/vectoriadb/guides/scaling/hnsw-overview) |\n| TF-IDF | [Alternative](https://agentfront.dev/docs/vectoriadb/guides/alternatives/tfidf) |\n| Production | [Deployment](https://agentfront.dev/docs/vectoriadb/deployment/production-config) |\n| API Reference | [Full API](https://agentfront.dev/docs/vectoriadb/api-reference/overview) |\n\n## Development\n\n```bash\nyarn install          # Install dependencies\nnpx nx test vectoriadb    # Run tests\nnpx nx build vectoriadb   # Build library\n```\n\n## License\n\nApache-2.0\n\n---\n\nBuilt with [transformers.js](https://github.com/xenova/transformers.js) by Xenova.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fagentfront%2Fvectoriadb","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fagentfront%2Fvectoriadb","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fagentfront%2Fvectoriadb/lists"}