webbie

Crates.iowebbie
lib.rswebbie
version0.1.0
created_at2025-07-30 21:17:04.821574+00
updated_at2025-07-30 21:17:04.821574+00
descriptionA tiny local HTTP server to test web hooks or other incoming HTTP requests
homepage
repository
max_upload_size
id1774081
size52,728
Alexander Baron (alexbaron-me)

documentation

README

webbie

A lightweight HTTP server for testing webhooks and inspecting HTTP requests with beautiful syntax highlighting.

Features

  • 🚀 Instant local HTTP server setup
  • 🎨 Syntax highlighting for JSON, XML, and URL-encoded request bodies
  • 📝 Detailed request logging with colored output
  • 🔍 Displays HTTP method, path, query parameters, headers, and body
  • ⚡ Built with Rust for blazing-fast performance

Installation

Install webbie globally using Cargo:

cargo install webbie

Usage

Start a server on any port:

webbie --port 8080

Or use the short flag:

webbie -p 3000

Once running, webbie will display all incoming HTTP requests with:

  • Request method (GET, POST, etc.) in green
  • Request path in blue
  • Query parameters in yellow
  • Headers with syntax highlighting
  • Request body with automatic formatting based on Content-Type

Example Output

POST /webhook/github
content-type: application/json
user-agent: GitHub-Hookshot/abc123

------ Body: ------
{
  "action": "opened",
  "number": 42,
  "pull_request": {
    "title": "Add new feature",
    "user": {
      "login": "octocat"
    }
  }
}

Use Cases

  • Testing webhook integrations locally
  • Debugging HTTP requests from third-party services
  • Inspecting API calls during development
  • Learning about HTTP request structure

License

MIT

Commit count: 0

cargo fmt