Expose localhost app via Buddy tunnel
Creates Buddy tunnel to expose local applications to the internet via public URL.
/plugin marketplace add sztwiorok/buddy-plugin/plugin install sztwiorok-buddy@sztwiorok/buddy-pluginportsonnetCreate Buddy tunnel for locally running application. Use the tunnel skill for tunnel procedures and options.
Arguments:
$1: Optional port number (auto-detect if not provided)Check authentication with:
bdy workspace ls
If fails, inform user: "Run bdy login in a separate terminal (AI agents cannot perform interactive login). See bdy-auth skill for details."
If port not provided in $1, detect running services on common ports.
Use tools like lsof to find services:
lsof -i -P | grep LISTEN
If multiple services found, ask user which to expose. If no service found, ask user for the port number.
Use the tunnel skill procedures to create appropriate tunnel type (HTTP/TCP/TLS).
The tunnel skill contains:
Show:
0.0.0.0, not 127.0.0.1bdy tunnel config add to save frequent configurationsIf tunnel fails:
bdy login in separate terminal