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.1.1.tar.gz (18.5 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.1.1-py3-none-any.whl (22.9 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: websocket_proxy-0.1.1.tar.gz
  • Upload date:
  • Size: 18.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.10.7 {"installer":{"name":"uv","version":"0.10.7","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.1.1.tar.gz
Algorithm Hash digest
SHA256 dd02b9283db8168b8552e48b8f30c98add05811fa55987e1f9fafb336f51b60b
MD5 c0dbdd81da93242657d6a6782d4abf50
BLAKE2b-256 bf09b75c3588aadc9c09c728c6b5f2d15f0c31945b4ac7769cbcc5331f220209

See more details on using hashes here.

File details

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

File metadata

  • Download URL: websocket_proxy-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 22.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.10.7 {"installer":{"name":"uv","version":"0.10.7","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.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 1743a7d87f34ca87cc947bbfcae1250ed23a062d43928bf53e6de363d7d787e5
MD5 901f6a1ad7ec11da4669708bf39c83bb
BLAKE2b-256 78e4b5462af6366e1379b3a2be12b1e8b42b74be817cd1ea41978aeacc505e5a

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