Repolode
socketio

socketio/socket.io

Socket.IO is a library for real-time, bidirectional, low-latency event-based communication between clients and servers.

Stars
63,220
Forks
10,221
Open issues
187
Last commit
22 days ago

What is it?

Socket.IO enables real-time, bidirectional communication between web clients and servers. It is built on top of WebSocket and provides fallbacks when a WebSocket connection is not available, with features such as automatic reconnection and packet buffering.

The library is written in TypeScript and runs on Node.js, with client implementations for browsers and other platforms. Developers exchange named events with arbitrary payloads, and the server can broadcast messages to groups of connected sockets.

It suits applications that need instant updates in both directions, such as chat, live notifications, collaborative editing, or multiplayer games.

Key features

  • 01Bidirectional, event-based messaging between client and server
  • 02Automatic reconnection and packet buffering
  • 03Fallback transports when WebSocket is unavailable
  • 04Broadcasting messages to rooms and groups of sockets
  • 05Client libraries for browsers and other platforms

Use cases

  • Building real-time chat or messaging features
  • Pushing live notifications and dashboard updates to users
  • Synchronizing state in collaborative or multiplayer applications

Quick start

  1. 1

    Read the documentation for getting started

Topics

FAQ

What is socket.io?
Socket.IO is a library for real-time, bidirectional, low-latency event-based communication between clients and servers. Socket.IO enables real-time, bidirectional communication between web clients and servers. It is built on top of WebSocket and provides fallbacks when a WebSocket connection is not available, with features such as automatic reconnection and packet buffering.
Is socket.io free to use? What license does it have?
socket.io is open source under the MIT license. Check the license terms before using it in commercial products.
Is socket.io still maintained?
Actively maintained. The last commit to socket.io was on Sep 29, 2026.
What can I use socket.io for?
Building real-time chat or messaging features Pushing live notifications and dashboard updates to users Synchronizing state in collaborative or multiplayer applications
How do I install socket.io?
Read the documentation for getting started
Where can I get socket.io?
The source code and installation instructions are on GitHub: https://github.com/socketio/socket.io

Summary generated by AI from the project's README. GitHub stats refresh daily.

Related projects