Hookee
Command line webhooks, on demand
Install / Use
/learn @alexdlaird/HookeeREADME
hookee is a utility that provides command line webhooks, on demand! Dump useful request data to the
console, process requests and responses, customize response data, and configure hookee and its routes
further in any number of ways through custom plugins.
Installation
hookee is available on PyPI and can be installed
using pip:
pip install hookee
or conda:
conda install -c conda-forge hookee
That's it! hookee is now available as a Python package and is available from the command line.
Configure authtoken
To get the most out of hookee, you'll want to obtain an authtoken from ngrok (it's
free!) and install it in to hookee's config file:
hookee authtoken $NGROK_AUTHTOKEN
Basic Usage
hookee makes it easy to get webhooks on the fly right from the console. Simply start it with:
hookee start
With its default configuration, this will start a server on port 8000, open a ngrok tunnel
using pyngrok, and mount a URL at /webhook. Sending any request to
the /webhook endpoint will dump the request and response data to the console.
hookee can be configured in a number of ways to quickly and easily tweak request and response data. For example,
here is how you can customize the response body from /webhook using the --response arg.
hookee --response "<Response>Ok</Response>" \
--content-type application/xml
hookee can also be started without a tunnel (removing the dependency on ngrok and an Internet connection). Using
the --no-tunnel flag only starts hookee's server, allowing responses to be mocked locally. This can be particularly
useful when service discovery is done through a proxy service (ex. HAProxy,
Envoy, etc.), meaning you can tell hookee to start on the port of an expected downstream,
thus intercepting requests to that service to provide your own responses in an isolated environment, very useful for
rapid local development, cluster testing, and more.
hookee --no-tunnel --response "<Response>Ok</Response>" \
--content-type application/xml \
--default-route /some/route \
--port 19780
To see the ways hookee can be tweaked right from the console, view its documented args and commands like this:
hookee --help
Documentation
For more advanced usage, including how hookee's default configuration can be changed, extended through plugins,
API integrations, and more, see its official documentation is available
at Read the Docs.
Contributing
If you would like to get involved, be sure to review the Contribution Guide.
Want to contribute financially? If you've found hookee useful, sponsorship
would
also be greatly appreciated!
Related Skills
claude-opus-4-5-migration
108.7kMigrate prompts and code from Claude Sonnet 4.0, Sonnet 4.5, or Opus 4.1 to Opus 4.5
model-usage
347.9kUse CodexBar CLI local cost usage to summarize per-model usage for Codex or Claude, including the current (most recent) model or a full model breakdown. Trigger when asked for model-level usage/cost data from codexbar, or when you need a scriptable per-model summary from codexbar cost JSON.
TrendRadar
50.9k⭐AI-driven public opinion & trend monitor with multi-platform aggregation, RSS, and smart alerts.🎯 告别信息过载,你的 AI 舆情监控助手与热点筛选工具!聚合多平台热点 + RSS 订阅,支持关键词精准筛选。AI 智能筛选新闻 + AI 翻译 + AI 分析简报直推手机,也支持接入 MCP 架构,赋能 AI 自然语言对话分析、情感洞察与趋势预测等。支持 Docker ,数据本地/云端自持。集成微信/飞书/钉钉/Telegram/邮件/ntfy/bark/slack 等渠道智能推送。
mcp-for-beginners
15.8kThis open-source curriculum introduces the fundamentals of Model Context Protocol (MCP) through real-world, cross-language examples in .NET, Java, TypeScript, JavaScript, Rust and Python. Designed for developers, it focuses on practical techniques for building modular, scalable, and secure AI workflows from session setup to service orchestration.
