dhook 1.0.11 copy "dhook: ^1.0.11" to clipboard
dhook: ^1.0.11 copied to clipboard

A lightweight webhook relay service to forward webhooks from cloud to your local development environment in real-time. Alternative to smee.io with self-hosted server support.

1.0.11 #

  • Automated release on 2026-01-24

Changelog #

All notable changes to this project will be documented in this file.

The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.

[Unreleased] #


[1.0.11] - 2026-01-24 #

Added #

  • SQLite Webhook Logging for request history
    • --log flag to enable logging
    • --log-db option for custom database path
    • WebhookLogger service with query methods

Fixed #

  • URL parsing bug when adding api_key query parameter
  • Image URLs for pub.dev compatibility

1.0.10 - 2026-01-24 #

Added #

  • API Key Authentication enabled by default for security
    • --no-auth flag to disable authentication (NOT recommended)
    • --api-key flag for client to provide authentication token
    • POST /api/keys endpoint to generate new API keys
    • GET /api/keys endpoint to list registered channels
    • SHA-256 hashed key storage for security
    • Persistent key storage with --keys-file option
  • Cryptographically secure channel IDs (32 hex characters)
  • Rate limiting middleware (100 requests/minute per IP)
  • Body size limit (1MB max for webhook payloads)

Security #

  • Channel IDs are now generated using Random.secure() to prevent guessing
  • API keys use dhk_ prefix with 256-bit entropy
  • Keys are stored as SHA-256 hashes (raw keys never stored)
  • Added DoS protection via rate limiting
  • Added memory protection via body size limit

1.0.9 - 2026-01-14 #

Fixed #

  • Improved multiple subscribers test reliability

Changed #

  • Simplified deploy workflow and fixed git pull conflicts

1.0.8 - 2026-01-13 #

Fixed #

  • Complete workflow event logic refactor
  • Remove skip ci to enable tag workflow trigger

1.0.7 - 2026-01-12 #

Fixed #

  • Smart version bump with tag check
  • PAT token verification for CI/CD

1.0.6 - 2026-01-11 #

Changed #

  • Refactored CI pipeline for OIDC and PAT triggers
  • Updated test files

1.0.5 - 2026-01-11 #

Added #

  • Examples for pub.dev documentation
  • Versioned releases with latest symlink

1.0.4 - 2026-01-10 #

Added #

  • Beautiful CLI UI with colorful terminal output
  • Multi-platform binary releases (Linux, macOS, Windows)

1.0.3 - 2026-01-10 #

Fixed #

  • Install curl for Docker healthcheck
  • Remove pubspec.lock from Dockerfile

1.0.2 - 2026-01-10 #

Fixed #

  • SSH configuration for deployment
  • Git clone and docker compose via SSH

1.0.1 - 2026-01-10 #

Fixed #

  • Use stable Dart SDK version

Added #

  • Docker support with multi-stage build
  • CI/CD pipeline with GitHub Actions

1.0.0 - 2026-01-09 #

Added #

  • Initial release of DHOOK - Webhook Relay Service
  • Server Component: HTTP/WebSocket relay server using Shelf
    • Health check endpoint at /
    • Channel generation at /new
    • WebSocket connections at /ws/<channel>
    • Webhook reception at /webhook/<channel>
    • CORS support for cross-origin requests
    • Heartbeat mechanism to keep connections alive
  • Client Component: CLI agent for webhook forwarding
    • Auto-reconnect on disconnect
    • Full header and body preservation for HMAC verification
    • Query parameter forwarding
  • Docker Support: Multi-stage Dockerfile for minimal images
  • Colorful terminal logging with DLogger
  • Comprehensive test suite
3
likes
150
points
49
downloads

Publisher

unverified uploader

Weekly Downloads

A lightweight webhook relay service to forward webhooks from cloud to your local development environment in real-time. Alternative to smee.io with self-hosted server support.

Repository (GitHub)
View/report issues
Contributing

Topics

#webhook #cli #development #relay #proxy

Documentation

API reference

License

MIT (license)

Dependencies

args, crypto, http, path, shelf, shelf_router, shelf_web_socket, sqlite3, uuid, web_socket_channel

More

Packages that depend on dhook