{"id":13764763,"url":"https://github.com/CiscoDevNet/webex-widget-samples","last_synced_at":"2025-05-10T20:31:05.849Z","repository":{"id":89281337,"uuid":"118972884","full_name":"CiscoDevNet/webex-widget-samples","owner":"CiscoDevNet","description":"Examples for Webex Teams React Widgets","archived":false,"fork":false,"pushed_at":"2020-05-27T13:37:19.000Z","size":39,"stargazers_count":7,"open_issues_count":2,"forks_count":3,"subscribers_count":5,"default_branch":"master","last_synced_at":"2025-04-21T10:02:15.576Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://developer.webex.com/docs/widgets","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/CiscoDevNet.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG","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}},"created_at":"2018-01-25T22:01:54.000Z","updated_at":"2023-05-03T20:22:34.000Z","dependencies_parsed_at":"2023-03-03T08:00:13.895Z","dependency_job_id":null,"html_url":"https://github.com/CiscoDevNet/webex-widget-samples","commit_stats":null,"previous_names":["ciscodevnet/widget-samples"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CiscoDevNet%2Fwebex-widget-samples","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CiscoDevNet%2Fwebex-widget-samples/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CiscoDevNet%2Fwebex-widget-samples/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CiscoDevNet%2Fwebex-widget-samples/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/CiscoDevNet","download_url":"https://codeload.github.com/CiscoDevNet/webex-widget-samples/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253480380,"owners_count":21915246,"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-08-03T16:00:28.267Z","updated_at":"2025-05-10T20:31:04.337Z","avatar_url":"https://github.com/CiscoDevNet.png","language":"HTML","funding_links":[],"categories":["Code samples"],"sub_categories":["Web SDK \u0026 Widgets samples"],"readme":"# Webex Teams Widgets Samples\n\n[Webex Teams Widgets](https://developer.webex.com/docs/widgets) are open-source React components that let you integrate Cisco Webex Messaging \u0026 Audio/Video into your web apps.\n\nIf you're new to Widgets, we recommend you try the [Space Widget demo](https://code.s4d.io/widget-space/latest/demo/index.html).\n\nThis repository gathers simple examples to start with the 'Space' and 'Recents' widgets.\n\n\n\n## Quickstart using hard-coded tokens (or passed as query parameters)\n\nEnter the 'static' directory, and update each example with a Cisco Webex Teams API access token, or add `?token=XXXX` as a query parameter.\n\nThen simply open the html file on your local machine in Chrome or Firefox.\n\nExamples: \n\nGo to the static folder and open HTML file such as:\n\n- file://.../static/space/widget-space-data.html?token=XXXXXXXXXXXXXXXXXXXXXXXXX\n- file://.../static/recents/widget-recents-global.html?token=XXXXXXXXXXXXXXXXXXXXXXXXX\n- file://.../static//together/both-recents-and-space.html?token=XXXXXXXXXXXXXXXXXXXXXXXXX\n- file://.../static/space/widget-space-data.html?email=toEnglish@webex.bot\n- file://.../static/space/widget-space-data-meet-sip.html?sip=fireplace@ivr.vc\n- file://.../static/space/widget-space-data-spaceid.html?roomId=Y2lzY29zcGFyazovL3VzL1JPT00vNWU5YzM3YTAtMDFkOC0xMWU4LTg1NDgtMDFiYmYxOTZlZDNm\n\n\n## Quick start on Glitch\n\nClick [![Remix on Glitch](https://cdn.glitch.com/2703baf2-b643-4da7-ab91-7ee2a2d00b5b%2Fremix-button.svg)](https://glitch.com/edit/#!/import/github/CiscoDevNet/webex-widget-samples)\n\n\n## Using Caddy: dynamically inject access tokens\n\nUsing [Caddy template actions](https://caddyserver.com/docs/template-actions), it's possible to customize the samples by injecting your own token (with the `ACCESS_TOKEN` env variable) and query parameters on the URL (`?roomId=`, `?sip=`, `?email=`). Read instructions below.\n\nDownload caddy: https://caddyserver.com/download, and add the command to your path.\n\nRun the commands below from bash shell, and access the samples at ':9000/' (and ':9443/' for HTTPS access):\n\n```bash\ngit clone https://github.com/CiscoDevNet/webex-widget-samples\ncd webex-widget-samples\ncd caddy\n# Starts caddy with a Cisco Webex Teams API access token (check https://developer.webex.com)\nACCESS_TOKEN=access_token  caddy\n```\n\nExamples:\n\n- http://localhost:9000/space/widget-space-data.html?email=toEnglish@webex.bot\n- https://localhost:9443/space/widget-space-data-meet-sip.html?sip=fireplace@ivr.vc\n- http://localhost:9000/space/widget-space-data-spaceid.html?roomId=Y2lzY29zcGFyazovL3VzL1JPT00vNWU5YzM3YTAtMDFkOC0xMWU4LTg1NDgtMDFiYmYxOTZlZDNm\n- http://localhost:9000/recents/widget-recents-global.html\n- http://localhost:9000/together/both-recents-and-space.html\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FCiscoDevNet%2Fwebex-widget-samples","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FCiscoDevNet%2Fwebex-widget-samples","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FCiscoDevNet%2Fwebex-widget-samples/lists"}