{"id":23400102,"url":"https://github.com/khalby786/vue-utterances","last_synced_at":"2025-08-03T04:09:03.203Z","repository":{"id":40815006,"uuid":"351690097","full_name":"khalby786/vue-utterances","owner":"khalby786","description":"Vue.js component for 🔮 utterances 🔮","archived":false,"fork":false,"pushed_at":"2025-07-20T13:32:10.000Z","size":27,"stargazers_count":20,"open_issues_count":3,"forks_count":0,"subscribers_count":1,"default_branch":"3.x","last_synced_at":"2025-07-29T07:35:35.081Z","etag":null,"topics":["utterances","vite","vue","vue-component","vue-utterances","vue3"],"latest_commit_sha":null,"homepage":"https://vue-utterances.js.org/","language":"Vue","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/khalby786.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2021-03-26T06:55:39.000Z","updated_at":"2025-07-21T07:14:34.000Z","dependencies_parsed_at":"2022-09-12T06:10:52.271Z","dependency_job_id":null,"html_url":"https://github.com/khalby786/vue-utterances","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/khalby786/vue-utterances","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/khalby786%2Fvue-utterances","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/khalby786%2Fvue-utterances/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/khalby786%2Fvue-utterances/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/khalby786%2Fvue-utterances/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/khalby786","download_url":"https://codeload.github.com/khalby786/vue-utterances/tar.gz/refs/heads/3.x","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/khalby786%2Fvue-utterances/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":268492416,"owners_count":24258815,"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-08-03T02:00:12.545Z","response_time":2577,"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":["utterances","vite","vue","vue-component","vue-utterances","vue3"],"created_at":"2024-12-22T10:19:35.371Z","updated_at":"2025-08-03T04:09:03.192Z","avatar_url":"https://github.com/khalby786.png","language":"Vue","funding_links":[],"categories":[],"sub_categories":[],"readme":"\n# vue-utterances\n\nVue.js component for [Utterances](https://utteranc.es), a lightweight comments widget that uses GitHub issues. Comes with TypeScript support and reactive props.\n\n## Installation\n\n```bash\nnpm install vue-utterances\n\n# or pnpm, I've been using it lately and its great\npnpm add vue-utterances\n\n# or yarn, if you feel fancy\nyarn add vue-utterances\n```\n\n## Usage\n\nImport and register the component in your app or page:\n\n```vue\n\u003cscript setup\u003e\nimport Utterances from 'vue-utterances';\n\u003c/script\u003e\n\n\u003ctemplate\u003e\n  \u003cUtterances\n    repo=\"owner/repo\"\n    issueTerm=\"pathname\"\n    theme=\"github-light\"\n    label=\"comments\"\n  /\u003e\n\u003c/template\u003e\n```\n\n### Nuxt\nWrap with `\u003cclient-only\u003e` to avoid SSR issues:\n\n```vue\n\u003ctemplate\u003e\n  \u003cclient-only\u003e\n    \u003cUtterances repo=\"owner/repo\" /\u003e\n  \u003c/client-only\u003e\n\u003c/template\u003e\n```\n\n## Props\n| Name      | Type     | Description                                      |\n|-----------|----------|--------------------------------------------------|\n| repo      | string   | GitHub repo in the format `owner/repo`           |\n| issueTerm | string   | Issue mapping term (e.g., pathname, url, title)  |\n| theme     | string   | Utterances theme                                 |\n| label     | string   | Label for created issues                         |\n\n## Methods\nExpose `reload()` to reload the widget if needed:\n\n```js\nconst utterancesRef = ref();\nutterancesRef.value.reload();\n```\n\n## Development\n\nBuild the library:\n```bash\nnpm run build\n```\n\nTest locally in another app:\n```bash\nnpm link\n\n# In your test app:\nnpm link vue-utterances\n```\n\n## License\n[MIT](https://github.com/khalby786/vue-utterances/blob/main/LICENSE)\n\n## Credits\n\n- [Utterances](https://utteranc.es/) - The original comments widget\n- [How to Create and Publish a Vue Component Library – Update](https://www.freecodecamp.org/news/how-to-add-comments-to-your-vue-js-app-with-utterances/)\n- [jet-ui](https://github.com/sjmc11/jet-ui)","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkhalby786%2Fvue-utterances","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkhalby786%2Fvue-utterances","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkhalby786%2Fvue-utterances/lists"}