Self-hosted service
svix/svix-webhooks avatar
svix/svix-webhooks

svix-webhooks: one API call, two databases, ten client libraries, and sixteen retracted Go versions

The open source and enterprise-ready webhooks service 🦀

3,490 stars306 forksRustMIT

At a glance

What is it?
A Rust webhook service that takes over delivery, retries and signing so an application only makes one API call. It needs PostgreSQL for events and optionally Redis for its task queue, runs under Compose, Swarm or a standalone container, ships client libraries for ten languages plus a Terraform provider, and keeps a Go module that retracts a long list of earlier versions over a bug that silently broke downstream error handling.
Who is it for?
Svix suits a team whose product sends webhooks to customers and has been forced to build retry queues, signing and delivery telemetry itself, since that is the work this service exists to absorb. It does not suit a side project that sends a handful of events, since it brings a database and a task queue with it, and it does not suit anyone who wants a hosted service without thinking about where the events live, because event storage is PostgreSQL on infrastructure you run.
Can I use it commercially?
Yes. MIT is a permissive licence: you can use, modify and sell software built on it, as long as you keep its copyright and licence notices.
Is it still maintained?
Yes. The repository received new commits within the last day.
What is it written in?
Mainly Rust, according to GitHub's language statistics.

Answers come from the project's GitHub data, last synced on November 25, 2026, and from our analysis. They are not legal advice.

From daily snapshots

Star history

  • svix/svix-webhooks3,490 ★ · +71
Star history
Repository2026-09-242026-11-25
svix/svix-webhooks3.4k3.5k

71 Stars in the last 62 days, measured from the daily GitHub snapshot. Compare with other projects

Editorial analysis

One API call, and the delivery problem moves to the other side

The pitch is a single sentence: developers make one API call and Svix takes care of deliverability, retries, security and more. What that means operationally is that the receiving endpoint no longer has to exist yet, no longer has to answer quickly, and no longer has to store anything, because the service holds the payload and redelivers it. The repository describes itself as the enterprise ready webhook service, with the open source version under an MIT licence and a hosted product behind the same name. Documentation is split in two, with general usage on one site and per endpoint, per language examples on another, which is a reasonable admission that a webhook API has enough surface that one page cannot carry it.

Ten officially supported libraries, and one honest gap in the table

The client library table has three columns and ten language rows, and reading it closely is more useful than the headline count. Go, Python, TypeScript and JavaScript, Java, Kotlin, Ruby, C#, Rust and PHP are all marked officially supported with both API support and webhook verification. Terraform is in the table too, with API support, and webhook verification marked as not applicable, which is the honest way to say that a provider has no receiver to verify. The one caveat is in the Java row: asynchronous support is listed as planned, with a note pointing Kotlin users to a separate library that has coroutine support. That is the shape of the project's client policy: broad coverage first, with the gaps written down instead of glossed.

The CLI is an npm package you can run without installing

The command line tool is published to npm under its own name rather than being bundled with a language library, and the README shows both ways to use it. The first runs it straight from the registry with a help flag and nothing installed:

sh
npx svix-cli --help

The second installs it globally first and then runs the same command, which is the pattern to use if you invoke it repeatedly:

sh
npm install -g svix-cli
svix-cli --help

The choice of npm as the distribution channel for a Rust project is worth noting, because it means the CLI arrives with a Node toolchain whether or not your application has one. The registry links for the other languages sit in the same header region of the README, from PyPI and crates.io through RubyGems, two Maven coordinates, NuGet, Packagist and the Go module proxy.

PostgreSQL is required, Redis is optional and quietly load-bearing

The runtime dependencies section is two bullets with a lot of consequence in them. A PostgreSQL server is required, and it exists for the storage of events, so this is the system of record for every payload you have ever sent through the service. A Redis server, version 6.2.0 or higher, is optional, and it is there for two jobs: the task queue and the cache. That combination explains the operational guidance that follows, under a heading covering both Redis and its alternative. Persistence is recommended so tasks survive a restart or an upgrade of the Redis server itself, and operators are asked to configure their instances so keys are not evicted without explicit configuration. In other words, the queue lives in memory unless you persist it, and a misconfigured eviction policy will silently delete pending deliveries.

Four ways to run it, and the Compose path starts two databases for you

Deployment is offered in four shapes, and the README ranks them. Docker Compose is called the easiest because it also boots and configures Redis and PostgreSQL, which removes the two dependencies you would otherwise have to provision; it assumes Compose version 2 and is started from the server directory with a compose up. A standalone container is described as slightly more advanced because you must set environment variables pointing at your own Redis and Postgres instances, either one at a time with the flag for that or through a file with the environment file flag:

code
docker run \
  --name svix-server \
  -p 8071:8071 \
  --env-file development.env \
  svix/svix-server

Docker Swarm is the advanced option, and building from source needs a Rust toolchain and a cargo build. The port in the example is 8071, and the image is published on Docker Hub with a latest tag and versioned tags.

One repository with a directory per language, plus codegen and bridge trees

The repository root shows how much surface this project carries. Each supported language has its own directory with its manifest files: a PHP directory with a Composer file and a PHPUnit configuration, a JavaScript one with a package lock, a Go one with its module files, and directories for Python, Java, Kotlin, Ruby, C#, Rust and the CLI. Alongside them sit two directories that explain the release process, one holding generated code and a script that regenerates the API specification, and one holding integration tests that run the client libraries against a server. Then there is the bridge directory, a static assets directory, a tools directory, and a set of policy files: a security policy, a code of conduct, a contributing guide, a changelog, a file describing OpenTelemetry usage and a separate readme for the libraries.

The Go module retracts sixteen versions over a silent error-handling bug

The Go module file is the most interesting thing in the root for anyone integrating on that language, and it is not where you would expect. It declares a retract block listing versions from the mid forties through v1.61.0, with a comment explaining that those versions had a bug which silently broke downstream error handling code, plus a second group described as accidentally published test versions, including one noted as never having been published at all. Retraction in the Go module system does not remove a version, it tells tooling to select something else, which is exactly the right tool for a bug that only shows up in someone else's error path. The module itself is small, requiring a UUID library and an HTTP mocking library. Releases are named for the SDKs and the CLI together, though the wording is inconsistent between tags, with one using a plus sign and an earlier one spelling it out.

Editorial conclusion

Svix suits a team whose product sends webhooks to customers and has been forced to build retry queues, signing and delivery telemetry itself, since that is the work this service exists to absorb. It does not suit a side project that sends a handful of events, since it brings a database and a task queue with it, and it does not suit anyone who wants a hosted service without thinking about where the events live, because event storage is PostgreSQL on infrastructure you run. Three things to check before adopting it: which client library you need and whether the feature you want is marked as planned in the support table, since asynchronous support on one language is listed that way; how your Redis eviction policy is configured, since the documentation asks that keys not be evicted without explicit configuration; and whether you are pinning the Go module, because a long list of earlier versions is retracted for a bug that broke downstream error handling silently.

Frequently asked questions

what is svix webhooks

Svix is an open source webhook service written in Rust and released under the MIT licence. It lets an application send webhooks with a single API call and takes care of deliverability, retries and signing, exposing both a documentation site for general usage and an API reference with examples per endpoint for each client library.

What does Svix do?

It takes over outbound webhooks. Developers make one API call, and the service handles delivery, retries, security and related concerns, so the application does not have to expose an endpoint, answer quickly or store payloads itself. Events are held in a PostgreSQL database you run, with an optional Redis server for the task queue and cache.

Which client libraries does Svix support?

Go, Python, TypeScript and JavaScript, Java, Kotlin, Ruby, C#, Rust and PHP are all marked officially supported with API access and webhook verification, and Terraform is supported for API access with verification marked not applicable. Asynchronous support on the Java library is listed as planned, with Kotlin users pointed at a separate coroutine library.

How do I run the Svix server with Docker?

Pull the official image from Docker Hub and use either the latest or a versioned tag. The easiest path is the example compose file in the server directory, which also boots and configures Redis and PostgreSQL and assumes Compose version 2. A standalone container needs environment variables pointing at your own Redis and Postgres instances, passed with a flag or through an environment file, and it listens on port 8071 in the example.

What does the Svix server need in order to run?

A PostgreSQL server, which stores events, and optionally Redis version 6.2.0 or higher for the task queue and cache. The documentation recommends enabling persistence in Redis so tasks survive restarts and upgrades, and asks that instances be configured not to evict keys without explicit configuration.

Has Svix retracted any Go module versions?

Yes. The go module file retracts a list of versions from the mid forties up to v1.61.0 with a comment saying they had a bug that silently broke downstream error handling code, and a second group of accidentally published test versions. The module also lists only two dependencies, a UUID library and an HTTP mocking library.

Official sources

  1. License: MIT
  2. Project website
  3. README
  4. Releases
  5. svix/svix-webhooks on GitHub
Add this badge to your README

If you maintain this project, the badge below links readers to this analysis and shows its maintenance status from the daily GitHub snapshot. Paste the markdown into your README; add ?metric=license or ?metric=stars to the image URL for a different field.

Add this badge to your README

markdown
[![Hysen Labs](https://hysenlabs.com/badge/svix-svix-webhooks.svg)](https://hysenlabs.com/projects/svix-svix-webhooks)

Star history chart for your README

markdown
[![Star history](https://hysenlabs.com/chart/svix-svix-webhooks.svg)](https://hysenlabs.com/projects/svix-svix-webhooks)

Was this useful?