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.6.0.tar.gz (15.0 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.6.0-py3-none-any.whl (19.6 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: websocket_proxy-0.6.0.tar.gz
  • Upload date:
  • Size: 15.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.11.8 {"installer":{"name":"uv","version":"0.11.8","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.6.0.tar.gz
Algorithm Hash digest
SHA256 d423685cfe3d098ed7348f9303e93d9fe8e3767459fa81be89554697f9dc3450
MD5 6c0292deba37c911da0e3db350b7773e
BLAKE2b-256 0d502c2a69d9f09ec7e3fc646d7d88ff772b6539064d14e4a285588d903a01d9

See more details on using hashes here.

File details

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

File metadata

  • Download URL: websocket_proxy-0.6.0-py3-none-any.whl
  • Upload date:
  • Size: 19.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.11.8 {"installer":{"name":"uv","version":"0.11.8","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.6.0-py3-none-any.whl
Algorithm Hash digest
SHA256 641a4ab37ad857c0a1123354801821db8ad8c6b7689b2615df09822db13a0e38
MD5 8c8f566a0ecf4b142e7256479b71dfeb
BLAKE2b-256 f9be7fa633705d8cb882604beced242bac95f0f62b37cee7ccd6a06fd2fd802b

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