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.5.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.5.0-py3-none-any.whl (19.6 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: websocket_proxy-0.5.0.tar.gz
  • Upload date:
  • Size: 15.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.11.6 {"installer":{"name":"uv","version":"0.11.6","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.5.0.tar.gz
Algorithm Hash digest
SHA256 db82c5ea5539058a2d8fe626efa9d44afa9f061711087c6f8784270e033c5a3c
MD5 c3b217af20dd89ed2745b87591f78ef0
BLAKE2b-256 6b8c17a12ffe0e2093fe0713058fd9d133721788eeca5ae078bb75feb495b2ac

See more details on using hashes here.

File details

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

File metadata

  • Download URL: websocket_proxy-0.5.0-py3-none-any.whl
  • Upload date:
  • Size: 19.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.11.6 {"installer":{"name":"uv","version":"0.11.6","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.5.0-py3-none-any.whl
Algorithm Hash digest
SHA256 b2f0113f666170e16ef55245f1044ee8a4d0fdcd4cb4311838d4d63d40076408
MD5 2249b3728f36517396e368f72fe3ef1c
BLAKE2b-256 83739ccd9c83202f92b41ffffb1d6481616fba7556a533cb14842da74cb7df96

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