{"id":17126287,"url":"https://github.com/aquariuslt/react-disqus-components","last_synced_at":"2025-04-13T06:27:27.383Z","repository":{"id":35913167,"uuid":"219805432","full_name":"aquariuslt/react-disqus-components","owner":"aquariuslt","description":"react-disqus-components wrapper for official disqus web api","archived":false,"fork":false,"pushed_at":"2024-05-28T06:02:14.000Z","size":1913,"stargazers_count":1,"open_issues_count":5,"forks_count":1,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-05-28T08:03:00.311Z","etag":null,"topics":["disqus","functional-components","react"],"latest_commit_sha":null,"homepage":null,"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/aquariuslt.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}},"created_at":"2019-11-05T17:38:12.000Z","updated_at":"2024-05-29T21:33:28.286Z","dependencies_parsed_at":"2023-01-16T23:30:55.736Z","dependency_job_id":"29a817d0-3c62-4a1f-ba39-b945a1f40185","html_url":"https://github.com/aquariuslt/react-disqus-components","commit_stats":{"total_commits":977,"total_committers":6,"mean_commits":"162.83333333333334","dds":0.3039918116683725,"last_synced_commit":"ea2db145a4845fe73dbd1bea60a7fb4d365a59bf"},"previous_names":[],"tags_count":12,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aquariuslt%2Freact-disqus-components","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aquariuslt%2Freact-disqus-components/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aquariuslt%2Freact-disqus-components/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aquariuslt%2Freact-disqus-components/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/aquariuslt","download_url":"https://codeload.github.com/aquariuslt/react-disqus-components/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248673191,"owners_count":21143449,"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":["disqus","functional-components","react"],"created_at":"2024-10-14T18:47:31.965Z","updated_at":"2025-04-13T06:27:27.355Z","avatar_url":"https://github.com/aquariuslt.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# react-disqus-components\n\n[![NPM](https://img.shields.io/npm/v/react-disqus-components.svg)](https://www.npmjs.com/package/react-disqus-components) \n[![Github Workflow Status](https://github.com/aquariuslt/react-disqus-components/workflows/ci/badge.svg)](https://github.com/aquariuslt/react-disqus-components) \n[![Codecov](https://codecov.io/gh/aquariuslt/react-disqus-components/branch/master/graph/badge.svg)](https://codecov.io/gh/aquariuslt/react-disqus-components) \n[![Semantic-Release](https://img.shields.io/badge/%20%20%F0%9F%93%A6%F0%9F%9A%80-semantic--release-e10079.svg)](https://github.com/semantic-release/semantic-release)\n\n\nReact Functional Component with `disqus` webapi integration.\n\n## Usage\n\n\u003e Only support React Functional Component\n\n### Required Props\n\nSee `DisqusCommentProps`\n\n```typescript\nexport interface DisqusCommentProps {\n  title: string;\n  identifier: string;\n  url: string;\n  shortname: string;\n}\n```\n\n### Example\n\n```typescript jsx\nimport * as React from 'react';\nimport { Comment } from 'react-disqus-components';\n\nexport const MyComponent = () =\u003e {\n  const pageTitle = 'My Page Title';\n  const disqusConfig = {\n    identifier: '', // your page uniq id\n    url: '', // uslug url\n    shortname: '' // disqus shortname\n  };\n\n  return (\n    \u003cComment\n      title={pageTitle}\n      identifier={disqusConfig.identifier}\n      url={disqusConfig.url}\n      shortname={disqusConfig.shortname}\n    /\u003e\n  );\n};\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faquariuslt%2Freact-disqus-components","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Faquariuslt%2Freact-disqus-components","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faquariuslt%2Freact-disqus-components/lists"}