Skip to content
@open-socket

Open Socket

OpenFeature Logo

Welcome to the OpenSocket project đź‘‹

OpenSocket is an open-source initiative aimed at creating a vendor-agnostic, multi-platform API for socket-based real-time communication. Our goal is to empower developers to integrate real-time features with flexibility and simplicity, allowing them to easily switch between socket providers (such as Ably, Socket.IO, and Pusher) without being locked into a single solution.

Mission

Our mission is to simplify socket communication for developers by offering a unified API and SDKs across multiple platforms and languages. OpenSocket aims to make real-time features easier to integrate, maintain, and extend, allowing for seamless adoption in applications of any scale.

Repositories

The OpenSocket project is organized as a Lerna monorepo, providing SDKs for various platforms:

  • js-sdk: A monorepo containing JavaScript-based SDKs, including the foundational @opensocket/core-js and platform-specific SDKs for React, Next.js, Vanilla JS, and Angular.

    • core: The core package (@opensocket/core-js) that provides a standardized API and Provider Interface, ensuring compatibility across multiple providers.
    • react-sdk: SDK for integrating OpenSocket into React applications.
    • next-sdk: SDK for integrating with Next.js applications.
    • vanilla-sdk: SDK for general JavaScript usage.
    • angular-sdk: SDK designed for Angular applications.
  • php-sdk: PHP-based SDK for integrating OpenSocket in PHP applications.

  • python-sdk: Python-based SDK for integrating OpenSocket into Python frameworks.

Features

  • Provider Agnostic: Easily switch between providers like Ably, Socket.IO, and Pusher with minimal configuration changes.
  • Comprehensive Interface: Access advanced real-time features, including message history, presence management, and rewind support.
  • Extensibility: Easily add support for new providers by implementing the Provider Interface.
  • Multi-platform Support: SDKs available for multiple platforms and languages to meet diverse application needs.

Getting Started

To get started with OpenSocket, install the desired SDK package and configure your provider. Each SDK repository contains detailed setup and usage guides in its respective README.

# Example: Installing core-js SDK
npm install @opensocket/core-js

Popular repositories Loading

  1. js-sdk js-sdk Public

    OpenSocket SDKs for JavaScript

    TypeScript 2 1

  2. .github .github Public

  3. community community Public

    OpenSocket project community and governance

Repositories

Showing 3 of 3 repositories
  • js-sdk Public

    OpenSocket SDKs for JavaScript

    open-socket/js-sdk’s past year of commit activity
    TypeScript 2 Apache-2.0 1 1 12 Updated Apr 23, 2025
  • .github Public
    open-socket/.github’s past year of commit activity
    0 MIT 0 0 0 Updated Nov 5, 2024
  • community Public

    OpenSocket project community and governance

    open-socket/community’s past year of commit activity
    0 MIT 0 0 0 Updated Nov 2, 2024

People

This organization has no public members. You must be a member to see who’s a part of this organization.

Top languages

Loading…

Most used topics

Loading…