{"id":19077905,"url":"https://github.com/backendstack21/echo-api","last_synced_at":"2026-06-29T10:31:20.466Z","repository":{"id":104003691,"uuid":"496216995","full_name":"BackendStack21/echo-api","owner":"BackendStack21","description":"\"Echo API\" is a Docker-based solution to help debugging client services and API gateway solutions. ","archived":false,"fork":false,"pushed_at":"2023-01-28T16:03:39.000Z","size":10,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-25T12:06:56.836Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"JavaScript","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/BackendStack21.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","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},"funding":{"custom":"https://www.paypal.me/kyberneees"}},"created_at":"2022-05-25T12:15:45.000Z","updated_at":"2023-01-28T16:03:03.000Z","dependencies_parsed_at":null,"dependency_job_id":"492b0c0e-0059-4fc9-9f75-782888f1c07b","html_url":"https://github.com/BackendStack21/echo-api","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/BackendStack21/echo-api","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BackendStack21%2Fecho-api","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BackendStack21%2Fecho-api/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BackendStack21%2Fecho-api/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BackendStack21%2Fecho-api/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/BackendStack21","download_url":"https://codeload.github.com/BackendStack21/echo-api/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BackendStack21%2Fecho-api/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34923763,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-29T02:00:05.398Z","response_time":58,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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-09T02:03:58.137Z","updated_at":"2026-06-29T10:31:20.461Z","avatar_url":"https://github.com/BackendStack21.png","language":"JavaScript","funding_links":["https://www.paypal.me/kyberneees"],"categories":[],"sub_categories":[],"readme":"# Introduction\n*Echo API*, is a Docker-based solution to help debugging client services and API gateway solutions. \n\n# Usage\nThe service exposes the following endpoints:\n- `GET /echo/:latency/ms`: The endpoints respond with the HTTP request headers using the `:latency` parameter value to introduce simulated latency.\n\n## Example: \n```bash\ndocker run --rm -p 3000:3000 kyberneees/echo-api:latest\n```\n```bash\ncurl -v http://localhost:3000/echo/10/ms\n\n*   Trying 127.0.0.1:3000...\n* Connected to localhost (127.0.0.1) port 3000 (#0)\n\u003e GET /echo/10/ms HTTP/1.1\n\u003e Host: localhost:3000\n\u003e User-Agent: curl/7.79.1\n\u003e Accept: */*\n\u003e \n* Mark bundle as not supporting multiuse\n\u003c HTTP/1.1 200 OK\n\u003c x-added-latency-ms: 10\n\u003c content-type: application/json; charset=utf-8\n\u003c Date: Wed, 25 May 2022 12:50:24 GMT\n\u003c Connection: keep-alive\n\u003c Keep-Alive: timeout=5\n\u003c Content-Length: 67\n\u003c \n* Connection #0 to host localhost left intact\n{\"host\":\"localhost:3000\",\"user-agent\":\"curl/7.79.1\",\"accept\":\"*/*\"}\n```\n\nContainer logs:\n```bash\nGET /echo/10/ms 200 - - 10.244 ms\n...\n```\n\n# WebSocket support\nThe service will accept WebSocket connections on port 3000, incoming messages will be echoed back to client. \n\n## Example:\n(Chrome browser example)\n```js\nws = new WebSocket('ws://localhost:3000/echo')\nws.onmessage = (msg) =\u003e console.log(msg)\n\nws.send(\"Hello World\")\n\n// Incoming message printed in console:\n// MessageEvent {isTrusted: true, data: 'Hello World', origin: 'ws://localhost:3000', lastEventId: '', source: null, …}\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbackendstack21%2Fecho-api","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbackendstack21%2Fecho-api","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbackendstack21%2Fecho-api/lists"}