Skip to content

Hooka

Dependency status

Hooka is a webhook server written in Node, which allows you to easily create HTTP endpoints to trigger the execution of configured commands.

Simple example

webhooks.json파일을 아래와 같이 생성한다.

[
    {
        "method": ["POST"],
        "path": "/pull",
        "command": "git pull"
    }
]

이후 프로그램을 실행한다.

$ hooka

See also

  • Webhook
  • pm2
  • PM2:Example: Node.js 서비스를 Docker로 시작하며, Hooka를 사용하여, webhook을 적용하고, 모든 프로젝트는 PM2로 관리한다.
  • pman (python)

Favorite site