{"id":29021967,"url":"https://github.com/lizzy-0323/oasisdb","last_synced_at":"2026-04-22T23:35:17.893Z","repository":{"id":300752124,"uuid":"981934729","full_name":"lizzy-0323/oasisdb","owner":"lizzy-0323","description":"OasisDB: A minimal and lightweight vector database","archived":false,"fork":false,"pushed_at":"2026-04-02T02:21:37.000Z","size":1072,"stargazers_count":68,"open_issues_count":13,"forks_count":13,"subscribers_count":4,"default_branch":"main","last_synced_at":"2026-04-02T15:15:56.134Z","etag":null,"topics":["golang","llm","machine-learning","rag","vector","vector-database","vector-search"],"latest_commit_sha":null,"homepage":"","language":"Go","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/lizzy-0323.png","metadata":{"files":{"readme":"readme-CN.md","changelog":null,"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":"2025-05-12T06:05:50.000Z","updated_at":"2026-04-02T02:21:42.000Z","dependencies_parsed_at":"2025-07-14T08:19:49.777Z","dependency_job_id":"d3ebf414-fa44-4523-ac00-a5d25c3644c1","html_url":"https://github.com/lizzy-0323/oasisdb","commit_stats":null,"previous_names":["lizzy-0323/oasisdb"],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/lizzy-0323/oasisdb","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lizzy-0323%2Foasisdb","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lizzy-0323%2Foasisdb/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lizzy-0323%2Foasisdb/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lizzy-0323%2Foasisdb/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/lizzy-0323","download_url":"https://codeload.github.com/lizzy-0323/oasisdb/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lizzy-0323%2Foasisdb/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32159959,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-22T17:06:48.269Z","status":"ssl_error","status_checked_at":"2026-04-22T17:06:19.037Z","response_time":58,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: 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":["golang","llm","machine-learning","rag","vector","vector-database","vector-search"],"created_at":"2025-06-26T02:30:20.352Z","updated_at":"2026-04-22T23:35:17.887Z","avatar_url":"https://github.com/lizzy-0323.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# OasisDB\n\n[![Coverage Status](https://coveralls.io/repos/github/lizzy-0323/oasisdb/badge.svg?branch=main)](https://coveralls.io/github/lizzy-0323/oasisdb?branch=main)\n[![License](https://img.shields.io/badge/License-Apache%202.0-blue.svg)](https://opensource.org/licenses/Apache-2.0)\n\u003c!-- ![logo](./docs/images/logo.png) --\u003e\nEnglish | **简体中文**\n\n## 🚀 什么是 OasisDB？\n\n**OasisDB** 是一款以简洁性和易用性为核心的高性能向量数据库。与其他复杂的向量数据库不同，OasisDB 通过单进程部署和 RESTful API 接口提供高效的向量相似度检索功能。\n\n### ✨ 核心特性\n\n- **超轻量级**：**小于 20MB** 的体积\n- **零依赖**：无需内部网络通信\n- **易于部署**：简单的设置和配置，一键启动\n- **初学者友好**：完美适合学习向量检索概念\n\n### 🎯 专为初学者设计\n\n该项目旨在帮助开发者轻松有效地学习向量检索。您可以在我们的[设计文档](docs/design-CN.md)中探索详细的设计思路和关键概念。\n\n## ✨ 功能特点\n\n### 🔍 **多种向量索引类型**\n\n- **HNSW**（分层可导航小世界）- 快速近似搜索\n- **IVFFLAT**（倒排文件与平面压缩）- 性能与精度的平衡\n- **IVFPQ**（倒排文件与乘积量化）- 降低内存占用并加速距离计算\n- **Flat** - 精确搜索，最高精度\n- 更多索引类型适用于不同使用场景\n\n### ⚡ **超轻量级架构**\n\n- **单进程部署**，无需复杂配置\n- **零内部网络通信** - 无需复杂的分布式设置\n- **最小资源占用**，便于部署\n\n### 🤖 **嵌入服务集成**\n\n- **内置嵌入支持**，无缝生成向量\n- 📖 更多详情请参阅[嵌入文档](docs/embedding.md)\n\n### 🛠️ **开发者友好**\n\n- **RESTful API** 便于 HTTP 集成\n- **多语言 SDK**：Python, Go, etc(under development)\n\n## 🏗️ 架构\n\n![架构](./docs/images/architecture.png)\n\n## 🚀 快速开始\n\n### 前置条件\n\n- Go 1.22+\n- CMake 3.22+\n- Python 3.10+\n- uv（可选，用于依赖管理）\n\n### 从源码构建\n\n```bash\nmake build\n./bin/oasisdb\n```\n\n### 使用示例\n\n您可以使用 HTTP 请求或 Python 客户端与 OasisDB 交互。以下示例使用 `uv` 安装依赖，并展示最简单的健康检查：\n\n更多用法请参阅 [apidoc](docs/api.md)，或查看示例脚本 [example.py](example.py)。\n\n## 🤝 贡献指南\n\n欢迎任何形式的贡献！在提交代码之前，请先通过 issue 讨论您的想法。\n\n若要提交 PR，请确保通过以下步骤保证代码质量：\n\n```bash\nmake test\nmake lint\n```\n\n## 📝 许可证\n\n[Apache 2.0](LICENSE)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flizzy-0323%2Foasisdb","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flizzy-0323%2Foasisdb","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flizzy-0323%2Foasisdb/lists"}