¿Puedo vibecodear Svix?
PARCIAL · un fin de semanaThe core loop here is genuinely small: accept an event, look up subscribed endpoints, sign the payload, POST it, retry on failure with backoff, log the attempt. An agent will produce that in a session, and for a single product sending a few thousand events a day it will work fine. What does not fall out of a one-shot is the boring half: a queue that survives restarts, per-endpoint rate limiting and circuit breaking so one dead customer does not poison your worker pool, replay and manual retry tooling, a portal your customers can log into, and signature schemes that third-party libraries already understand. Svix is also open source, which means the honest DIY move is often self-hosting theirs rather than writing your own. Call it a weekend for something you would actually put in front of paying users, and understand that you are now on call for it.
Build a self-hosted outbound webhook delivery service. Single Node.js project, TypeScript, Fastify for HTTP, Postgres via Drizzle ORM, BullMQ on Redis for the delivery queue. Docker Compose for Postgres and Redis. No cloud accounts, no telemetry, no auth provider: a single static API key in .env guards the admin and ingest routes.
Data model:
- applications: id, name, created_at (one per tenant/customer of mine)
- endpoints: id, application_id, url, description, secret, enabled, event_types (text array, empty means all), created_at
- messages: id, application_id, event_type, payload jsonb, created_at
- attempts: id, message_id, endpoint_id, attempt_number, status_code, response_body_excerpt, error, duration_ms, created_at
HTTP API (all JSON, all behind the API key header):
- POST /api/applications, GET /api/applications
- POST /api/applications/:id/endpoints, GET, PATCH, DELETE
- POST /api/applications/:id/messages: body has event_type and payload. Persist the message, resolve matching enabled endpoints, enqueue one delivery job per endpoint, return the message id with 202.
- GET /api/messages/:id/attempts
- POST /api/attempts/:id/replay: re-enqueue that single delivery immediately.
Delivery worker:
- POST the raw JSON payload with headers: webhook-id, webhook-timestamp (unix seconds), webhook-signature as "v1," plus base64 HMAC-SHA256 over "{id}.{timestamp}.{body}" using the endpoint secret.
- 5 second connect timeout, 10 second total timeout.
- Success is any 2xx. Retry on everything else with backoff: 5s, 30s, 5m, 30m, 2h, 5h, then give up and mark the endpoint as failing.
- Record an attempt row for every try, truncating response bodies to 2KB.
- Rate limit per endpoint to 20 concurrent deliveries max using a BullMQ group or per-endpoint limiter.
Also build a minimal server-rendered admin UI at / using Fastify plus plain HTML templates and no frontend framework: list applications, list endpoints, list recent messages, drill into a message to see attempts and hit replay. Ugly is fine, tables and buttons only.
Out of scope: a customer-facing self-serve portal, per-customer login, multi-region, event type schema validation, inbound webhook receiving, transformations.
Include a README with docker compose up, migration command, and one curl example that creates an application, an endpoint pointing at a local sink, and sends a message. Add a small script that runs a throwaway HTTP sink on port 4000 that verifies the signature and prints the payload, so delivery can be tested end to end. Write integration tests for signature generation and for the retry backoff schedule.$ ábrelo en tu agente (prompt listo, tú das enter) o cópialo crudo
Se puede en parte
Ahorro de referencia: US$5880/año si dejas de pagar Svix.
prompt copied. want to know what dies next week?
veredictos nuevos + votos de la semana. gratis. te sales en un clic.
Webhook delivery is a system where the failure modes are all in the tail: the customer whose endpoint returns 200 but drops the body, the one that goes down for six hours, the traffic spike that queues fifty thousand deliveries behind one timeout. Writing the happy path takes an afternoon. Discovering and handling those tails takes months of production traffic you have not had yet. Teams pay so that outbound webhooks stop being a thing they think about, and so that when a customer complains about a missed event there is a searchable log and a replay button instead of a grep through application logs.
xA customer-facing portal where your users manage their own endpoints and see failures
xBattle-tested signature format that existing verification libraries accept out of the box
xPer-endpoint circuit breaking and rate limiting so one slow consumer does not stall everyone
xOperational maturity: dead-letter handling, replay windows, throughput under a spike
xSomeone else being paged when delivery breaks at 3am
Nada que valga la pena señalar. Por eso existe el prompt.
¿Puedo vibecodear Svix?
Parcial. El núcleo de Svix se arma en un fin de semana con el prompt de esta página, pero hay huecos reales: A customer-facing portal where your users manage their own endpoints and see failures, Battle-tested signature format that existing verification libraries accept out of the box. Lee la lista honesta arriba antes de comprometerte.
¿Cuánto cuesta Svix?
Svix cuesta unos $490/mes (Professional, revisado 2026-08-18), o sea $5880 al año.
¿Qué pierdo si reemplazo Svix?
Con honestidad: A customer-facing portal where your users manage their own endpoints and see failures; Battle-tested signature format that existing verification libraries accept out of the box; Per-endpoint circuit breaking and rate limiting so one slow consumer does not stall everyone; Operational maturity: dead-letter handling, replay windows, throughput under a spike; Someone else being paged when delivery breaks at 3am. Si alguno de esos te sostiene el negocio, sigue pagando.
¿Hay una alternativa open source a Svix?
No hay una alternativa open source madura que valga señalar. Por eso existe el prompt de esta página.