libwebsockets

Install command:
brew install libwebsockets

C websockets server library

https://github.com/warmcat/libwebsockets

License: MIT

Development: Pull requests

Formula JSON API: /api/formula/libwebsockets.json

Formula code: libwebsockets.rb on GitHub

Bottle (binary package) installation support provided for:

macOS on
Apple Silicon
golden gate ✅
tahoe ✅
sequoia ✅
Linux ARM64 ✅
x86_64 ✅

Current versions:

stable ✅ 5.1.0
head ⚡️ HEAD

Depends on:

libevent 2.1.13 Asynchronous event library
libuv 1.53.0 Multi-platform support library with a focus on asynchronous I/O
openssl@4 4.1.0 Cryptography and SSL/TLS Toolkit

Depends on when building from source:

cmake 4.4.5 Cross-platform make

GitHub Packages downloads:

Last 30 days54,832
Downloads927,802
Analytics install events (30 days)4,659
Downloads / install events (30 days)11.8×

Source: GitHub Packages, fetched 2026-11-03T00:40:26Z. Analytics dates: 2026-10-04 to 2026-11-03. Totals exclude downloads from Bintray before the migration to GitHub Packages. Downloads and install attempts measure different things; the difference does not count analytics opt-outs. Definitions and limitations.

Analytics:

30 days90 days365 days
Installs4,6589,01434,536
Installs (--HEAD)1623
Installs on Request6001,1355,180
Installs on Request (--HEAD)0419
Build Errors12