{"id":21406737,"url":"https://github.com/ringcentral/ringcentral-js-cti-demo","last_synced_at":"2026-01-02T09:58:07.303Z","repository":{"id":146854231,"uuid":"47608516","full_name":"ringcentral/ringcentral-js-cti-demo","owner":"ringcentral","description":"CTI demo application","archived":false,"fork":false,"pushed_at":"2017-10-05T00:09:40.000Z","size":1066,"stargazers_count":4,"open_issues_count":2,"forks_count":4,"subscribers_count":8,"default_branch":"master","last_synced_at":"2025-01-23T04:11:28.124Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/ringcentral.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE.txt","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":"2015-12-08T08:20:14.000Z","updated_at":"2024-06-12T02:33:31.000Z","dependencies_parsed_at":null,"dependency_job_id":"802595b5-9def-49c9-baad-a7934691474e","html_url":"https://github.com/ringcentral/ringcentral-js-cti-demo","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ringcentral%2Fringcentral-js-cti-demo","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ringcentral%2Fringcentral-js-cti-demo/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ringcentral%2Fringcentral-js-cti-demo/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ringcentral%2Fringcentral-js-cti-demo/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ringcentral","download_url":"https://codeload.github.com/ringcentral/ringcentral-js-cti-demo/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243902321,"owners_count":20366262,"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-11-22T16:42:10.707Z","updated_at":"2026-01-02T09:58:07.274Z","avatar_url":"https://github.com/ringcentral.png","language":"HTML","funding_links":[],"categories":[],"sub_categories":[],"readme":"RingCentral CTI Demo for JavaScript\n===================================\n\n## Overview\n\nThis is a demo that showcases various [Call Telephony Integration (CTI)](https://en.wikipedia.org/wiki/Computer_telephony_integration) use cases for the RingCentral Connect Platform. The demo runs as a set of HTML5 static webpages that can on a server or locally.\n\nThe demo showcases the following use cases:\n\n1. Authorization via 3-Legged OAuth 2.0\n1. [Click-to-Call](https://en.wikipedia.org/wiki/Click-to-call)\n1. [Inbound Screen Pop](https://en.wikipedia.org/wiki/Screen_pop)\n1. Call Log Retrieval\n1. Call Recording Retrieval and Playback\n1. SMS\n\n[View Screenshot](https://raw.githubusercontent.com/ringcentral/ringcentral-cti-demo-js/master/public/images/cti-demo.png)\n\n[View Live Demo - https://ringcentral.github.io/cti-demo/](https://ringcentral.github.io/cti-demo/)\n\n## Getting Started\n\nThe full installation instructions are included as an HTML file in the demo itself. You can view the [full installation instructions on the live demo](https://ringcentral.github.io/cti-demo/instructions.html).\n\nSince this runs live on GitHub Pages, you can run this demo without any server-side installation, though it may be worthwhile to install the RingCentral for Desktop softphone as described in the instructions.\n\nYou can also run this demo on any webserver by adding the `public` directory to the server's html directory. This may be useful if you wish to edit the pages. There is no need to run a database as the demo stores all necessary data using HTML5 Local Storage (e.g. `window.localStorage`). Instructions are provided below for Node.js http-server as one easy approach for this.\n\n### Installation\n\n```sh\n$ git clone https://github.com/ringcentral/ringcentral-cti-demo-js\n$ cd ringcentral-cti-demo-js\n$ bower install ringcentral ringcentral-helpers --save\n```\n\nThe included `.bowerrc` file will save components to the `public/components` directory.\n\n### Using Node.js http-server\n\nYou can run this demo using any server that can host static webpages, including GitHub pages.\n\nUsing Node.js and `http-server` ([NPM package](https://www.npmjs.com/package/http-server)) is presented as one easy to use option.\n\n#### Pre-reqs\n\nInstall NPM globally:\n\n```\n$ curl https://npmjs.org/install.sh | sh\n```\n\nInstall `http-server` globally so it cna be run from the command line.\n\n```\n$ npm install http-server -g\n```\n\nInstall and run demo.\n\n```bash\n$ git clone https://github.com/ringcentral/ringcentral-cti-demo-js\n$ http-server ringcentral-cti-demo-js/public\n```\n\nNavigate Google Chrome to the location sepcified by `http-server`, e.g.\n\n```\nhttp://localhost:8080\n```\n\n## Customization\n\n### Syntax Highlighting\n\nThis demo uses [highlight.js](https://highlightjs.org/) for syntax highlighting. The CSS style files are located in the [GitHub repo](https://github.com/isagalaev/highlight.js/tree/master/public/styles). To choose any style, simply copy the desired style CSS file to the project's `css/highlight.css` location.\n\n## Links\n\nProject Repo\n\n* https://github.com/ringcentral/ringcentral-cti-demo-js\n\nRingCentral SDK for JavaScript\n\n* https://github.com/ringcentral/ringcentral-js\n\nRingCentral API Developer and Reference Guide\n\n* https://developer.ringcentral.com/api-docs/\n\nRingCentral API Explorer\n\n* https://developer.ringcentral.com/api-explorer/\n\n## Contributions\n\nAny reports of problems, comments or suggestions are most welcome.\n\nPlease report these on [GitHub](https://github.com/ringcentral/ringcentral-cti-demo-js).\n\n## License\n\nRingCentral CTI Demo JS is available under an MIT-style license. See [LICENSE.txt](LICENSE.txt) for details.\n\nRingCentral CTI Demo JS \u0026copy; 2016 by RingCentral\n\nRingCentral CTI Demo JS \u0026copy; 2015 by John Wang\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fringcentral%2Fringcentral-js-cti-demo","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fringcentral%2Fringcentral-js-cti-demo","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fringcentral%2Fringcentral-js-cti-demo/lists"}