Skip to content

Badrpas/rtmuxer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

31 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

rTMUXer build

Use yaml config to define tmux sessions and windows layout.

Install

You can download binary from latest release or install using cargo:

$ cargo install --git https://github.com/Badrpas/rtmuxer.git

Usage

With specific config file(s):

Define config file:

# server-conf.yaml

# create a session named `foo`
foo:

  # create a window named `bar`
  bar:
    # set current dir to `/www`; if not absolute - resolves from config location
    cwd: /www
    # run a command in the window
    cmd: http-server .
    # set PORT environment variable
    env:
      PORT: 8080
$ rtmuxer server-conf.yaml

Implicitly use config in current dir:

Filepath can be omitted if config named rtmuxer.yaml exists in current working directory:

# rtmuxer.yaml
hello:
  world:
    cmd: echo hi
$ rtumxer

About

tmux session management from file config

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages