sam e72bb6d4c4
Build Mumble Web 2 / macos_build (push) Failing after 2s
Build Mumble Web 2 / linux_build (push) Failing after 0s
Build Mumble Web 2 / android_build (push) Failing after 3s
Build Mumble Web 2 / windows_build (push) Failing after 10s
Move mumble UDP ping into common crate (#33)
The desktop GUI doesn't go through the proxy to reach the Mumble server,
so its login screen needs to ping directly. Rather than duplicate the
ping logic, move it into the common crate behind an optional
`networking` feature (so common stays lightweight when the feature
isn't requested).

- common: add `ping_server(address, port)` behind `networking` feature
- proxy: replace the inline UdpSocket ping + ping.rs codec with a call
  to common::ping_server; drop the rand dep
- client: PlatformInterface::get_status now takes an address; desktop
  and mobile call common::ping_server directly, web still uses the
  proxy's /status endpoint
- gui: thread the address from the login input through get_status, so
  it re-pings when the user edits the address

Assisted-by: claude-opus-4-7
Reviewed-on: #33
Reviewed-by: restitux <restitux@ohea.xyz>
Co-authored-by: Sam Sartor <me@samsartor.com>
Co-committed-by: Sam Sartor <me@samsartor.com>
2026-05-05 04:37:19 +00:00
2025-12-04 22:21:37 -07:00

GUI Development

Running Desktop

  1. cargo install dioxus-cli --version 0.7.1
  2. dx run -p mumble-web2-gui --platform desktop --release

Running Web (development)

  1. cargo install dioxus-cli --version 0.7.1
  2. dx serve -p mumble-web2-gui --platform web
  3. cd docker && docker compose up
  4. connect to https://localhost:64444
  5. fill in the proxy url as https://127.0.0.1:4433/proxy (this should autofill)

Running Web (with proxy only)

  1. cargo install dioxus-cli --version 0.7.1
  2. dx build -p mumble-web2-gui --platform web --release
  3. cp config.toml.example config.toml
  4. cargo run -p mumble-web2-proxy in the background
  5. connect to localhost:8080
S
Description
No description provided
Readme 987 KiB
Languages
Rust 87.7%
SCSS 5.4%
JavaScript 3.1%
Dockerfile 3%
Shell 0.8%