{"id":13565439,"url":"https://github.com/websockets/wscat","last_synced_at":"2025-05-12T11:17:34.261Z","repository":{"id":26454359,"uuid":"29905549","full_name":"websockets/wscat","owner":"websockets","description":"WebSocket cat","archived":false,"fork":false,"pushed_at":"2025-05-03T17:06:05.000Z","size":74,"stargazers_count":2418,"open_issues_count":33,"forks_count":239,"subscribers_count":40,"default_branch":"master","last_synced_at":"2025-05-12T11:17:30.582Z","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":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/websockets.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,"zenodo":null}},"created_at":"2015-01-27T08:54:32.000Z","updated_at":"2025-05-11T20:23:23.000Z","dependencies_parsed_at":"2024-04-22T07:50:24.512Z","dependency_job_id":"5d048f43-731b-408e-88c9-e55e84950678","html_url":"https://github.com/websockets/wscat","commit_stats":{"total_commits":129,"total_committers":21,"mean_commits":6.142857142857143,"dds":0.5038759689922481,"last_synced_commit":"6b195a77838ec98664c36c9f7522c1fb97a1a7fa"},"previous_names":[],"tags_count":20,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/websockets%2Fwscat","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/websockets%2Fwscat/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/websockets%2Fwscat/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/websockets%2Fwscat/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/websockets","download_url":"https://codeload.github.com/websockets/wscat/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253726906,"owners_count":21954096,"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-01T13:01:47.003Z","updated_at":"2025-05-12T11:17:34.226Z","avatar_url":"https://github.com/websockets.png","language":"JavaScript","funding_links":[],"categories":["JavaScript","others","Command-Line Interface (CLI) Tools","Maths"],"sub_categories":["Protocols and APIs","Bitwise operations"],"readme":"# wscat\n\nWebSocket cat.\n\n## Installation\n\nThis module needs to be installed globally so use the `-g` flag when installing:\n\n```\nnpm install -g wscat\n```\n\n## Usage\n\n```\nUsage: wscat [options] (--listen \u003cport\u003e | --connect \u003curl\u003e)\n\nOptions:\n  -V, --version                       output the version number\n  --auth \u003cusername:password\u003e          add basic HTTP authentication header\n  --ca \u003cca\u003e                           specify a Certificate Authority (--connect only)\n  --cert \u003ccert\u003e                       specify a Client SSL Certificate (--connect only)\n  --host \u003chost\u003e                       optional host\n  --key \u003ckey\u003e                         specify a Client SSL Certificate's key (--connect only)\n  --max-redirects [num]               maximum number of redirects allowed (default: 10)\n  --no-color                          run without color\n  --passphrase [passphrase]           specify a Client SSL Certificate Key's passphrase (--connect\n                                      only). If you don't provide a value, it will be prompted for\n  --proxy \u003c[protocol://]host[:port]\u003e  connect via a proxy. Proxy must support CONNECT method\n  --slash                             enable slash commands for control frames (/ping [data], /pong\n                                      [data], /close [code [, reason]]) (--connect only)\n  -c, --connect \u003curl\u003e                 connect to a WebSocket server\n  -H, --header \u003cheader:value\u003e         set an HTTP header. Repeat to set multiple (--connect only)\n                                      (default: [])\n  -l, --listen \u003cport\u003e                 listen on port\n  -L, --location                      follow redirects\n  -n, --no-check                      do not check for unauthorized certificates (--connect only)\n  -o, --origin \u003corigin\u003e               optional origin\n  -p, --protocol \u003cversion\u003e            optional protocol version\n  -P, --show-ping-pong                print a notification when a ping or pong is received\n                                      (--connect only)\n  -s, --subprotocol \u003cprotocol\u003e        optional subprotocol. Repeat to specify more than one\n                                      (default: [])\n  -w, --wait \u003cseconds\u003e                wait given seconds after executing command (-1 to hold open)\n  -x, --execute \u003ccommand\u003e             execute command after connecting. Repeat to execute more than\n                                      one (--connect only) (default: [])\n  -h, --help                          display help for command\n```\n\n## Example\n\n```\n$ wscat -c wss://websocket-echo.com\nConnected (press CTRL+C to quit)\n\u003e hi there\n\u003c hi there\n\u003e are you a happy parrot?\n\u003c are you a happy parrot?\n```\n\n## License\n\n[MIT](LICENSE)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwebsockets%2Fwscat","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwebsockets%2Fwscat","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwebsockets%2Fwscat/lists"}