Skip to content

beviz/jack-jack

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Manage and run your common commands in one place. Cross-platform, based on Electron.

Download

How to use

Create some YAML config files(with any name you want), example:

folder1
├─┬ Windows
│ └── gost.yml
├─┬ macOS
  ├─┬ proxy
  │ └── gost.yml
  └── docker.yml

Then select root folder folder1 as Jack-Jack's config folder. Done!

Config

  • (Optional) mode: specify effect for other commands of same config file

    • conflict: when one command has been started, others will be stopped
    • union: when one command has been started or stopped, others will be started or stopped
  • (Optional) autorun: auto run command when app started

    • all: for all platforms
    • aix darwin freebsd linux openbsd sunos win32, split by spaces
  • (Optional) platform: hide commands expect specify platforms

    • all: for all platforms
    • aix darwin freebsd linux openbsd sunos win32, split by spaces
  • (Optional) dir: default command work directory

  • (Required) commands: commands array

Example:

Simplest

commands:
  - name: ping Google
    command: ping google.com

Completed

mode: conflict
dir: '~'
platform: win32 darwin
commands:
  - name: gost proxy for host 1
    command: gost.exe -L=http://:8080 =F=https://name:pwd@host1:port -D
    tags: https proxy
    autorun: win32
  - name: gost proxy for host 2
    command: gost.exe -L=http://:8080 =F=https://name:pwd@host2:port -D
    tags: https proxy
    dir: ~/host2

TODO:

  • beatify UI
  • grouping display
  • input commands
  • edit commands
  • sudo support