Skip to content

lukegriffith/captainhook

Repository files navigation

CaptainHook

Go Test Go Build

Cloud based awk, transform and glue webhooks and api's together.

.\captainhook help
serve: Start the CaptainHook application server.
  -configPath string
        YAML file to configure the service with endpoints. (default "config.yml")
  -passphrase string
        Passphrase for encrypted YAML blob.
  -port string
        TCP port for server to run, default is ':8081' (default ":8081")
  -secretPath string
        Encrypted YAML blob containing string map of secrets.

encrypt: Perform encryption operations on a yaml file.
  -decrypt
        should the file be decrypted
  -filepath string
        File to perform encryption operation.
  -passphrase string
        Passphrase for encrypted YAML blob.

Example run

captainhook encrypt -filepath .\monzoSecrets.yaml -passphrase XXXXXXX
captainhook serve -configPath .\monzo2ynab.yml -passphrase XXXXXXX -secretPath .\monzoSecrets.yaml

Compiling

Go 1.13 is required to build the source code, simply run go install cmd/standalone/captainhook.go to install the binary to your gopath, then run the produced executable, located in $GOPATH/bin/

Docs

About

Cloud services awk/sed

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published