Repository navigation
Home
holyWisp is a Wisp server written in C11, with no dependencies beyond libc and pthreads. It accepts WebSocket connections, speaks Wisp v1 and v2, and relays TCP and UDP streams to the hosts its clients ask for. Browser clients built for wispurr, such as @mercuryworkshop/wisp-js, epoxy, Scramjet and STomp, work with it unchanged. Optionally it also listens for WebTransport (HTTP/3 over QUIC) on UDP.
Linux is the production platform: one epoll loop per worker thread, a listener per worker with SO_REUSEPORT, and bulk downloads moved from the remote socket to the client socket with splice, without a copy. macOS and Windows builds exist for development machines. The public relay at https://holywisp.fracit.al/ runs it.
These pages are for people who run holyWisp or build a client against it. The source and the issue tracker are at https://github.com/Fracital/holyWisp.
| Part | What it is | Where to get it |
|---|---|---|
holywisp |
The server | Release tarball, .deb, .rpm, npm, or a source build |
holywisp-client |
A netcat-style command-line client with an echo benchmark, over ws:// or WebTransport |
Release tarball, its own .deb and .rpm, or a source build (not built on Windows) |
libholywisp-client |
The blocking C client library under holywisp-client
|
A source build |
holywisp on npm |
A TypeScript wrapper that runs the server as a child process and routes a Node HTTP server's WebSocket upgrades to it, with binaries for Linux, macOS and Windows | npm install holywisp |
| Goal | Page |
|---|---|
| Try it on my own machine in a few minutes | Quickstart |
| Install it as a service on Debian, Ubuntu or Fedora | Install and run |
| Build it, run the tests or make the packages | Building from source |
| Look up an option, its default and its range | Configuration |
| Put it behind nginx, Caddy or a CDN with TLS | Reverse proxy |
| Decide what clients may reach and how many resources they get | Security and limits |
| Serve browsers over WebTransport | WebTransport |
| Send streams through an upstream proxy or WARP tunnels, or change DNS | Proxies and WARP |
| Embed it in a Node.js app or a Vite dev server | Node package |
Monitor it with /health, /stats and the log |
Stats and monitoring |
| Alarm on a stuck worker, read a crash report, restart without dropping tunnels, size its memory | Running in production |
| See what changed in a release, and what to check before upgrading | CHANGELOG.md |
| Write or debug a Wisp client | Protocol |
| Use the command-line client, the C library or the benchmarks | Client and benchmarks |
| Find out why an upgrade, a stream or a start failed | Troubleshooting |
- The built-in
hostis empty, which listens on every interface. The packaged config and the npm package bind127.0.0.1. - Streams may reach public unicast addresses only. Loopback, private, link-local and reserved addresses, and IP literals in a CONNECT, are refused until you allow them (Security and limits).
- The TCP port has no TLS. A public
wss://relay needs a reverse proxy in front (Reverse proxy). -
/statsis served on the relay's own port to anyone who can reach it (Stats and monitoring).
Checked against commit db9d9e8 on master of Fracital/holyWisp. Where a page and the code disagree, the code is right.
Getting started
Running a server
- Configuration
- Reverse proxy
- Security and limits
- Stats and monitoring
- Running in production
- Troubleshooting
Features
Clients
Releases