Forward any Bluetooth controller from one Linux box to another Linux box
  • Zig 99%
  • Nix 1%
2026-07-07 21:46:21 +02:00
.woodpecker Add CI 2025-08-07 11:45:35 +02:00
src Upgrade to Zig 0.16 2026-07-07 21:46:21 +02:00
.envrc Add shell.nix 2026-07-06 22:24:34 +02:00
.gitignore Initial commit 2025-08-06 22:03:57 +02:00
build.zig Initial commit 2025-08-06 22:03:57 +02:00
build.zig.zon Zig 0.15 2025-08-31 19:23:21 +02:00
LICENSE Initial commit 2025-08-06 22:03:57 +02:00
README.md Initial commit 2025-08-06 22:03:57 +02:00
shell.nix Upgrade to Zig 0.16 2026-07-07 21:46:21 +02:00

btproxy

Forward any Bluetooth controller from one Linux box to another Linux box.

Usage

# Produces zig-out/bin/btproxy
zig build -Doptimize=ReleaseFast

# Exports Bluetooth controller 0 on [::]:17555
./zig-out/bin/btproxy server :: 17555 0

# Connects to a Bluetooth controller on a remote host
./zig-out/bin/btproxy client other-machine.local 17555
  • You probably need root on both ends.
  • On the server, the controller needs to be off first: bluetoothctl power off