26 KiB
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
rustup target add wasm32-unknown-unknown
node scripts/build-denoise.mjs # workspace denoise profile, zero-import WASM
cargo build --release --locked --manifest-path core/Cargo.toml # pinned Rust 1.96.0, CMake and a C compiler
npm start
Electron looks for the core in workspace target/release and target/debug, choosing the newer binary.
CARGO_TARGET_DIR overrides that directory; relative paths resolve from the repository root in the
launch and packaging scripts. The workspace uses one root Cargo.lock; the denoise Cargo profile
retains the separate WASM optimization settings. The native migration is in progress, not a replacement
client release: native/compatibility.json tracks pending consumer contracts, not completed features.
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.
The safe UI suites use a disposable, hidden, nonfocusable, offscreen and muted Electron process:
node scripts/smoke-official-shell-offscreen.mjs --exe <isolated-package> --out <evidence-directory>.
The launcher refuses packaged main code that differs from the current offscreen-aware source. Generated
streams use real local Chromium WebRTC but synthetic signaling/server state; this is not live-server
interoperability proof. No native fullscreen/PiP, OS input, capture, clipboard or native dialogs are used.
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
- On first launch, enter a nickname to create a local P-256 identity without an account. Settings → Identity manages multiple identities, their names/nicknames, default selection, additive import, selected export and cancellable security-level improvement. Default and in-use identities cannot be deleted. Editing a stored nickname affects future connections; it does not rename every active session.
- Enter a server address and, if required, its password, then select Connect. Up to eight simultaneous native connections are supported. Selecting a server tab changes the viewed server, not automatically the microphone target; input routing has its own controls and acknowledgement. Bookmarks save a name, address, optional local identity and folder. The sidebar editor also configures a per-connection nickname, initial channel, startup connection and optional OS-encrypted server/channel passwords. Startup muting affects only the microphone; it never changes output mute or unmutes a connection. The sidebar supports nested folders, rename, duplicate, moving/reordering and confirmed subtree deletion. A security-level rejection offers an explicit improvement action rather than starting expensive work automatically.
- Click a channel (or focus its row and press Enter) to browse its heading and available streams. This does not move your voice or change the channel-chat destination: the chat tab and composer still name your current voice channel, and a notice explains this while browsing elsewhere. Double-click a channel, or use Join channel in its header, to move voice. Password channels then show a password field. The right-edge chevron hides or shows that channel's direct members without joining; collapsed rows show a compact avatar summary. Collapse choices are saved per server address. Drag the sidebar divider or focus it and use Left/Right or Home/End to resize; Enter or a double-click restores the responsive default.
- Settings → Audio provides per-input and per-output device processing profiles. Voice activation can use automatic speech detection, a volume gate, or a hybrid; push-to-talk can be combined with activation and an optional release delay. Disabling both gives continuous transmission. Existing profile choices migrate to this model. Notification output has a separate device and dB level. Processing is independent and is not claimed bit-identical to the official client's private native DSP. Settings → Key Bindings has named profiles (add/rename/activate/delete; only the active one is live), the official "Require exact key match" toggle and the full official action list (push-to-talk, push-to-mute, microphone/speaker, away, whispers, recording, disconnect, talk power, and Go Live, which opens the normal broadcast source chooser). A binding is an in-window key or a global key (depends on the OS backend and permissions). Older whisper-only bindings move unchanged into one active profile. Local whisper lists/groups, quick whisper and reply use held-target epochs; failed or stale whisper targets suppress sending rather than falling back to ordinary channel voice. Contact-only targets are not offered without an account. The microphone test retains at most ten seconds of PCM in memory, plays it only after an explicit Listen action through the selected output, and blocks server voice until Finish clears the clip. Device/privacy changes and leaving settings also cancel and clear it. The microphone and audio buttons 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. Deafening still blocks playback and transmission; its button state replaces the former muted banner.
- Streaming members have a screen indicator. Select their channel to see available shares above the chat, then choose Watch on a share. Several announced shares are listed separately; browsing alone never subscribes to one. If the server flags a member as streaming but does not provide usable details, the area shows discovery progress or the actual error instead of inventing a watchable stream. Each watched share gets its own tile above chat and keeps playing while you browse other channels. Volume, mute, picture in picture, full screen and Stop watching apply to that tile, not its neighbours. The picture fills the tile: its name remains over the video while controls appear on pointer hover or keyboard focus (always visible on coarse-pointer devices). Stream details opens the live statistics; Escape closes that panel. Unavailable picture-in-picture remains disabled with an explanatory label. Native picture in picture detaches the same video into an OS-managed floating window; full screen and PiP do not subscribe again. Ending a share closes only its presentation; disconnecting closes all views. Drag the divider above chat or focus it and use Up/Down or Home/End to resize the stream stage. Enter or a double-click resets its height. Collapse hides the stage without stopping watched shares; its height and collapsed state are saved. The chat retains usable space at the minimum window size.
- Application chrome does not select text during interaction. Chat messages, editable fields, public identity data and other useful content remain selectable. The server's host banner sits behind its top card rather than in a separate panel, with a theme-aware contrast overlay.
- Right-click a member, or focus the row and press Shift+F10 / the Menu key, for target-specific actions. The menu uses server permission hints and distinguishes a known denial from an unknown permission that the server must decide; group names never grant authority. Group/permission changes and moderation show the exact target and operation before confirmation. A target that leaves, changes identity, or moves channels closes its stale menu. Server errors are shown rather than reported as success. Local volume uses the official -200..+10 dB taper, Mute and Reset. Reset restores 0 dB and unmutes; explicitly committed modifiers persist by UID, while mute is session-local. Gain is applied before voice mixing and never changes other participants. The native avatar chooser accepts PNG/JPEG up to 128 KiB and exposes image bytes, never a file path, to the renderer. Permission lists show explicit client/channel assignments, not a full effective-rights audit.
- Start Stream opens the source chooser. Selecting a tile shows its thumbnail; Next starts
the muted private preview. Only Go Live publishes it. Choose an observed window/screen or
explicitly opt into a camera; camera capture does not include a microphone. Back, cancellation,
source loss and disconnect release the preview capture.
Presets and advanced controls set resolution/frame-rate and bitrate targets. Public allows viewers;
Selected participants uses a local UID allowlist (empty means nobody); Private requires a decision
per viewer. The stream can still appear in discovery. Audience settings remain locked until Stop.
Selected-application audio is opt-in: Windows uses WASAPI process-tree capture on build 20348+;
Linux uses PulseAudio/pipewire-pulse sink-input streams through
pactlandparec. Pure PipeWire without Pulse compatibility and macOS selected-application audio are not implemented. Changing the audio source/scope/app selection never silently reopens the system picker. An explicit Restart preview action is required for desktop-capturer sources; system-picker sources require Back and a new explicit selection. The separate supported system-audio choice remains under Advanced. Per-app/master gains apply to the outgoing mix; clicking the percent readout resets gain to 100%. System audio is never substituted silently, and the local tile is not another receiver subscription. Native capture depends on OS consent and the installed desktop/portal backend; these paths are not universal cross-platform or official-client interoperability proof. - Channel/server menus provide typed administration with explicit destructive confirmations and server errors. Snapshot import is non-atomic: completed server changes are not rolled back by cancellation. General file browsing/transfers support the legacy server transport; HTTPFT/S3 remain explicit gaps with no speculative legacy fallback. Filesystem publication fails safely when required atomic/no-replace semantics are unavailable. Recording and transfer destinations are approved in main, not renderer paths. File Transfer settings retain an approved download folder or ask every time, and apply upload/download concurrency across all tabs (combined at most ten) plus shared directional rate limits. Limits apply to active file/snapshot work without restarting streams; they are conservative ceilings, not bandwidth guarantees.
- Chat history is local and separated by own identity, server and channel/peer identity. Drafts and
unread state are connection-local. Rich text, local math/diagrams, emoji and server-file links do not
require cloud services. Remote images require explicit consent; trusted external sites can be removed
in Settings → Privacy. Central myTeamSpeak/homebase chat and cloud contacts are outside the account-free
scope. Server-hosted Matrix rooms on
MATRIXCHATservers are a separate, unimplemented transport: their frontend uses the server identity, but native endpoint discovery, authentication and invite requests remain unresolved. They are not excluded merely because they share Matrix room controls. Local UID contacts are separate. - Streams support hide/show without unsubscribing, ordering, focus with a secondary strip, pages, an internal tile overlay and moving the existing stage over the server tree. Publisher admission, kick/ban/unblock, pause and live options keep the original tracks/sessions. Standalone pop-out reuses the same video; its hidden guest renderer was exercised with explicit test-only viewport emulation. Unmodified native pop-out painting and SFU interoperability remain unverified.
Local panels and integrations
- Privacy: manage trusted external hosts and reset remembered confirmations. Skipping a confirmation changes that operation's local preference; reset restores prompts. No analytics service is enabled.
- Contacts: save server users locally by identity UID, optionally give them aliases, and show/sort/group offline entries. Presence comes from the client's connected server snapshots, not a global service. Public badge display does not redeem badges or claim ownership of them.
- Remote Apps: excluded by the owner's explicit instruction. No Remote Apps listener, authorization IPC, page or remote-button binding is included.
- Server icons: the server administration pane lists, uploads, deletes and assigns icons through legacy TeamSpeak file transfer. The server's permissions remain authoritative. A reconnect invalidates the panel's mutation grant; HTTPFT/S3 storage is not silently treated as an empty icon collection.
- Noise reduction: Settings → Audio has four levels saved per input device. The implementation is independent DSP; selected settings and generated-media checks do not prove microphone sound quality or bit-identical behavior with the official client.
- Saved bookmark passwords: encryption uses the operating system's protected storage. Linux
basic_text/unknown backends are refused; there is no plaintext fallback. A password is revealed only by an explicit eye-button click. Changing the address removes its saved passwords; duplicating a bookmark at the same address preserves them. Forgetting a password still works if encryption becomes unavailable. Encryption is tied to the OS user/key store and is not a portable backup format. Windows DPAPI was exercised; Linux keyring and macOS Keychain behavior have not been verified on hardware.
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). - P2P screenshare publishing is implemented, but native source capture on every OS/window manager, macOS selected-application audio and official-client interoperability are not all verified. SFU publishing is unavailable. See the feature matrix for the precise implementation and evidence boundaries.
- In-window push-to-talk releases on focus loss. Global bindings use the available Windows/Linux backend; actual OS registration and Wayland portal operation were not exercised by the hidden UI checks. macOS global shortcuts are explicitly unsupported. No platform-wide shortcut guarantee is made.
- Local contacts are keyed by server identity UID and can be highlighted in the tree. They do not sync with myTeamSpeak, provide global presence or enable cloud/offline chat.
- 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
The interface reproduces the installed TeamSpeak 6 client's own design from its source values (see
DESIGN.md and docs/evidence/official-parity/): a three-pane window with a 270 px navigation sidebar
(collapsible to a 62 px rail) listing server connections and saved servers, a 500 px server pane with
the server header card and channel tree, and a detail pane with the channel header, stream stage, chat
and composer. Settings open in the main and detail panes with the official category column and section
cards (Identity, Servers, Appearance, Audio, Video, Keyboard, Chats, Notifications, OS Specific,
Information). Reduced-transparency, reduced-motion and forced-colors preferences have explicit fallbacks.
New profiles default to dark independently of the OS; Light and System remain selectable. Account-bound
official surfaces (notification bell, cloud contacts, myTeamSpeak presence) are intentionally absent;
local UID contacts are an independent account-free feature.
Each pane has the official 44 px window bar as its drag surface; the server pane's bar carries the microphone/speakers toolbar pill. Startup and error views keep a 44 px drag strip. Electron's hidden title bar retains native caption controls in the window-bar colour: Windows/Linux use the window-controls overlay; macOS retains left-side traffic lights. Minimize, maximize/restore, close, system shortcuts and caption double-click belong to the OS, not duplicated JavaScript handlers. Native button accessibility names follow the OS language; the app's title-bar landmark follows English/Russian. Theme changes also update the native overlay colours. Fullscreen content removes the app bar; picture-in-picture remains a separate native window. Only a read-only, trusted top-frame state endpoint is exposed, not generic window control IPC.
Bundled Noto Sans (OFL) and the official blue tint keep text identical across platforms; 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 testruns unit tests for contracts such as IPC validation, viewer sessions and stream discovery.node --test test/titlebar.test.jscovers native caption configuration, state-event publication, theme-listener cleanup and IPC trust rejection.node scripts/smoke-titlebar-offscreen.mjs --out <dir>uses the shared hidden/offscreen harness and a disposable profile for EN/RU, light/dark, System-theme and layout evidence. Native overlay buttons are outside renderer screenshots. Actual OS dragging, Snap layouts, caption double-click, shortcuts and Linux/macOS integration require separate manual platform checks; this smoke never sends OS keys or shows/maximizes/minimizes a window.node scripts/smoke-official-shell-offscreen.mjs --out <dir>measures the actual renderer across EN/RU, dark/light and 1280×900/880×560, including onboarding, connection, chat, all settings, menus and dialogs. Its server data is labelled read-only synthetic IPC, not a live connection or product demonstration. Companionsmoke-stream-stage-offscreen.mjsmeasures actual contained image size with generated local WebRTC;smoke-broadcast-ui-offscreen.mjsuses generated muted canvas capture, never private pixels. The shared launcher requires an invisible, unfocused, nonfocusable offscreen window, mutes webContents, and rejects packaged main-process code that differs from the current guarded source. Separate disposable profiles prevent these checks from changing normal preferences. Results are evidence only when exercised.node scripts/official-pair-capture-offscreen.mjs --out <dir> --sizes 1553x998,1280x800,880x800compares the actual installed official frontend with TeamsPeach using the same synthetic data. It preserves explicit brand/account/native-caption exceptions, checks painted chat timestamps rather than hidden DOM history, and exercises bottom-anchor/history-reading behavior across window resize. The strict pixel gate currently fails; seedocs/evidence/official-parity/qa-parity-harness.md. The default matrix uses 1553×998, 1280×800 and the supported 880×800 minimum-width case.smoke-identity-offscreen.mjs,smoke-information-offscreen.mjsandsmoke-file-settings-offscreen.mjsexercise actual local UI, native identity CLI, document navigation and persisted transfer settings.smoke-notification-groups-offscreen.mjschecks mute precedence and restart without playing sound.smoke-bookmarks-offscreen.mjsis Windows-specific: real DPAPI save/reveal/restart, safe credential deletion, session-bound channel drops and startup routing with main's server-connect guard retained.smoke-server-icons-offscreen.mjsuses the production main grant service with synthetic core replies, not a real server or native file chooser. All accept--exe <isolated-package> --out <evidence-directory>.node scripts/core-smoke.mjs <core-binary>checks identity invariants offline.node scripts/smoke-ui.mjs,smoke-voice.mjs,probe-stream.mjs,loopback-stream.mjsandsmoke-tree.mjsexercise the real UI. Recorded results are indocs/evidence/runtime/; each run's scope and limitations apply.