Skip to main content

Foxglove WebSocket proxy with message transformations

Project description

websocket-proxy

A proxy for Foxglove Bridge that converts messages just-in-time and forwards them via the Foxglove Bridge protocol.

Installation

# Run directly without installing
uvx --from websocket-proxy bridge ws://localhost:8765

# Or add to your project
uv add websocket-proxy

Features

  • Converts sensor_msgs/msg/CompressedImage and sensor_msgs/msg/Image to foxglove_msgs/msg/CompressedVideo
    • Using ffmpeg: h264, h265, vp9, av1
    • Downscaling support
  • Converts sensor_msgs/msg/PointCloud2 to point_cloud_interfaces/msg/CompressedPointCloud2 using cloudini
    • Downsampling support (dropping random points, voxelize grid)
  • Throttling support for all topics
  • Prevents flooding traffic by awaiting Ping/Pong

Usage

bridge <source-ws>

This starts the bridge connecting to <source-ws> and opens the proxy at ws://0.0.0.0:8766.

Default settings:

  • Image downsampling to HD and h264 compression
  • Cloudini point cloud compression
  • Throttling to 1Hz

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

websocket_proxy-0.3.0.tar.gz (15.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

websocket_proxy-0.3.0-py3-none-any.whl (19.5 kB view details)

Uploaded Python 3

File details

Details for the file websocket_proxy-0.3.0.tar.gz.

File metadata

  • Download URL: websocket_proxy-0.3.0.tar.gz
  • Upload date:
  • Size: 15.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.10.12 {"installer":{"name":"uv","version":"0.10.12","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for websocket_proxy-0.3.0.tar.gz
Algorithm Hash digest
SHA256 1b2b10cc77301d832922ef260c6dc65dca7e49dbeb5b23cddfbd1746f990bb7a
MD5 66261336cbb6b44c620f64f77092c513
BLAKE2b-256 1e86a24e4a3130503de3bdc54bb5301c98bfc9ff3f30580de95ce3df9a095b49

See more details on using hashes here.

File details

Details for the file websocket_proxy-0.3.0-py3-none-any.whl.

File metadata

  • Download URL: websocket_proxy-0.3.0-py3-none-any.whl
  • Upload date:
  • Size: 19.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.10.12 {"installer":{"name":"uv","version":"0.10.12","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for websocket_proxy-0.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 51e15bfb7b30dc6a4e2cc87b2ef0e3b9d72b866233a9c9c030666afdc358bba3
MD5 120ce85db17aef8b4e3c5c45123703af
BLAKE2b-256 d46a39f60ca463a0f188d1ebf3ef4bf7b7114f6b995309c68d523531611eadbe

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page