Skip to content

DIYA73/webhookforge

Repository files navigation

🔨 webhookforge

Webhook Inspector, Replayer & Analytics Dashboard

Capture, inspect, replay, and analyze webhooks in real-time. Self-hostable alternative to RequestBin — with a proper analytics dashboard.

TypeScript NestJS Next.js PostgreSQL Redis Docker License: MIT

Live Demo · API Docs · Report Bug


WebhookForge Demo


✨ Features

  • 🎯 Unique Endpoints — generate isolated webhook URLs per project
  • Real-time Capture — see incoming requests live via WebSocket
  • 🔁 Replay Engine — resend any webhook to any target URL with retry logic (BullMQ)
  • 📊 Analytics Dashboard — requests over time, success/fail rate, avg response time
  • 🏢 Multi-tenant — full workspace isolation per team
  • 🐳 Self-hostable — Docker Compose, deploy anywhere

🛠️ Tech Stack

Layer Technology
Frontend Next.js 14, TypeScript, Tailwind CSS, Recharts
Backend NestJS, TypeScript, WebSockets (Socket.io)
Queue Redis + BullMQ (async replay engine)
Database PostgreSQL + Prisma ORM
Auth JWT + Refresh Tokens
DevOps Docker, Docker Compose, GitHub Actions CI

🚀 Quick Start

git clone https://github.com/DIYA73/webhookforge.git
cd webhookforge
cp .env.example .env
docker compose up postgres redis -d
cd apps/api && cp ../../.env .env && npm install
npx prisma migrate dev --name init
cd ../.. && npm install && npm run dev

Open http://localhost:3000 🎉


🔌 API Reference

Method Endpoint Description
POST /api/auth/register Register + create workspace
POST /api/auth/login JWT login
POST /api/endpoints Create webhook endpoint
ALL /api/hook/:slug Capture incoming webhook
POST /api/replay Replay to target URL
GET /api/analytics/summary Overview stats
WS / Real-time request stream

📈 Roadmap

  • Monorepo setup (NestJS + Next.js + shared types)
  • Docker Compose (PostgreSQL + Redis)
  • Prisma schema (User, Workspace, Endpoint, Request, ReplayJob)
  • Auth module (register, login, JWT)
  • Endpoint generation (unique slug URLs)
  • Request capture (any HTTP method)
  • WebSocket live push
  • Replay engine (BullMQ + retry)
  • Analytics dashboard (Recharts)
  • Deploy to Vercel + Render

📄 License

MIT © DIYA73


Built with ❤️ — SaaS & Microservices Engineer

About

Webhook inspector, replayer & analytics dashboard — capture incoming webhooks in real-time, replay to any endpoint, visualize traffic. Self-hostable. Built with NestJS, Next.js, Redis & PostgreSQL.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors