Skip to content
@piesocket

PieSocket by Pie.host

Complete Realtime Platform

PieSocket

Realtime communication, made easy as pie.

Developer SDKs, managed cloud infrastructure, and self-hosted servers for building instant, bidirectional communication into web, mobile, and IoT applications.

Get Started · Documentation · Website


What is PieSocket?

PieSocket is a realtime communication platform that gives developers the SDKs and server infrastructure to build live features into their applications.

Use PieSocket's managed cloud or run your own self-hosted server. Either way, you can add WebSocket-powered messaging, notifications, presence, and realtime data exchange without building the entire realtime stack from scratch.

What can you build?

  • Live chat and messaging: power chat rooms, direct messages, and support experiences.
  • Realtime notifications: deliver in-app alerts and activity updates instantly.
  • Presence: show who's online and keep participant lists in sync.
  • Collaborative applications: synchronize shared state and user activity.
  • Live dashboards: stream metrics, events, and changing data without polling.
  • Multiplayer experiences: exchange low-latency events between connected clients.
  • Realtime integrations: connect your backend, services, and clients through events.

SDKs and client libraries

Use an official SDK or connect with any standard WebSocket client.


Platform Repository / Guide


JavaScript piesocket-js

Node.js piesocket-nodejs

Android / Java piesocket-android

iOS / macOS / Swift piesocket-swift

Flutter piesocket-flutter

React Native React Native guide

Laravel Laravel Echo integration

Any WebSocket client WebSocket API

See the Getting Started guide for installation instructions and platform-specific examples.

Choose how to run PieSocket

Managed cloud

Get started quickly with PieSocket's managed realtime infrastructure. Create a cluster, get your apiKey and clusterId, and connect using an SDK.

Create a PieSocket cluster

Self-hosted server

Need to run realtime infrastructure in your own environment? PieSocket also offers a self-hosted server, so you can deploy and operate your own cluster.

Learn about self-hosted PieSocket

Get started

  1. Create an account and a PieSocket cluster.
  2. Find your apiKey and clusterId in the cluster dashboard.
  3. Install the SDK for your platform.
  4. Connect, subscribe to a channel, and start exchanging events.

JavaScript example

Install the SDK:

npm i piesocket-js@7

Connect and subscribe to a channel:

import PieSocket from 'piesocket-js';

const pieSocket = new PieSocket({
  version: 4,
  clusterId: 'YOUR_CLUSTER_ID',
  apiKey: 'YOUR_API_KEY'
});

const channel = await pieSocket.subscribe('my-channel');

channel.listen('new_message', (data) => {
  console.log('Received:', data);
});

channel.publish('new_message', {
  message: 'Hello, realtime!'
});

For backend publishing, use the REST API. Keep secret credentials on your server and follow the recommended authentication approach for production applications.

Core capabilities

  • WebSocket-based realtime Pub/Sub
  • Client-to-client messaging
  • Backend-to-client event publishing
  • Channels and rooms
  • Presence and system events
  • SDKs for popular web and mobile platforms
  • REST API for backend integrations
  • Managed cloud and self-hosted deployment options

Explore the PieSocket documentation for setup guides, API references, and next steps.

Open source and contributions

This GitHub organization hosts official PieSocket SDKs, server software, examples, and related developer tools.

Issues, bug reports, and pull requests are welcome. Before contributing:

  1. Check the relevant repository's contribution guidelines.
  2. Open an issue to discuss significant changes.
  3. Include reproduction steps for bug reports.
  4. Add tests or examples when changing behavior.

Please check each repository for its license and contribution guidelines.

Links


Realtime made easy as pie.

Pinned Loading

  1. piesocket-js piesocket-js Public

    PieSocket Realtime JS Client

    HTML 12 10

  2. piesocket-android piesocket-android Public

    PieSocket Realtime Android & Java Client

    Java 5

  3. piesocket-swift piesocket-swift Public

    PieSocket Realtime Client For iOS, iPad, MacOS and other Swift Projects

    Swift 1 3

  4. piesocket-flutter piesocket-flutter Public

    PieSocket Realtime Client For Cross-platform Flutter applications.

    Dart 1

  5. piesocket-server piesocket-server Public

    PieSocket Server

Repositories

Showing 10 of 27 repositories

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…