omar a924d792b4
ci / linux-arm64-cross (push) Successful in 2m48s
ci / linux-x64 (push) Successful in 2m53s
release / linux-arm64 (push) Successful in 4m15s
release / linux-x64 (push) Successful in 4m38s
release / appimage-startup (push) Successful in 15s
release / publish (push) Failing after 9s
VAD docs: startup buffer latency stated precisely; smoke-voice-vad --exe
2026-10-24 09:31:27 +03:00

TeamsPeach

A desktop client for TeamSpeak 6 servers without a myTeamSpeak account: voice, chat, a channel tree with server groups, icons and banners, and TS6 screenshare viewing. The interface uses Electron (plain JavaScript modules and HTML/CSS); a native Rust core handles the protocol (core/, ReSpeak tsclientlib) over private stdio. See the bridge contract.

See FEATURE_COMPATIBILITY.md for feature status and evidence. This is not a claim of full TeamSpeak 6 parity: official-client voice interoperability and Asahi hardware operation have not been proven.

Development (Windows / Linux)

npm ci
cargo build --release --locked --manifest-path core/Cargo.toml   # requires Rust ≥ 1.89, CMake and a C compiler
npm start

Electron looks for the core in core/target/release and core/target/debug, choosing the newer binary. If rustup installed Cargo without adding it to PATH on Windows, run %USERPROFILE%\.cargo\bin\cargo.exe or open Developer PowerShell for VS. Use -j 2 if linking runs out of memory.

Use a separate profile without touching the main one: TEAMSPEACH_PROFILE_DIR=<absolute-path> npm start.

Packaging

npm run dist:win-x64       # NSIS + zip
npm run dist:linux-x64     # AppImage + tar.gz
npm run dist:linux-arm64   # AppImage + tar.gz (build the aarch64 core separately)

scripts/dist.mjs refuses to package without a core for the target OS and architecture (checked via its PE/ELF/Mach-O header), copies the core's THIRD_PARTY_NOTICES.md into resources/licenses/, and checks that the package actually contains the core. For Asahi's 16 KiB pages, use node scripts/elf-pagesize.mjs <file-or-directory> to check PT_LOAD alignment, glibc and dependencies.

CI: .gitea/workflows/ci.yml (Gitea Actions, Linux x64 containers) runs tests, builds the core, checks identity invariants offline over stdio, runs Electron smoke checks under Xvfb, and cross-compiles the aarch64 core with 16 KiB checks and execution under qemu-aarch64 (emulation, not Apple hardware). It runs on pushes to main and manual dispatch only. Pull requests do not run automatically: this is a public repository with a runner on a private network, so a maintainer reviews external changes first.

Releases: .gitea/workflows/release.yml runs for v* tags. The tag must match package.json and core/Cargo.toml. It builds Linux x64 and ARM64, checks ELF files, and publishes the release only after uploading all files to a draft. Windows x64 is built on the developer's machine from the same commit and attached with a local designation and a *-build-info.txt provenance file.

Usage

  1. On first launch, enter a nickname to create a cryptographic identity (P-256). The public UID is shown in Settings → Identity. Changing your nickname does not change your UID.
  2. Enter a server address and, if required, its password, then select Connect. Save adds the address to saved servers above the tree; the bookmark button in the header toggles that list. Connect with one click. If already connected elsewhere, Switch first disconnects from the current server cleanly. Edit names and addresses or remove entries in Settings → Servers. Server passwords are not saved; all servers use the same identity.
  3. Click a channel to join it. Password-protected channels show a password field.
  4. Choose how your voice is sent in Settings → Audio → Voice transmission:
    • Push to talk (default): hold F8 (change it in Settings → Keyboard) or the button in the channel header. The key works only while the TeamsPeach window is focused; the header hint says so.
    • Voice activation: a small voice detector built into TeamsPeach decides on this computer when you are speaking and sends only then, from about 0.1 s before a detected word until about 0.4 s after the last detected speech (the first spurt after connecting, unmuting or changing the mode carries up to 0.3 s of held audio and so starts up to 0.3 s late). Sensitivity: High (quieter speech), Normal, Low (noisier surroundings). It runs after the microphone processing in the same panel (noise suppression, echo cancellation, gain control). It is not speech recognition and saves nothing; loud speech-like sound (TV, other voices) can also trigger it.
    • Open microphone: continuous transmission. The microphone test only shows the input level and never transmits. The microphone and audio buttons at the bottom left update your server-visible mute state; muting or deafening stops transmission in every mode. Right-click these buttons, or press Shift+F10 while focused, to select an input or output device using the same selection as Settings → Audio. Left-click still mutes or deafens.
  5. A streaming member has a Watch button. Volume, mute, fullscreen and Stop watching are below the video. The status line shows the negotiated codec, resolution and frame rate.

Language

The interface defaults to English, independently of the operating-system language. Select Russian in Settings → Appearance; the saved choice applies to the interface and native identity dialogs. Language changes do not translate server names, chat messages or operating-system device names.

Updates

Check for updates in Settings → Information. The first updater-capable version must be installed manually: version 0.1.1 and older cannot update themselves. Updates come only from published releases of the public TeamsPeach/client repository, without credentials.

Windows x64 NSIS installations and Linux x64/ARM64 AppImages can download a verified package and install it after confirmation. Windows zip and Linux tar.gz distributions notify you and open the release page; replace those files manually. Development runs and unsupported platforms do not self-update. The default Preview channel includes prereleases; choose Stable to exclude them. Installation never starts automatically, and interrupting an active server session requires explicit confirmation.

For platform details, release requirements and verification scope, see Updates. Implementation and service-level tests do not by themselves prove a successful installed upgrade; published-release end-to-end evidence must identify the source and destination versions.

Identity backups

Settings → Identity → Export saves a TeamSpeak-format .ini file through a native dialog. This file contains your private key: protect it like a password. Restore it with Import after disconnecting from the server; replacing the current identity requires confirmation. You can also use Restore from backup on the first-run screen. The core never silently replaces a corrupt identity.

Data locations: %APPDATA%\TeamsPeach (Windows), ~/.config/TeamsPeach (Linux). Files include core/identity.json, core/profile.json, prefs.json and logs/.

Limitations

  • Screenshares use P2P only, as the official client does by default. SFU notifications are reported as unsupported. There is no TURN relay: the viewer needs a direct network path to the streaming computer (STUN uses turn.teamspeak.com, as in the official client).
  • Sending your own screenshare is not implemented.
  • Push-to-talk only works while the window is focused. A global hold-to-talk shortcut, such as one using the Wayland GlobalShortcuts portal, is not implemented.
  • The official client highlights your own nickname and myTeamSpeak contacts using local relationships, not server data. Without an account there are no contacts, so TeamsPeach highlights only your own name.
  • Server-stored avatars, icons and banners use TeamSpeak file transfer. myTeamSpeak avatars use public HTTPS URLs announced by the server; downloaded image bytes are checked by signature. A myTeamSpeak avatar was observed in the live run; server-stored avatar support is implemented but was not exercised live because no client on the test server advertised one. Built-in TeamSpeak group icons (IDs 100, 200, 300, 500, 600) use a neutral badge with the group name, because the server does not supply these files.
  • Chromium does not expose the official client's Cisco OpenH264 switch or per-codec hardware backend selection. Chromium chooses the decoder; AV1 hardware decoding with D3D11 was demonstrated on Windows.
  • macOS and Windows ARM64 builds are not published because build hosts are unavailable. Linux ARM64 is cross-compiled; execution on Asahi M1 Pro hardware has not been checked because the target was unreachable over SSH.
  • Packages are unsigned. Windows SmartScreen warns about unsigned builds; macOS Gatekeeper would also require attention for a future macOS build.
  • The recorded two-way voice run used synthetic capture between two TeamsPeach clients. It does not prove live microphone interoperability with the official TS6 client or operation on Asahi hardware.

Product and design

A familiar voice-chat layout: server and channel tree on the left, channel and chat on the right. Settings use category navigation (Identity, Servers, Appearance, Audio, Video, Keys, Information) on the left and cards on the right, following the supplied reference. New profiles default to a dark theme, independent of the OS. Choose Light or System in Settings → Appearance; the choice persists, and an existing saved choice is preserved across upgrades.

System fonts and a restrained peach accent keep the interface readable; green indicates a speaker. Server text is rendered with textContent; image bytes are checked by signature. The renderer uses context isolation, a sandbox, a strict CSP and allowlisted main-process commands. Only the main process selects file paths through native dialogs.

Repository language and evidence

Repository-authored documentation, comments, logs, diagnostics, scripts and release notes are in English. Localized UI text belongs in the shared translation catalog; technical error details stay in English and may be shown after a localized explanation. Server content, operating-system device names and user messages are data, not translation resources.

Historical JSON captures and screenshots in docs/evidence/runtime/ retain the exact UI text, server names and device names observed during each run, including Russian text. They are not translated or rewritten to resemble the current interface. Unicode test fixtures retain their original values.

Checks

  • npm test runs unit tests for contracts such as IPC validation, viewer sessions and stream discovery.
  • node scripts/core-smoke.mjs <core-binary> checks identity invariants offline.
  • node scripts/smoke-ui.mjs, smoke-voice.mjs, probe-stream.mjs, loopback-stream.mjs and smoke-tree.mjs exercise the real UI. Recorded results are in docs/evidence/runtime/; each run's scope and limitations apply.
Languages
Rust 89.7%
Objective-C++ 3.1%
Java 2.4%
C++ 1.8%
Slint 1.8%
Other 1.1%