foxglove / ws-protocol

Foxglove Studio WebSocket protocol specification and libraries

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Foxglove WebSocket Protocol

This repository provides a protocol specification and reference implementations enabling Foxglove to ingest arbitrary “live” streamed data.

A Foxglove WebSocket server can provide multiple data streams, called channels. When a client subscribes to a channel, it begins receiving messages on that channel. This protocol does not prescribe the messages' data format. Instead, the server specifies each channel's encoding, and the client uses this information to determine whether it can decode that channel's messages. Read the Foxglove documentation for more information on which encodings Foxglove supports.

Implementations are available in the following languages:

Language Includes Package name Version
Python server + examples foxglove-websocket
JavaScript/TypeScript server + client @foxglove/ws-protocol
JavaScript/TypeScript examples @foxglove/ws-protocol-examples
C++ server + examples foxglove-websocket

Additional resources

About

Foxglove Studio WebSocket protocol specification and libraries

License:MIT License


Languages

Language:C++ 37.2%Language:TypeScript 36.5%Language:Python 23.2%Language:JavaScript 1.3%Language:CMake 0.7%Language:Dockerfile 0.4%Language:Makefile 0.3%Language:CSS 0.2%Language:HTML 0.1%