Skip to main content

webhook.site in your terminal — a TUI webhook inspector

Project description

HookTUI ⚡

webhook.site in your terminal.

HookTUI is a sleek, modern Terminal User Interface (TUI) for inspecting webhooks, DNS queries, and SMTP traffic. Built with Textual, it provides a real-time stream of incoming requests with detailed inspection of headers, query parameters, and bodies.

HookTUI Screenshot (Note: Replace with actual screenshot link after push)

Features

  • 🚀 HTTP Webhook Inspector: Capture and inspect GET, POST, PUT, DELETE, and more.
  • 📬 Embedded SMTP Server: Test email sending by pointing your SMTP client to HookTUI.
  • 🌍 Embedded DNS Server: A DNS sinkhole to inspect DNS lookups in real-time.
  • 🎨 Beautiful Themes: Multiple built-in themes (Galaxy, Nebula, Aurora, Monokai).
  • 💾 Persistent History: All requests are saved to a local SQLite database and persist across sessions.
  • 📋 Clipboard Support: Easily copy request bodies or full URLs.
  • ⌨️ Vim-like Keybindings: Navigate quickly with j/k and other familiar shortcuts.

Installation

You can install HookTUI via pip:

pip install hooktui

Or using uv:

uv tool install hooktui

Quick Start

Simply run hooktui to start the server and the TUI:

hooktui

By default, the HTTP server listens on http://127.0.0.1:8080.

CLI Options

hooktui --host 0.0.0.0 --port 9000

Keybindings

Key Action
q Quit HookTUI
j / Select Next Request
k / Select Previous Request
c Clear all requests
d Delete selected request
y Copy request body
Y Copy request URL
t Cycle themes
? Show help

Configuration

Settings are stored in ~/.config/hooktui/settings.json. You can enable/disable DNS and SMTP servers and change their ports through this file or the in-app config view (coming soon).


Built with ❤️ by Sarthak Sidhant

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

hooktui-0.1.0.tar.gz (14.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

hooktui-0.1.0-py3-none-any.whl (16.3 kB view details)

Uploaded Python 3

File details

Details for the file hooktui-0.1.0.tar.gz.

File metadata

  • Download URL: hooktui-0.1.0.tar.gz
  • Upload date:
  • Size: 14.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.9.18 {"installer":{"name":"uv","version":"0.9.18","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Fedora Linux","version":"42","id":"","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for hooktui-0.1.0.tar.gz
Algorithm Hash digest
SHA256 cfceaec40584c745dcc39d578de06690a830f43188e85af50a2026f7fab3f3c7
MD5 26dc6389ef1a340b7bf9626b99869b66
BLAKE2b-256 bc2232090f401bc6c189623962b86109b10d4896734d0e657f88d59464f9feaa

See more details on using hashes here.

File details

Details for the file hooktui-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: hooktui-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 16.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.9.18 {"installer":{"name":"uv","version":"0.9.18","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Fedora Linux","version":"42","id":"","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for hooktui-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 c767995466c4278a680ce201e503c5a55ce8f01f7d31d0049a077520a375f6b6
MD5 1be06330362a67688fd19bdf45d499ec
BLAKE2b-256 5652d70bbba4a2f99a402322d1d388ebd9456f4a33fe67f057b372619f0c28a4

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page