https://github.com/kalm/kalm-cli
Kalm, from the comfort of the CLI
https://github.com/kalm/kalm-cli
cli ipc kalm socket tcp udp websocket ws
Last synced: 2 months ago
JSON representation
Kalm, from the comfort of the CLI
- Host: GitHub
- URL: https://github.com/kalm/kalm-cli
- Owner: kalm
- License: other
- Created: 2019-10-25T12:56:55.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2021-04-21T22:08:27.000Z (about 4 years ago)
- Last Synced: 2024-10-29T21:05:59.919Z (7 months ago)
- Topics: cli, ipc, kalm, socket, tcp, udp, websocket, ws
- Language: JavaScript
- Size: 13.8 MB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
Awesome Lists containing this project
README
![]()
kalm-cli
Enjoy kalm from the comfort of the CLI
## Getting started
Kalm-cli allows you to quickly build an echo server **or** send socket messages to kalm servers;
- With no programming necessary
- Without having to setup a node environement (self-contained executable)**Getting the executable**
```
curl https://raw.githubusercontent.com/kalm/kalm-cli/v1.0.0/bin/kalm-cli --output ./kalm-cli
```**Creating an Echo server that repeats and broadcasts back all messages sent to it**
```
kalm-cli echo ws my_channel -p 8080```
This will create an echo server on port 8080 that broadcasts to all connected kalm clients subscribed to channel `my_channel`.
**Writing to a kalm server**
```
kalm-cli write ws my_channel '{"some": "json_payload"}' -p 8080```
**Tailing messages from a kalm server**
```
kalm-cli tail ws my_channel -p 8080```
**More options**
Check out the manual via `kalm-cli --help`
## Contribute
If you think of something that you want, [open an issue](//github.com/kalm/kalm-cli/issues/new) or file a pull request, we'll be more than happy to take a look!
## License
[Apache 2.0](LICENSE) (c) 2021 Frederic Charette