Tools: HookLab - Watch your Claude Code hooks in real time
Source: Dev.to
Claude Code recently added HTTP hooks. Instead of shell scripts, you can point hook events at a URL. I built HookLab to play with that. It’s a live dashboard. Every hook event shows up in the browser as it happens: which tools are being called, what arguments they get, what comes back. You can filter by event type, tool, session, and expand any row to inspect the full payload. Then point your hooks at it. The README has the full settings.json config you need. Built with Phoenix LiveView and SQLite. Next version will let you block or modify hook events based on rules. Templates let you quickly answer FAQs or store snippets for re-use. Are you sure you want to hide this comment? It will become hidden in your post, but will still be visible via the comment's permalink. Hide child comments as well For further actions, you may consider blocking this person and/or reporting abuse CODE_BLOCK:
services: app: image: ghcr.io/felipeelias/hook-lab:latest ports: - "4000:4000" volumes: - hook_lab_data:/app/data environment: SECRET_KEY_BASE: ${SECRET_KEY_BASE} DATABASE_PATH: /app/data/hook_lab.db PHX_HOST: localhost volumes: hook_lab_data: export SECRET_KEY_BASE=$(openssl rand -base64 64)
docker compose up -d Enter fullscreen mode Exit fullscreen mode CODE_BLOCK:
services: app: image: ghcr.io/felipeelias/hook-lab:latest ports: - "4000:4000" volumes: - hook_lab_data:/app/data environment: SECRET_KEY_BASE: ${SECRET_KEY_BASE} DATABASE_PATH: /app/data/hook_lab.db PHX_HOST: localhost volumes: hook_lab_data: export SECRET_KEY_BASE=$(openssl rand -base64 64)
docker compose up -d CODE_BLOCK:
services: app: image: ghcr.io/felipeelias/hook-lab:latest ports: - "4000:4000" volumes: - hook_lab_data:/app/data environment: SECRET_KEY_BASE: ${SECRET_KEY_BASE} DATABASE_PATH: /app/data/hook_lab.db PHX_HOST: localhost volumes: hook_lab_data: export SECRET_KEY_BASE=$(openssl rand -base64 64)
docker compose up -d