https://github.com/xakep666/wurl
Console client for websocket protocol
https://github.com/xakep666/wurl
cli-app client console-application console-tool custom-header golang websocket websocket-client websocket-protocol
Last synced: 2 months ago
JSON representation
Console client for websocket protocol
- Host: GitHub
- URL: https://github.com/xakep666/wurl
- Owner: xakep666
- License: mit
- Created: 2018-04-05T12:57:29.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2023-12-18T23:41:42.000Z (over 2 years ago)
- Last Synced: 2024-06-20T10:08:39.365Z (almost 2 years ago)
- Topics: cli-app, client, console-application, console-tool, custom-header, golang, websocket, websocket-client, websocket-protocol
- Language: Go
- Homepage:
- Size: 3.31 MB
- Stars: 9
- Watchers: 4
- Forks: 2
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# wurl - console client for websocket protocol
[](http://godoc.org/github.com/xakep666/wurl)
[](https://goreportcard.com/report/github.com/xakep666/wurl)
[](https://github.com/github.com/xakep666/wurl/LICENSE)
## Abstract
At the moment we already have quite few websocket clients. Starting from browser addons, ending with console clients.
But I`m not satisfied with either of them. Browser addons requires installed and running browser.
NodeJS-based clients requires node and tons of dependencies.
But most importantly, none of them allows you to specify additional headers for request.
So I decided to write own console websocket client...
## Installation
`go get -u github.com/xakep666/wurl`
`vgo get -u github.com/xakep666/wurl`
Pre-built binary releases available for:
- Linux: x86_64, x86, arm
- Mac OS (darwin): x86_64
- Windows: x86_64, x86
## Current features
- Read text/binary messages from connection and display it
- Ability to set additional headers for connection upgrade request
- Correctly processes ping message (by default responses with pongs message)
- Can periodically send ping message to server (period can be set through flags)
### TODOs for v1
- [x] Document all packages
- [x] Flag to show handshake response
- [x] Store and load options from file
- [x] Warning about binary messages before displaying (cURL-like)
- [x] Ability to specify output
- [x] Option to send message to server before reading
- [x] Good description for all flags/commands
- [x] Proxy support
- [x] Bash autocomplete
- [ ] Package to rpm, deb, for Arch (after release)