Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/sng2c/rpipe
https://github.com/sng2c/rpipe
Last synced: about 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/sng2c/rpipe
- Owner: sng2c
- Created: 2021-12-03T05:14:40.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2022-04-20T11:09:44.000Z (over 2 years ago)
- Last Synced: 2024-06-20T06:31:08.153Z (6 months ago)
- Language: Go
- Size: 128 KB
- Stars: 4
- Watchers: 2
- Forks: 0
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# rpipe
`rpipe` relays message between child process and redis pubsub channel.
1. `rpipe` subscribes Redis channel named HOSTNAME.
2. `rpipe` spawns child process as COMMAND.
3. `rpipe` publishes child's STDIO outputs to Redis.
4. `rpipe` passes messages from Redis into child's STDIN.
5. `rpipe` works with STDIN, STDOUT pipe.
6. `rpipe` secures data with PKI encryption.## Usage
```bash
$ ./rpipe -h
Usage: ./rpipe [flags] [COMMAND...]
Flags:
-name string
My channel. Required
-nonsecure
Non-Secure messages.
-pipe
Type and show data only. And process EOF.
-redis string
Redis URL (default "redis://localhost:6379/0")
-target string
Target channel. No need to specify target channel in sending message.
-verbose
Verbose
```###
## TO-DO
* ~~Secure (PKI)~~
* ~~STDIN/STDOUT processing~~
* Documentation