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.2.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.2-py3-none-any.whl (22.9 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: websocket_proxy-0.1.2.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.2.tar.gz
Algorithm Hash digest
SHA256 d128db3a77d97c80b78df686a832326c4732a3db59484e7975b75f39fe2988f0
MD5 a5eb823741f6e9038b1140ad123afaa4
BLAKE2b-256 a0b2311748b1e2ee968c8eca93ff4c1d045754272c6368b080dd86601d2bed99

See more details on using hashes here.

File details

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

File metadata

  • Download URL: websocket_proxy-0.1.2-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.2-py3-none-any.whl
Algorithm Hash digest
SHA256 e855979627f68713bad6e56a1ad88f7210c6909f71bc466a83be35bea73fbbac
MD5 c79c640c79c73ed405d47d1c912693d9
BLAKE2b-256 e2e0cfc89485d682f1966becb2c42bcb1609567f7f985710840f7d2ad3d2ddb4

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