Skip to content

sng2c/rpipe

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

63 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

$ ./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

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published