{"id":23177654,"url":"https://github.com/dimitrisniras/websocket-echo-repeat","last_synced_at":"2025-10-12T14:45:20.224Z","repository":{"id":83095313,"uuid":"365283154","full_name":"dimitrisniras/websocket-echo-repeat","owner":"dimitrisniras","description":"Simple Vonage Voice API demo that connects to a websocket endpoint and echoes audio back to caller","archived":false,"fork":false,"pushed_at":"2021-05-07T16:33:08.000Z","size":31,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-10T10:15:09.013Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/dimitrisniras.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":"2021-05-07T15:50:41.000Z","updated_at":"2021-05-11T13:01:16.000Z","dependencies_parsed_at":null,"dependency_job_id":"883f46d1-1b65-4639-8648-53c40858a66f","html_url":"https://github.com/dimitrisniras/websocket-echo-repeat","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/dimitrisniras%2Fwebsocket-echo-repeat","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dimitrisniras%2Fwebsocket-echo-repeat/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dimitrisniras%2Fwebsocket-echo-repeat/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dimitrisniras%2Fwebsocket-echo-repeat/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dimitrisniras","download_url":"https://codeload.github.com/dimitrisniras/websocket-echo-repeat/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247276097,"owners_count":20912287,"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-12-18T06:35:59.232Z","updated_at":"2025-10-12T14:45:15.187Z","avatar_url":"https://github.com/dimitrisniras.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Node.js Websocket Echo Repeat Server\n\nThis sample shows how to connect a Voice API call to a websocket endpoint. The websocket acts as an \"echo server\", repeating everything that the caller says.\n\n## Setup\n\n### Install the Nexmo CLI\n\nRun the following at a terminal prompt to install the CLI and configure it with your `api_key` and `api_secret`, which you will find in the [Developer Dashboard](https://dashboard.nexmo.com):\n\n```\nnpm install -g nexmo-cli\nnexmo setup \u003cAPI_KEY\u003e \u003cAPI_SECRET\u003e\n```\n\n### Purchase a Nexmo number\n\nIf you don't already have one, buy a Nexmo virtual number to receive inbound calls.\n\nList available numbers (replace `GB` with your [two-character country code](https://www.iban.com/country-codes)):\n\n```\nnexmo number:search GB\n```\n\nPurchase one of the numbers:\n\n```\nnexmo number:buy 447700900001\n```\n\n### Create a Voice API application\n\nUse the conversation-api-function tool to create an application and link the LVN above\n\n```\nconversation-api-function config-new -a \u003cAPI_KEY\u003e -s \u003cAPI_SECRET\u003e -l \u003cLVN\u003e\n```\n\n### Install dependencies\n\nRun the following to install the required modules:\n\n```\nnvm use\nnpm i\n```\n\n### Run it\n\n1. Execute the following in your project directory:\n\n  ```\n  npm start\n  ```\n\n2. Call your Nexmo virtual number and listen to the welcome message.\n\n3. Speak into the phone and hear your voice echoed back to you by the websocket.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdimitrisniras%2Fwebsocket-echo-repeat","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdimitrisniras%2Fwebsocket-echo-repeat","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdimitrisniras%2Fwebsocket-echo-repeat/lists"}