{"id":28279844,"url":"https://github.com/vwkd/feed-aggregator","last_synced_at":"2026-05-06T03:31:31.536Z","repository":{"id":255727753,"uuid":"853486309","full_name":"vwkd/feed-aggregator","owner":"vwkd","description":"JSON Feed aggregator","archived":false,"fork":false,"pushed_at":"2025-07-11T11:00:00.000Z","size":40,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-07-11T13:54:55.306Z","etag":null,"topics":["atom","feed","feed-aggregator","json","json-feed","json-feed-aggregator","rss"],"latest_commit_sha":null,"homepage":"https://jsr.io/@vwkd/feed-aggregator","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/vwkd.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-09-06T18:51:28.000Z","updated_at":"2025-07-11T11:00:06.000Z","dependencies_parsed_at":null,"dependency_job_id":"e4eca8b9-9cf9-4f51-9f4c-3628e83c8cc8","html_url":"https://github.com/vwkd/feed-aggregator","commit_stats":null,"previous_names":["vwkd/json-feed-aggregator"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/vwkd/feed-aggregator","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vwkd%2Ffeed-aggregator","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vwkd%2Ffeed-aggregator/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vwkd%2Ffeed-aggregator/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vwkd%2Ffeed-aggregator/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/vwkd","download_url":"https://codeload.github.com/vwkd/feed-aggregator/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vwkd%2Ffeed-aggregator/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32677876,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-06T02:33:58.958Z","status":"ssl_error","status_checked_at":"2026-05-06T02:33:39.611Z","response_time":117,"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":["atom","feed","feed-aggregator","json","json-feed","json-feed-aggregator","rss"],"created_at":"2025-05-21T09:15:54.508Z","updated_at":"2026-05-06T03:31:31.528Z","avatar_url":"https://github.com/vwkd.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# README\n\nJSON Feed aggregator\n\n\n\n## Features\n\n- stateful JSON feed\n- cache items using Deno KV\n- update existing items\n- expire items, e.g. feed of future events\n\n\n\n## Usage\n\n### Create feed\n\n```js\nimport { createFeedAggregator } from \"@vwkd/feed-aggregator\";\n\nconst path = \":memory:\";\nconst prefix = [\"my\", \"example\", \"feed\"];\n\nusing feed = await createFeedAggregator(\n  path,\n  prefix,\n  {\n    title: \"My Example Feed\",\n    home_page_url: \"https://example.org\",\n    feed_url: \"https://example.org/feed.json\",\n  },\n);\n\nawait feed.add({\n  item: {\n    id: \"1\",\n    content_html: \"\u003cp\u003eHello, world!\u003c/p\u003e\",\n    url: \"https://example.org/initial-post\",\n  },\n});\n\nawait feed.add(\n  {\n    item: {\n      id: \"2\",\n      content_text: \"This is a second item.\",\n      url: \"https://example.org/second-item\",\n    },\n  },\n  {\n    item: {\n      id: \"3\",\n      content_html: \"\u003cp\u003eThis is a third item.\u003c/p\u003e\",\n      content_text: \"This is a third item.\",\n      url: \"https://example.org/third-item\",\n    },\n  },\n);\n\nconst json = feed.toJSON();\n```\n\n### Configure logging\n\n- log level defaults to `warn`\n- log level `silent` disables logging\n- change log level for all methods\n\n```js\nimport { logger } from \"@vwkd/feed-aggregator\";\n\nlogger.setLevel(\"debug\");\nlogger.rebuild();\n```\n\n- change log level for specific method, e.g. `add`\n\n```js\nimport { logger } from \"@vwkd/feed-aggregator\";\n\nconst logAdd = logger.getLogger(\"add\");\nlogAdd.setLevel(\"debug\");\nlogAdd.rebuild();\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvwkd%2Ffeed-aggregator","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvwkd%2Ffeed-aggregator","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvwkd%2Ffeed-aggregator/lists"}