{"id":13433632,"url":"https://github.com/segmentio/chrome-sidebar","last_synced_at":"2025-03-17T13:30:38.042Z","repository":{"id":20924007,"uuid":"91267007","full_name":"segmentio/chrome-sidebar","owner":"segmentio","description":"Easiest way to embed an iframe as a chrome extension","archived":true,"fork":false,"pushed_at":"2023-04-07T11:35:04.000Z","size":979,"stargazers_count":227,"open_issues_count":35,"forks_count":58,"subscribers_count":4,"default_branch":"master","last_synced_at":"2024-10-28T16:13:04.328Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://open.segment.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/segmentio.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":"2017-05-14T19:39:13.000Z","updated_at":"2024-08-09T16:39:57.000Z","dependencies_parsed_at":"2023-02-14T00:30:56.250Z","dependency_job_id":null,"html_url":"https://github.com/segmentio/chrome-sidebar","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/segmentio%2Fchrome-sidebar","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/segmentio%2Fchrome-sidebar/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/segmentio%2Fchrome-sidebar/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/segmentio%2Fchrome-sidebar/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/segmentio","download_url":"https://codeload.github.com/segmentio/chrome-sidebar/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244041344,"owners_count":20388220,"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":[],"created_at":"2024-07-31T02:01:31.390Z","updated_at":"2025-03-17T13:30:38.028Z","avatar_url":"https://github.com/segmentio.png","language":"JavaScript","funding_links":[],"categories":["JavaScript"],"sub_categories":[],"readme":"\u003ch1 align=\"center\"\u003echrome-sidebar\u003c/h1\u003e\n\u003cp align=\"center\"\u003e\n\u003cstrong\u003eEasiest way to embed an iframe as a chrome extension\u003c/strong\u003e\n\u003cbr\u003e\nbuilt by \u003ca href=\"https://open.segment.com\"\u003eSegment\u003c/a\u003e\n\u003cbr\u003e\u003cbr\u003e\n\u003ca href=\"https://npmjs.com/package/chrome-iframe-sheet\"\u003e\u003cimg src=\"https://img.shields.io/npm/v/chrome-iframe-sheet.svg\" /\u003e\u003c/a\u003e\n\u003c/p\u003e\n\n## Demo\n\n![Chrome sidebar demo](https://i.imgur.com/1gKJeYP.gif)\n\n## Features\n\n- **6kb!** minified\n- Completely customizable CSS that won't conflict with page styles\n- Mount any iframe or React component\n\n## Installation\n\n```bash\nyarn add chrome-sidebar\n# or\nnpm install --save chrome-sidebar\n```\n\n### Example\n\n```javascript\nimport React from 'react'\nimport ReactDOM from 'react-dom'\nimport { Frame } from 'chrome-sidebar'\nimport { url } from './settings'\n\nif (Frame.isReady()) {\n  Frame.toggle()\n} else {\n  boot()\n}\n\nfunction boot() {\n  const root = document.createElement('div')\n  document.body.appendChild(root)\n\n  const App = (\n    \u003cFrame url={url} /\u003e\n  )\n\n  ReactDOM.render(App, root)\n}\n```\n\n## Getting Started\n\nDownload [an example](https://github.com/segmentio/chrome-sidebar/tree/master/examples/) or [clone the repo](https://github.com/segmentio/chrome-sidebar):\n\n```bash\ncurl https://codeload.github.com/segmentio/chrome-sidebar/tar.gz/master | tar -xz --strip=2 chrome-sidebar-master/examples/github-trending\ncd github-trending\n```\n\nInstall it and run:\n\n```bash\nnpm install\nnpm run dev\n```\n\nFor development, you need to load it as an unpacked extension:\n\n![How to load unpacked extension](http://i.imgur.com/CYAw5mf.gif)\n\nNow, you should have a chrome sidebar extension on all of your pages!\n\n## Production\n\nIn order to share your extension with others, [publish to the Chrome Web Store](https://developer.chrome.com/webstore/publish). You can keep the extension unlisted (no one can search for it) or [private](https://support.google.com/chrome/a/answer/2663860?hl=en) (people have to be added to a Google group to see it).\n\nLearn more about [Chrome's manifest.json](https://developer.chrome.com/extensions/manifest)\n\n## License (MIT)\n\n```\nWWWWWW||WWWWWW\n W W W||W W W\n      ||\n    ( OO )__________\n     /  |           \\\n    /o o|    MIT     \\\n    \\___/||_||__||_|| *\n         || ||  || ||\n        _||_|| _||_||\n       (__|__|(__|__|\n```\nCopyright (c) 2017-present Segment.io, Inc. open@segment.com\n\nPermission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the 'Software'), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsegmentio%2Fchrome-sidebar","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsegmentio%2Fchrome-sidebar","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsegmentio%2Fchrome-sidebar/lists"}