Spanish Total.js
English
Documentation For AI agents
Contents

OpenSync 1.0

Send data from your apps to a channel over HTTP and deliver it live to every connected client over WebSocket or Server-Sent Events.

Getting started

  • Introduction

    What OpenSync is, how it works and where to start.

  • Install from source

    Install OpenSync with Node.js and start it on your computer or server.

  • Install with Docker

    Build the OpenSync image from the repository and run it with a volume for your data.

  • First setup

    Name your instance, keep the setup token and save the first setup.

  • The setup interface

    Open the setup interface with your setup token, find your way around and sign out.

Setup

Protocol

  • Send data over HTTP

    Send a request to /sync/{channel}/ to deliver its data to the clients of that channel.

  • WebSocket

    Connect over WebSocket to receive messages, and send messages to a channel.

  • Server-Sent Events

    Receive messages as a Server-Sent Events stream, for scripts and command-line tools.

  • Message format

    The fields of the messages that OpenSync sends to clients.

  • Send files

    Upload files to a channel and download them from the link in the message.

  • Status codes and limits

    The answers of OpenSync, the WebSocket close codes and the limits.

Files and data

  • The data folder

    What OpenSync saves in its databases folder, and how to back it up.

Recipes

FAQ

  • Access problems

    What to do when the setup interface or a client cannot get in.

  • Message problems

    What to check when a client does not receive what you send.

Made in Europe