Skip to content
This repository has been archived by the owner on May 1, 2024. It is now read-only.

cmaster11/qvalet

Repository files navigation

qValet

"Buy Me A Coffee"

qValet listens for HTTP requests and executes commands on demand.

GitHub release (latest SemVer) GitHub all releases

Links:

Feature list

  • Command execution with templatable fields (command, arguments, environment variables, etc…)
  • Some built-in authentication methods
  • Storage for payloads and execution results
  • Trigger conditions to evaluate if a command should be run or not
  • AWS SNS support, to automatically accept subscription requests and receive AWS SNS messages
  • Scheduled tasks, to execute commands in the future
  • And more!

Example

listeners:

  /hello:

    # Returns the output of the command in the response
    return: output

    # Command to run, and list of arguments
    command: bash
    args:
      - -c
      # You can use templates to customize commands/arguments/env vars
      - |
        echo "Hello {{ .name }}"

Tested with:

curl "http://localhost:7055/hello?name=Mr.%20Anderson"

Will return:

{"output":"Hello Mr. Anderson\n"}