Open-Awesome
CategoriesAlternativesStacksSelf-HostedExplore
Open-Awesome

© 2026 Open-Awesome. Curated for the developer elite.

TermsPrivacyAboutGitHubRSS
  1. Home
  2. C/C++
  3. libwebsockets

libwebsockets

NOASSERTIONC

A lightweight, secure, pure C library for building scalable client and server applications with HTTP/1, HTTP/2, WebSockets, and MQTT.

Visit WebsiteGitHubGitHub
5.3k stars1.6k forks0 contributors

What is libwebsockets?

Libwebsockets is a pure C networking library that provides client and server implementations for modern protocols like HTTP/1, HTTP/2, WebSockets, and MQTT. It solves the problem of building secure, scalable, and lightweight networked applications across environments ranging from resource-constrained embedded systems to high-performance cloud servers.

Target Audience

C developers building networked applications, including those working on embedded systems, IoT devices, servers, or clients that require efficient, multi-protocol communication with strong security.

Value Proposition

Developers choose Libwebsockets for its pure C implementation, extensive protocol support, security-first TLS integration, and exceptional flexibility in event loop and deployment options, all while maintaining a small footprint and scalability.

Overview

canonical libwebsockets.org networking library

Use Cases

Best For

  • Building lightweight WebSocket servers for real-time applications
  • Creating embedded IoT devices with secure MQTT or HTTP communication
  • Developing cross-platform clients and servers in pure C
  • Implementing secure, multi-protocol proxies or gateways
  • Adding network connectivity to resource-constrained RTOS environments
  • Simplifying networked application code with the Secure Streams abstraction

Quick Stats

Stars5,346
Forks1,614
Contributors0
Open Issues198
Last commit2 days ago
CreatedSince 2013

Tags

#c-library#libev#mqtt#embedded#client-server#lightweight#tls#c#embeddable#cross-platform#http2#event-loop#libuv#portable-library#networking#websockets

Built With

O
OpenSSL
l
libuv
l
libevent
l
libev
C
CMake
m
mbedtls
G
GnuTLS
C
C++

Links & Resources

Website

Included in

C/C++70.6k
Auto-fetched 1 day ago

Related Projects

uWebSocketsuWebSockets

Simple, secure & standards compliant web server for the most demanding of applications

Stars19,011
Forks1,868
Last commit17 days ago
KCPKCP

:zap: KCP - A Fast and Reliable ARQ Protocol

Stars16,940
Forks2,634
Last commit4 months ago
Cpp-HttpLibCpp-HttpLib

A C++ header-only HTTP/HTTPS server and client library

Stars16,922
Forks2,778
Last commit1 day ago
MuduoMuduo

Event-driven network library for multi-threaded Linux server in C++11

Stars16,271
Forks5,298
Last commit10 months ago
Community-curated · Updated weekly · 100% open source

Found a gem we're missing?

Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.

Submit a projectStar on GitHub