{"id":18908796,"url":"https://github.com/orbitdb/feed-db","last_synced_at":"2025-09-15T09:07:26.593Z","repository":{"id":218282578,"uuid":"746044589","full_name":"orbitdb/feed-db","owner":"orbitdb","description":"Feed database type for orbit-db","archived":false,"fork":false,"pushed_at":"2025-07-21T09:27:39.000Z","size":865,"stargazers_count":0,"open_issues_count":0,"forks_count":3,"subscribers_count":5,"default_branch":"main","last_synced_at":"2025-07-21T10:25:19.739Z","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":"agpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/orbitdb.png","metadata":{"files":{"readme":"README.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}},"created_at":"2024-01-20T22:32:08.000Z","updated_at":"2025-07-21T09:27:42.000Z","dependencies_parsed_at":"2024-01-20T23:29:42.596Z","dependency_job_id":"4afbef72-7c40-48ab-8d3b-98b3bb05447d","html_url":"https://github.com/orbitdb/feed-db","commit_stats":null,"previous_names":["orbitdb/feed-db"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/orbitdb/feed-db","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/orbitdb%2Ffeed-db","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/orbitdb%2Ffeed-db/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/orbitdb%2Ffeed-db/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/orbitdb%2Ffeed-db/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/orbitdb","download_url":"https://codeload.github.com/orbitdb/feed-db/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/orbitdb%2Ffeed-db/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":275232763,"owners_count":25428237,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-09-15T02:00:09.272Z","response_time":75,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":"2024-11-08T09:28:35.910Z","updated_at":"2025-09-15T09:07:26.552Z","avatar_url":"https://github.com/orbitdb.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# @orbitdb/feed-db\nFeed database type for orbit-db.\n\n[![feed-db tests](https://github.com/orbitdb/feed-db/actions/workflows/run-test.yml/badge.svg?branch=main)](https://github.com/orbitdb/feed-db/actions/workflows/run-test.yml)\n[![codecov](https://codecov.io/gh/orbitdb/feed-db/graph/badge.svg?token=7OZK4BJDej)](https://codecov.io/gh/orbitdb/feed-db)\n\n## Installation\n```\n$ pnpm add @orbitdb/feed-db\n```\n## Introduction\n`Feed` database for those feeling nostalgic for orbit-db v.0.x. But honestly, you're probably better off with a [`KeyValue`](https://github.com/orbitdb/core) or a [`Set`](https://github.com/orbitdb/set).\n\n## Examples\n```ts\nimport { createOrbit } from \"@orbitdb/core\";\nimport { registerFeed } from \"@orbitdb/feed-db\";\n\n// Register database type. IMPORTANT - must call before creating orbit instance !\nregisterFeed();\nconst db = await orbit.open({ type: \"feed\" });\n\nawait db.add({ a: 1, b: \"c\" });\n\nconst all = await db.all();  // [{ value: { a: 1, b: \"c\" }, hash: \"...\" }]\n\nawait db.add({ a: 1, b: \"c\" });\nawait db.all();  \n// [{ value: { a: 1, b: \"c\" }, hash: \"...\" }, { value: { a: 1, b: \"c\" }, hash: \"...\" }]\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Forbitdb%2Ffeed-db","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Forbitdb%2Ffeed-db","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Forbitdb%2Ffeed-db/lists"}