{"id":42218295,"url":"https://github.com/chatr/chatra","last_synced_at":"2026-01-27T01:35:03.207Z","repository":{"id":42447161,"uuid":"368888261","full_name":"chatr/chatra","owner":"chatr","description":"Official Chatra module","archived":false,"fork":false,"pushed_at":"2023-01-08T00:22:09.000Z","size":420,"stargazers_count":7,"open_issues_count":5,"forks_count":0,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-10-24T02:22:37.858Z","etag":null,"topics":["chat","chat-widget","chatapp","chatbot","livechat","livechat-integration"],"latest_commit_sha":null,"homepage":"https://chatra.com","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/chatr.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2021-05-19T13:59:11.000Z","updated_at":"2025-08-26T14:20:53.000Z","dependencies_parsed_at":"2023-02-08T03:46:49.301Z","dependency_job_id":null,"html_url":"https://github.com/chatr/chatra","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"purl":"pkg:github/chatr/chatra","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chatr%2Fchatra","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chatr%2Fchatra/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chatr%2Fchatra/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chatr%2Fchatra/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/chatr","download_url":"https://codeload.github.com/chatr/chatra/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chatr%2Fchatra/sbom","scorecard":{"id":274942,"data":{"date":"2025-08-11","repo":{"name":"github.com/chatr/chatra","commit":"acb7dc6950fab5beccfb8bebc13520f6dc5668a4"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":1.7,"checks":[{"name":"Maintained","score":0,"reason":"0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Pinned-Dependencies","score":-1,"reason":"no dependencies found","details":null,"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Token-Permissions","score":-1,"reason":"No tokens found","details":null,"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"Code-Review","score":0,"reason":"Found 0/14 approved changesets -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"Dangerous-Workflow","score":-1,"reason":"no workflows found","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"License","score":0,"reason":"license file not detected","details":["Warn: project does not have a license file"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'main'"],"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 6 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}},{"name":"Vulnerabilities","score":3,"reason":"7 existing vulnerabilities detected","details":["Warn: Project is vulnerable to: GHSA-67hx-6x53-jw92","Warn: Project is vulnerable to: GHSA-v6h2-p8h4-qcjw","Warn: Project is vulnerable to: GHSA-3xgq-45jj-v275","Warn: Project is vulnerable to: GHSA-9c47-m6qq-7p4h","Warn: Project is vulnerable to: GHSA-f8q6-p94x-37v3","Warn: Project is vulnerable to: GHSA-c2qf-rxjj-qqgw","Warn: Project is vulnerable to: GHSA-j8xg-fqg3-53r7"],"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}}]},"last_synced_at":"2025-08-17T14:11:56.637Z","repository_id":42447161,"created_at":"2025-08-17T14:11:56.637Z","updated_at":"2025-08-17T14:11:56.637Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28795469,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-27T01:07:07.743Z","status":"ssl_error","status_checked_at":"2026-01-27T01:07:06.974Z","response_time":59,"last_error":"SSL_read: 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":["chat","chat-widget","chatapp","chatbot","livechat","livechat-integration"],"created_at":"2026-01-27T01:35:02.549Z","updated_at":"2026-01-27T01:35:03.198Z","avatar_url":"https://github.com/chatr.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cimg width=\"100\" height=\"100\" align=\"right\"\n     alt=\"Chatra logo\" src=\"https://app.chatra.io/static/win-tile.png\" /\u003e\n\n:triangular_flag_on_post: **This package is intended for developers.** If you just want to add Chatra to your website, check our [Installation guides](https://chatra.com/help/cms/?utm_source=npm\u0026utm_medium=readme\u0026utm_campaign=npm) for popular e-commerce platforms and content management systems or just [add a small code snippet](https://chatra.com/help/?utm_source=npm\u0026utm_medium=readme\u0026utm_campaign=npm#install) to your website.\n\n# Official [Chatra](https://chatra.com) module\n\nThis module loads the Chatra widget and passes method calls to the [Javascript API](https://chatra.com/help/api/?utm_source=npm\u0026utm_medium=readme\u0026utm_campaign=npm#methods).\n\nKey Features:\n\n- Easy integration with your website or web app\n- Works perfectly with React, Angular, Vue, and other frameworks\n- Uses ES5 for maximum compatibility, doesn’t require transpiling.\n\n\n## Installation\n\nTo add the chat widget to your website or web app, [sign up with Chatra](https://app.chatra.io/?utm_source=npm\u0026utm_medium=readme\u0026utm_campaign=npm\u0026enroll=).\n\nIf you already have an account, install the package using your favorite package manager:\n\n```bash\n$ npm install @chatra/chatra\n```\n\n```bash\n$ yarn add @chatra/chatra\n```\n\n## Configuration\n\n**Step 1.** Go to the [Preferences section](https://app.chatra.io/settings/preferences?utm_source=npm\u0026utm_medium=readme\u0026utm_campaign=npm#apiKeys) of your Chatra dashboard and copy the _Public key_.\n\n**Step 2.** Initialize the widget in your index.js or root controller\n\n_index.js_\n```js\nlet Chatra = require('chatra')\n\nlet config = {\n    ID: 'Paste your Public key here'\n}\n\nChatra('init', config)\n```\n\n:triangular_flag_on_post: You can customize the chat and button appearance, localization, and lots of other settings by passing `setup` to the initialization config. Please check the [Javascript API documentation](https://chatra.com/help/api/?utm_source=npm\u0026utm_medium=readme\u0026utm_campaign=npm#api-reference) for details.\n\n_index.js_\n```js\nlet config = {\n    setup: {\n        buttonSize: 75\n    },\n    ID: 'Paste your ChatraID here'\n}\n```\n\nMoreover, you can [pass arbitrary visitor info](https://chatra.com/help/api/#passing-arbitrary-info) using the `integration` key:\n\n_index.js_\n```js\nlet config = {\n    integration: {\n        name: 'Cowardly Lion',\n        email: 'cowardly_lion@gmail.com',\n\n        /* any number of custom properties */\n        'What does he do': 'Goes to Oz with his friends'\n    },\n    ID: 'Paste your ChatraID here'\n}\n```\n\n**Step 3 _(optional)_.** Call `PageView` to enable [Targeted chats \u0026 triggers](https://app.chatra.io/settings/actions/?utm_source=npm\u0026utm_medium=readme\u0026utm_campaign=npm).\n\nIf your website or web app loads pages dynamically and updates the document’s URL without requiring a full page load, call the following method whenever the page changes to track these views and see them in the Chatra dashboard:\n\n```js\nChatra('pageView')\n```\n\nWe recommend calling this method in your router or page controllers.\n\n## Advanced Usage\n\n### Updating the settings\n\nYou can update the settings after initialization by calling `Chatra('init', config)` again, which will restart Chatra with the new settings applied.\n\n### Methods\n\n[Methods](https://chatra.com/help/api/?utm_source=npm\u0026utm_medium=readme\u0026utm_campaign=npm#methods) are used to dynamically change the behavior of the chat widget. Methods can be called anywhere after the widget initialization, for example:\n\n```js\nChatra('expandWidget')\n```\n\nAll method calls made before Chatra finished loading are put into a queue and executed when Chatra is ready.\n\n## Contact us\n\nIf you have any questions, feel free to [contact us](https://chatra.com/contact-us/).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchatr%2Fchatra","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fchatr%2Fchatra","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchatr%2Fchatra/lists"}