跳到正文
TakoAPI
返回技能列表

hookaido

由 7schmiede 提供

Web & Frontend Development
605下载量由 clawskills.sh 提供
0浏览量
0 个赞登录后即可为这个技能点赞
—暂无评分
你的评分

简介

Operate Hookaido inbound/outbound webhook flows, queue triage, MCP workflows, and gRPC-pull workers.

描述

该技能的功能

Hookaido is a webhook gateway that accepts inbound HTTP requests, queues them, and delivers them to consumers via pull or push. It supports sqlite, memory, and postgres queue backends and exposes HTTP and gRPC pull APIs. Config is declarative via Hookaidofile with built-in auth, retry, and dead-letter queue handling.

Unlike generic message brokers, Hookaido covers the full webhook lifecycle, ingress auth, queuing, pull or push delivery, and DLQ management, without requiring a separate broker deployment for common webhook scenarios.

何时使用

  • Ingesting GitHub push events and letting workers dequeue at their own pace
  • Retrying failed Stripe webhook deliveries with exponential backoff
  • Draining a dead-letter queue after a downstream service outage
  • Running MCP mode to let an AI agent inspect queue health and backlog
  • Switching from in-memory queuing to Postgres for a shared multi-worker setup

示例工作流

输入

User asks: Set up GitHub webhook ingestion with HTTP pull consumption using a SQLite queue

智能体
  1. 1

    Write a Hookaidofile with an ingress listener, pull_api block, and a /webhooks/github route with HMAC auth pointing to a pull path

  2. 2

    Run hookaido config fmt --config ./Hookaidofile then hookaido config validate --config ./Hookaidofile

  3. 3

    Start the runtime with hookaido run --config ./Hookaidofile --db ./.data/hookaido.db

  4. 4

    Verify health via curl http://127.0.0.1:2019/healthz?details=1

  5. 5

    Send a test webhook payload and exercise the dequeue/ack cycle against the pull API

输出

GitHub webhook events are accepted, queued in SQLite, and available for workers to dequeue and acknowledge over HTTP

前置要求

  • hookaido CLI binary (v2.0.0)
  • HOOKAIDO_PULL_TOKEN env var for pull API auth
  • HOOKAIDO_INGRESS_SECRET env var for ingress HMAC auth
  • HOOKAIDO_POSTGRES_DSN env var when using postgres queue backend

安装

clawhub install 7schmiede/hookaido

运行 CLI 命令,或把这段提示词粘贴到 Claude Code、Cursor、Codex 或你在用的任意编程智能体里。

链接