WebSocket

Top 23 WebSocket Open-Source Projects

  • Socket.io

    Realtime application framework (Node.JS server)

    Project mention: Mastering Microservices: A Hands-On Tutorial with Node.js, RabbitMQ, Nginx, and Docker | dev.to | 2024-02-08

    Before diving into this tutorial, if you find microservices mysterious, check out my previous article for a detailed explanation. In this hands-on tutorial, we'll build a real-time chat server using Node.js, Socket.io, RabbitMQ, and Docker. Get ready for a practical journey into the world of microservices! Let's begin.

  • Postwoman

    👽 Open source API development ecosystem - https://hoppscotch.io

    Project mention: 7 Essential Hoppscotch Features to Skyrocket API Development Productivity 🚀 | dev.to | 2024-03-18

    For the past five years, Hoppscotch 🛸 has been quietly transforming the way developers tackle their work in the API development world. Our mission has always been to make developer's lives easier and their workflows smoother, all from the comfort of their browser. And guess what? We might have evolved and gotten strong, but we are staying true to our goal of simplifying things for developers everywhere. Today, we're here to spill the beans on the simple yet powerful productivity hacks that Hoppscotch offers. Get ready to level up your development game in ways you never imagined.

  • SurveyJS

    Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App. With SurveyJS form UI libraries, you can build and style forms in a fully-integrated drag & drop form builder, render them in your JS app, and store form submission data in any backend, inc. PHP, ASP.NET Core, and Node.js.

  • uptime-kuma

    A fancy self-hosted monitoring tool

    Project mention: Show HN: Free Certificate Monitoring via RSS | news.ycombinator.com | 2024-02-26

    Uptime Kuma can also monitor certificate expiration; you can also enable it to show you how many days are left until it expires.

    https://github.com/louislam/uptime-kuma

  • mitmproxy

    An interactive TLS-capable intercepting HTTP proxy for penetration testers and software developers.

    Project mention: Ask HN: Fiddler Alternatives | news.ycombinator.com | 2024-03-14
  • libcurl

    A command line tool and library for transferring data with URL syntax, supporting DICT, FILE, FTP, FTPS, GOPHER, GOPHERS, HTTP, HTTPS, IMAP, IMAPS, LDAP, LDAPS, MQTT, POP3, POP3S, RTMP, RTMPS, RTSP, SCP, SFTP, SMB, SMBS, SMTP, SMTPS, TELNET, TFTP, WS and WSS. libcurl offers a myriad of powerful features

    Project mention: Open source at Fastly is getting opener | dev.to | 2024-03-15

    Through the Fast Forward program, we give free services and support to open source projects and the nonprofits that support them. We support many of the world’s top programming languages (like Python, Rust, Ruby, and the wonderful Scratch), foundational technologies (cURL, the Linux kernel, Kubernetes, OpenStreetMap), and projects that make the internet better and more fun for everyone (Inkscape, Mastodon, Electronic Frontier Foundation, Terms of Service; Didn’t Read).

  • Echo

    High performance, minimalist Go web framework

    Project mention: Go + Hypermedia - A Learning Journey (Part 1) | dev.to | 2024-02-23

    Echo - web framework for Go

  • Iris

    The fastest HTTP/2 Go Web Framework. New, modern and easy to learn. Fast development with Code you control. Unbeatable cost-performance ratio :rocket:

    Project mention: How to Use Iris and PostgreSQL for Web Development | dev.to | 2023-07-02

    Iris is a fast and lightweight web framework for Go that offers a rich set of features and a high-performance engine. PostgreSQL is a powerful and reliable relational database system that supports advanced data types and functions. Together, they can form a solid foundation for building modern web applications.

  • InfluxDB

    Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.

  • ws

    Simple to use, blazing fast and thoroughly tested WebSocket client and server for Node.js

    Project mention: Setting up a WebSocket server in Node.js | dev.to | 2024-03-25

    Before setting up a WebSocket server in Node.js, we need to install the necessary dependencies. Fortunately, Node.js has a vibrant ecosystem with various WebSocket libraries available. In this article, we will focus on using the popular ws library, which provides a simple and efficient WebSocket implementation for Node.js.

  • gotty

    Share your terminal as a web application

    Project mention: CLI software remote elérése | /r/programmingHungary | 2023-07-11
  • Swoole

    🚀 Coroutine-based concurrency library for PHP

    Project mention: Performance benchmark of PHP runtimes | dev.to | 2024-01-17

    Swoole

  • Workerman

    An asynchronous event driven PHP socket framework. Supports HTTP, Websocket, SSL and other custom protocols.

    Project mention: Scaling to ~15K requests per second with Java – Part 1 | news.ycombinator.com | 2023-07-14

    I remember a consulting gig where they were pushing 50k requests per second with PHP in a 2018 laptop by using this framework https://github.com/walkor/workerman

    In a real application, with database connection pooling and auth sessions, it went down to 15k requests/s.

    And that was PHP7. PHP8 introduced JIT so it's probably significantly faster these days and hopefully fully typed.

  • socket.io-client

    Realtime application framework (client)

  • Mongoose

    Embedded Web Server (by cesanta)

    Project mention: Coroutines in C | news.ycombinator.com | 2024-02-25

    I've found myself at this webpage multiple times while trying to minimize the complexity of APIs in my C projects.

    My conclusion for now is that C coroutines are something to be left to the implementer. For example: Mongoose (https://github.com/cesanta/mongoose) uses event callbacks to deal with asynchronousness. It is much more pleasant to wrap a library like this in whatever thread/task primitives your system has rather than try to integrate the mythical cross-platform c couroutine.

  • http-proxy-middleware

    :zap: The one-liner node.js http-proxy middleware for connect, express, next.js and more

    Project mention: About Reverse Proxy | dev.to | 2023-10-09

    Then we translate each rule. webpack-dev-server uses http-proxy-middleware under the hood, and here's how to translate each field.

  • Xray_onekey

    Xray 基于 Nginx 的 VLESS + XTLS 一键安装脚本

  • Laverna

    Laverna is a JavaScript note taking application with Markdown editor and encryption support. Consider it like open source alternative to Evernote.

  • SignalR

    Incredibly simple real-time web for .NET

  • sockjs-client

    WebSocket emulation - Javascript client

    Project mention: WebSockets and Node.js - testing WS and SockJS by building a web app | dev.to | 2023-12-18

    SockJS is a library that mimics the native WebSockets API. Additionally, it will fall back to HTTP whenever a WebSocket fails to connect, or if the browser being used doesn’t support WebSockets. Like WS, SockJS requires a server counterpart; its maintainers provide both a JavaScript client library and a Node.js server library.

  • dockge

    A fancy, easy-to-use and reactive self-hosted docker compose.yaml stack-oriented manager

    Project mention: Dockge: Clean Self-Hosted Docker Compose Manager by the Creator of Uptime Kuma | news.ycombinator.com | 2024-01-14
  • Starscream

    Websockets in swift for iOS and OSX

    Project mention: WalletConnect Auth: how to connect a crypto wallet to iOS Swift DApp | dev.to | 2024-01-04

    The easiest way is to use Starscream SDK of 3.1.2 version which completley complies with their WebSocketConnecting protocol. (yep, it’s not new and may have some issues but it works)

  • Centrifugo

    Scalable real-time messaging server in a language-agnostic way. Self-hosted alternative to Pubnub, Pusher, Ably. Set up once and forever.

    Project mention: WebSockets vs. Server-Sent-Events vs. Long-Polling vs. WebRTC vs. WebTransport | news.ycombinator.com | 2024-03-20

    Hello, I am author of https://github.com/centrifugal/centrifugo. Our users can choose from WebSocket, EventSource, WebTransport (experimental stabilize in the future). WebRTC is out of scope as the main purpose is central server based real-time json/binary messaging, and WebRTC makes things much more complex since it shines for peer-to-peer and rich media communications.

    What I'd like to add is that Centrifugo also supports HTTP-streaming – not mentioned by the OP – but this is a transport which has advantages over Eventsource - like possibility to send POST body on initial request from web browser (with SSE you can not), it supports binary, and with Readable Streams browser API it's widely supported by modern browsers.

    Another thing I'd like to mention about Centrifugo - it supports bidirectional WebSocket fallbacks with EventSource and HTTP-streaming, and does this without sticky sessions requirement. I guess nobody else have this at this point. See https://centrifugal.dev/blog/2022/07/19/centrifugo-v4-releas.... Which solves one more practical concern. Sticky sessions is an optimization in Centrifugo case, not a requirement.

    If you are interested in topic, we also have a post about WebSocket scalability - https://centrifugal.dev/blog/2020/11/12/scaling-websocket - it covers some design decisions made in Centrifugo.

  • ttyd

    Share your terminal over the web

    Project mention: Any fun/interesting custom scripts or services being ran on your setup? | /r/homelab | 2023-05-16

    I do everything through a web browser -- I run an Arch VM with a modified version of ttyd running as a systemd service.

  • cowboy

    Small, fast, modern HTTP server for Erlang/OTP.

  • WorkOS

    The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.

NOTE: The open source projects on this list are ordered by number of github stars. The number of mentions indicates repo mentiontions in the last 12 Months or since we started tracking (Dec 2020). The latest post mention was on 2024-03-25.

WebSocket related posts

Index

What are some of the best open-source WebSocket projects? This list will help you:

Project Stars
1 Socket.io 59,971
2 Postwoman 59,677
3 uptime-kuma 47,825
4 mitmproxy 34,063
5 libcurl 33,908
6 Echo 28,301
7 Iris 24,792
8 ws 20,914
9 gotty 18,390
10 Swoole 18,192
11 Workerman 10,890
12 socket.io-client 10,516
13 Mongoose 10,474
14 http-proxy-middleware 10,446
15 Xray_onekey 9,182
16 Laverna 9,135
17 SignalR 9,072
18 sockjs-client 8,349
19 dockge 8,344
20 Starscream 8,096
21 Centrifugo 7,815
22 ttyd 7,202
23 cowboy 7,143
The modern identity platform for B2B SaaS
The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.
workos.com