{"id":15929534,"url":"https://github.com/lukes/ember-cli-zopim-live-chat","last_synced_at":"2026-05-16T18:35:33.420Z","repository":{"id":24601011,"uuid":"28009550","full_name":"lukes/ember-cli-zopim-live-chat","owner":"lukes","description":"Ember CLI addon that adds the Zopim Live Chat code","archived":false,"fork":false,"pushed_at":"2015-12-23T09:21:22.000Z","size":16,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-07-09T01:20:03.425Z","etag":null,"topics":["ember-addon","ember-cli","ember-cli-addon","emberjs","zopim"],"latest_commit_sha":null,"homepage":null,"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/lukes.png","metadata":{"files":{"readme":"README.md","changelog":null,"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":"2014-12-14T21:57:04.000Z","updated_at":"2019-11-07T07:13:04.000Z","dependencies_parsed_at":"2022-08-30T02:40:15.066Z","dependency_job_id":null,"html_url":"https://github.com/lukes/ember-cli-zopim-live-chat","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/lukes/ember-cli-zopim-live-chat","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lukes%2Fember-cli-zopim-live-chat","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lukes%2Fember-cli-zopim-live-chat/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lukes%2Fember-cli-zopim-live-chat/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lukes%2Fember-cli-zopim-live-chat/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/lukes","download_url":"https://codeload.github.com/lukes/ember-cli-zopim-live-chat/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lukes%2Fember-cli-zopim-live-chat/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":267150480,"owners_count":24043473,"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-07-26T02:00:08.937Z","response_time":62,"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":["ember-addon","ember-cli","ember-cli-addon","emberjs","zopim"],"created_at":"2024-10-07T00:04:30.224Z","updated_at":"2026-05-16T18:35:28.401Z","avatar_url":"https://github.com/lukes.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ember-cli-zopim-live-chat\n\nPlugin for ember-cli to integrate with Zopim Live chat.\n\n## Installation\n\nTo install, run:\n\n```\nember install ember-cli-zopim-live-chat\n```\n\nOr, for older versions of Ember CLI, run:\n\n```\nnpm install --save-dev ember-cli-zopim-live-chat\n```\n\n## Configuration\n\n### index.html\n\nAdd `{{content-for 'zopim'}}` to your `index.html` file, just above the `\u003c/body\u003e` tag.\n\n**Important**, this must be below where `vendor.js` is included.\n\n### config/environment.js\n\nThe zopim code will be injected only if `ENV.zopim.id` is defined. For instance, to enable the code in only the production environment:\n\n```javascript\nif (environment === 'production') {\n  ENV.zopim = {\n    id: 'xxx'\n  };\n}\n```\n\nIf you have `ember-cli-content-security-policy` enabled, you will get Content Security Policy warnings in your console. Add the following policy for `script-src`:\n\n```javascript\nENV.contentSecurityPolicy = {\n  'script-src': \"'self' 'unsafe-inline' 'unsafe-eval' *.zopim.com\"\n}\n```\n\n## Where do I find the value for `id`?\n\nZopim provides a Javascript snippet which contains your `id`.\n\nEverything after the `?` and before `;` in the following portion of the snippet is your `id`:\n\n```javascript\n$.src='//v2.zopim.com/?[this-is-your-id]';z.t=+new Date;$.\n```\n\n## Config parameters\n\n### `ENV.zopim.window`\n\n* `offsetVertical`: Set the vertical offset of the chat window from the edge of the browser window\n  * **Allowed value** Integer pixel value\n* `offsetHorizontal`: Set the horizontal offset of the chat window from the edge of the browser window in pixels\n  * **Allowed value** Integer pixel value\n* `position`: Set position of the chat window.\n  * **Allowed values:** `br` (Bottom right), `bl` (Bottom left), `tr` (Top right), `tl` (Top left)\n* `size`: Set the size of the chat window.\n  * **Allowed values:** `small`, `medium`, `large`.\n* `title`: Set the title of the chat window.\n  * **Allowed value:** String title.\n\n**Example:**\n\n```javascript\nif (environment === 'production') {\n  ENV.zopim = {\n    id: 'xxx',\n    window: {\n      offsetVertical: 100,\n      offsetHorizontal: 120,\n      position: 'br',\n      size: 'small',\n      title: 'Chat Support'\n    }\n  };\n}\n```\n\n### `ENV.zopim.bubble`\n\n* `color`: Set the color of the chat bubble.\n  * **Allowed value** hexadecimal color (‘#3300cc’)\n\n**Example:**\n\n```javascript\nif (environment === 'production') {\n  ENV.zopim = {\n    id: 'xxx',\n    bubble: {\n      color: '#3300cc'\n    }\n  };\n}\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flukes%2Fember-cli-zopim-live-chat","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flukes%2Fember-cli-zopim-live-chat","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flukes%2Fember-cli-zopim-live-chat/lists"}