{"id":23739881,"url":"https://github.com/jharrilim/use-rss","last_synced_at":"2026-05-07T07:39:41.020Z","repository":{"id":42848145,"uuid":"262206038","full_name":"jharrilim/use-rss","owner":"jharrilim","description":"React hook for RSS feeds","archived":false,"fork":false,"pushed_at":"2023-01-06T05:18:02.000Z","size":1304,"stargazers_count":2,"open_issues_count":15,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-02T08:46:35.214Z","etag":null,"topics":["hook","react","rss"],"latest_commit_sha":null,"homepage":"https://npmjs.org/@jharrilim/use-rss","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/jharrilim.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}},"created_at":"2020-05-08T02:18:46.000Z","updated_at":"2023-08-23T12:40:23.000Z","dependencies_parsed_at":"2023-02-05T10:02:33.706Z","dependency_job_id":null,"html_url":"https://github.com/jharrilim/use-rss","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jharrilim%2Fuse-rss","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jharrilim%2Fuse-rss/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jharrilim%2Fuse-rss/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jharrilim%2Fuse-rss/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jharrilim","download_url":"https://codeload.github.com/jharrilim/use-rss/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239880914,"owners_count":19712491,"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","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":["hook","react","rss"],"created_at":"2024-12-31T09:39:44.463Z","updated_at":"2026-03-02T16:30:15.917Z","avatar_url":"https://github.com/jharrilim.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# useRss Hook\n\n![npm (scoped)](https://img.shields.io/npm/v/@jharrilim/use-rss?style=flat-square)\n![npm](https://img.shields.io/npm/dt/@jharrilim/use-rss?style=flat-square)\n![Node.js CI](https://github.com/jharrilim/use-rss/workflows/Node.js%20CI/badge.svg)\n\nReact hook for RSS feeds.\n\n## Install\n\n```sh\nnpm i @jharrilim/use-rss\n```\n\n## Usage\n\n[![Edit use-rss-demo](https://codesandbox.io/static/img/play-codesandbox.svg)](https://codesandbox.io/s/use-rss-demo-2eqdg?fontsize=14\u0026hidenavigation=1\u0026theme=dark)\n\n```tsx\nimport React from 'react';\nimport useRss from '@jharrilim/use-rss';\n\nexport const MyApp = () =\u003e {\n  const redditFeed = useRss('https://reddit.com/.rss');\n  if (redditFeed === null)\n    return \u003ch1\u003eLoading...\u003c/h1\u003e;\n  return (\n    \u003cdiv\u003e\n      \u003ch1\u003e{redditFeed?.title}\u003c/h1\u003e\n      \u003cp\u003e{redditFeed?.description}\u003c/p\u003e\n      {redditFeed?.items.map((item, i) =\u003e (\n        \u003cdiv key={item?.title ?? i}\u003e\n          \u003ch2\u003e{item?.title}\u003c/h2\u003e\n          \u003ch3\u003e{item?.creator} - {item?.pubDate}\u003c/h3\u003e\n          \u003cp\u003e{item?.content}\u003c/p\u003e\n        \u003c/div\u003e\n      ))}\n    \u003c/div\u003e\n  );\n}\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjharrilim%2Fuse-rss","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjharrilim%2Fuse-rss","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjharrilim%2Fuse-rss/lists"}