{"id":15693623,"url":"https://github.com/grokify/ringcentral-cti-demo-js","last_synced_at":"2025-04-30T06:03:43.494Z","repository":{"id":36934905,"uuid":"41242200","full_name":"grokify/ringcentral-cti-demo-js","owner":"grokify","description":"A Call-Telephony Integration (CTI) demo for the RingCentral Connect Platform using the JavaScript SDK. For assistance, please use Stack Overflow (http://stackoverflow.com) or the RingCentral Developer Community (https://devcommunity.ringcentral.com).","archived":false,"fork":false,"pushed_at":"2017-08-12T05:29:43.000Z","size":1108,"stargazers_count":8,"open_issues_count":1,"forks_count":2,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-02-05T14:46:41.815Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://developers.ringcentral.com","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/grokify.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-08-23T08:33:08.000Z","updated_at":"2024-04-21T00:40:58.000Z","dependencies_parsed_at":"2022-07-08T15:33:55.750Z","dependency_job_id":null,"html_url":"https://github.com/grokify/ringcentral-cti-demo-js","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/grokify%2Fringcentral-cti-demo-js","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/grokify%2Fringcentral-cti-demo-js/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/grokify%2Fringcentral-cti-demo-js/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/grokify%2Fringcentral-cti-demo-js/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/grokify","download_url":"https://codeload.github.com/grokify/ringcentral-cti-demo-js/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246320200,"owners_count":20758410,"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-10-03T18:46:37.924Z","updated_at":"2025-03-30T13:13:19.628Z","avatar_url":"https://github.com/grokify.png","language":"HTML","funding_links":[],"categories":[],"sub_categories":[],"readme":"RingCentral CTI Demo for JavaScript\n===================================\n\n[![License][license-svg]][license-url]\n\n[![Stack Overflow][stackoverflow-svg]][stackoverflow-url]\n[![Chat][chat-svg]][chat-url]\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/grokify/ringcentral-cti-demo-js/master/public/images/cti-demo.png)\n\n[View Live Demo - http://grokify.github.io/cti-demo/](http://grokify.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](http://grokify.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### Dependencies\n\nAside for the RingCentral for Desktop softphone, all dependencies are either built-in to the demo repo or accessed online via CDNs. There is no need to separately install depdencies such as JavaScript and CSS files.\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/grokify/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/grokify/ringcentral-cti-demo-js\n\nRingCentral SDK for JavaScript\n\n* https://github.com/ringcentral/js-sdk\n\nRingCentral API Docs\n\n* https://developers.ringcentral.com/library.html\n\nRingCentral API Explorer\n\n* http://ringcentral.github.io/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/grokify/ringcentral-cti-demo-js).\n\n## License\n\nRingCentral SDK is available under an MIT-style license. See [LICENSE.txt](LICENSE.txt) for details.\n\nRingCentral SDK \u0026copy; 2015-2017 by John Wang\n\n [license-svg]: https://img.shields.io/badge/license-MIT-blue.svg\n [license-url]: https://github.com/grokify/ringcentral-sdk-ruby/blob/master/LICENSE.md\n [chat-svg]: https://img.shields.io/badge/chat-on%20glip-orange.svg\n [chat-url]: https://glipped.herokuapp.com/\n [stackoverflow-svg]: https://img.shields.io/badge/Stack%20Overflow-ringcentral-orange.svg\n [stackoverflow-url]: https://stackoverflow.com/questions/tagged/ringcentral\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgrokify%2Fringcentral-cti-demo-js","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgrokify%2Fringcentral-cti-demo-js","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgrokify%2Fringcentral-cti-demo-js/lists"}