{"id":22724276,"url":"https://github.com/jpchip/web-component-loader","last_synced_at":"2025-03-29T23:12:06.660Z","repository":{"id":149218091,"uuid":"127815201","full_name":"jpchip/web-component-loader","owner":"jpchip","description":"load web components into page","archived":false,"fork":false,"pushed_at":"2018-07-20T14:42:44.000Z","size":36,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-05T00:28:47.333Z","etag":null,"topics":["demo","polymer","stenciljs","web-components","webcomponents"],"latest_commit_sha":null,"homepage":"https://jpchip.github.io/web-component-loader/","language":"HTML","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/jpchip.png","metadata":{"files":{"readme":"README.md","changelog":null,"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":"2018-04-02T21:35:35.000Z","updated_at":"2019-04-04T14:03:48.000Z","dependencies_parsed_at":"2023-09-03T06:19:07.179Z","dependency_job_id":null,"html_url":"https://github.com/jpchip/web-component-loader","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jpchip%2Fweb-component-loader","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jpchip%2Fweb-component-loader/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jpchip%2Fweb-component-loader/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jpchip%2Fweb-component-loader/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jpchip","download_url":"https://codeload.github.com/jpchip/web-component-loader/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246254109,"owners_count":20747948,"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":["demo","polymer","stenciljs","web-components","webcomponents"],"created_at":"2024-12-10T14:15:36.216Z","updated_at":"2025-03-29T23:12:06.654Z","avatar_url":"https://github.com/jpchip.png","language":"HTML","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Web Component Loader\n\u003e Test your web components here!\n\nHave you ever stumbled across a [web component](https://developer.mozilla.org/en-US/docs/Web/Web_Components) and wondered what it looked like? \n\nThis is a simple page that let's you load up a web component from a cdn or unpkg.com \non the fly and view it. Added components are saved to local storage for\nrepeated viewing.\n\nThere's also a small library of web components I've found already to tinker\nwith. If you know of any cool ones I should add, please add them to [components.json](https://github.com/jpchip/web-component-loader/blob/master/components.json) and [submit a PR](https://github.com/jpchip/web-component-loader/pulls)!\n\nThis is just hacked together with jquery as a proof of concept.\n\n## Installing / Getting started\n\nCheck it out here:\n\nhttps://jpchip.github.io/web-component-loader/\n\n### Example Web Components:\n\n#### [ui-avatar](https://www.npmjs.com/package/ui-avatar)\n- URL: `https://unpkg.com/ui-avatar@0.0.3/dist/uiavatar.js`\n- Name: `ui-avatar`\n- Key: `name`\n- Value: `Your Name`\n\n#### [stencil-voice2text](https://www.npmjs.com/package/stencil-voice2text)\n- URL: `https://unpkg.com/stencil-voice2text@latest/dist/voice2text.js`\n- Name: `st-voice2text`\n- Content: `\u003cinput type=\"text\"\u003e\u003c/input\u003e`\n\nFind many more components to try at [https://stencilcomponents.com/](https://stencilcomponents.com/).\n\n##### [Polymer](https://www.polymer-project.org/) web components also work:\n\n#### [paper-button](https://www.webcomponents.org/element/PolymerElements/paper-button)\n- URL: `https://cdn.rawgit.com/download/polymer-cdn/2.6.0/lib/paper-button/paper-button.html`\n- Name: `paper-button`\n- Content: `Hello World`\n\n## Developing\n\n### Setting up Dev\n\nInstall some local web server. Recommend [http-server](https://github.com/indexzero/http-server).\n\n```shell\ngit clone https://github.com/jpchip/web-component-loader.git\ncd web-component-loader/\nhttp-server\n```\n\nLoad up site at [http://127.0.0.1:8080](http://127.0.0.1:8080).\n\n## Todos\n\n- [x] Allow setting unlimited number of parameters\n- [x] Allow adding more than one component\n- [ ] Add each component as a widget in a dashboard\n- [x] Store added components in local storage\n- [x] Allow editing component parameters and content\n- [x] Add support for polymer based components (ie. html) \n- [x] Add onload/onerror handlers\n- [x] Allow removing single component\n- [ ] Import/Export components \n- [x] Allow adding components from a pre-defined library (ie. components.json)\n\n## Licensing\n\nMIT\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjpchip%2Fweb-component-loader","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjpchip%2Fweb-component-loader","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjpchip%2Fweb-component-loader/lists"}