Remove Electron and make Rust Slint the sole native client

This commit is contained in:
bit9992 committed 2026-11-10 17:53:53 +03:00
1 parent eb24965076
commit 220852f8cb
720 files changed
+2535 -130856

No files matched your search

+16 -12
View File
@@ -1,23 +1,27 @@
# TeamsPeach — notices
- TeamsPeach's own code carries no open-source license yet (`UNLICENSED` in package.json): all rights
reserved by its owner until the owner chooses a license.
- Electron and Chromium license texts ship at the root of the application directory
(`LICENSE`, `LICENSES.chromium.html`), as placed there by electron-builder.
- TeamsPeach's own code carries no open-source license yet: all rights reserved by its owner until the owner
chooses a license. Removing the former renderer does not grant redistribution rights.
- The application uses native Rust/Slint UI and media components; Electron, Chromium and the renderer's
WebAssembly DSP module are not bundled runtimes.
- The native core (`teamspeach-core`, built on ReSpeak tsclientlib, libopus and other Rust crates)
ships its complete third-party notices in `teamspeach-core-THIRD_PARTY_NOTICES.md` in this folder.
has its third-party notices in `core/THIRD_PARTY_NOTICES.md` in the source tree, also exposed in native About.
This includes the earshot voice detector (MIT OR Apache-2.0), whose crate embeds the small neural network
it runs (`weights.bin`) under the same license.
- The interface font Noto Sans (variable regular and italic, version 2.013, © 2022 The Noto Project Authors) is
bundled under the SIL Open Font License 1.1; see `NotoSans-OFL.txt` in this folder. The files are the exact
copies shipped in the installed official TeamSpeak 6 client bundle, unmodified.
- Interface icons are artwork of the official TeamSpeak 6 client (TeamSpeak Systems GmbH), included at the owner's
direction without an identified redistribution licence; TeamsPeach does not relicense them. Source, hashes and
transformations are recorded in `teamspeak-client-icons-PROVENANCE.md` in this folder.
- The portable microphone noise suppressor uses the WebRTC-derived Sonora implementation, BSD-3-Clause.
See `sonora-NOTICE.txt` for source/version provenance and `denoise-THIRD-PARTY-NOTICES.txt` for the pinned
dependency and Rust standard-library license texts. The same packaged WebAssembly module runs on all targets.
- Notification WAV files are copied from the installed official TeamSpeak client at the owner's direction.
- `teamspeak-client-icons-PROVENANCE.md` preserves the former renderer's TeamSpeak artwork source, hashes,
transformations and rights restrictions as a historical record, not a native asset inventory. Those renderer
sprites, masks and flag files are not migrated to the native resource bundle. The TeamsPeach application icon
is retained unchanged as `native/resources/icon.png`.
- Native microphone DSP uses the WebRTC-derived Sonora AEC3, noise suppression and adaptive AGC2 chain,
BSD-3-Clause. See `sonora-NOTICE.txt` and `dsp/vendor/provenance.json` for source/version and local patch
provenance. `denoise-THIRD-PARTY-NOTICES.txt` retains the historical DSP dependency and Rust standard-library
license texts; it is not a complete dependency inventory for the native application. Native About explicitly
reports the absence of a complete native UI/media dependency notice inventory.
- The 54 notification WAV files in `native/resources/sounds/` are copied unchanged from the installed official
TeamSpeak client at the owner's direction.
No redistribution licence has been identified; source hashes and event mapping are recorded in
`teamspeak-client-sounds-PROVENANCE.md`. They are not relicensed by TeamsPeach.
- TeamSpeak is a trademark of TeamSpeak Systems GmbH. TeamsPeach is an independent client and is not
+1 -1
View File
@@ -1,4 +1,4 @@
Noto Sans 2.013 variable, axes wght 100-900 and wdth 62.5-100 (app/renderer/assets/fonts/NotoSans-VF.ttf,
Noto Sans 2.013 variable, axes wght 100-900 and wdth 62.5-100 (native/resources/fonts/NotoSans-VF.ttf,
NotoSans-Italic-VF.ttf): unmodified copies of the files shipped in the installed official TeamSpeak 6 client
(html/client_ui/b1d0ab70303caea663db.ttf, name ID 3 "2.013;GOOG;NotoSans-Regular", sha256
74df1f61ab9d4bfaa961c65f8dc991deaae2885b0a6a6d6a60ed23980b3c8554; html/client_ui/628d4779d07f4e15066b.ttf, name ID 3
+7 -3
View File
@@ -1,8 +1,12 @@
TeamsPeach portable DSP dependency license texts
TeamsPeach historical DSP dependency license texts
================================================
Resolved by dsp/Cargo.lock; this inventory includes build-time and target-specific dependencies,
not a claim that every resolved crate contributes code to the final WASM.
Preserved inventory originally resolved for the renderer DSP before its removal.
The former standalone dsp/Cargo.lock is no longer the source of current dependency resolution;
native workspace dependencies are resolved by the root Cargo.lock. This document includes
historical build-time and target-specific dependencies, not a claim that every listed version
contributes code to the native executable or a complete native dependency inventory.
See sonora-NOTICE.txt and dsp/vendor/provenance.json for current native DSP source/patch provenance.
bytemuck 1.25.2: Zlib OR Apache-2.0 OR MIT
bytemuck_derive 1.12.1: Zlib OR Apache-2.0 OR MIT
+21 -13
View File
@@ -1,13 +1,15 @@
TeamsPeach noise reduction (app/renderer/assets/audio/denoise.wasm)
TeamsPeach native capture DSP (dsp/)
===================================================================
The microphone noise reduction module is built from TeamsPeach's dsp/ crate
(scripts/build-denoise.mjs, target wasm32-unknown-unknown) and contains code from
the following crates, compiled in unmodified:
The native microphone capture processor is linked as Rust code from TeamsPeach's
dsp/ crate. It runs Sonora's integrated AEC3, noise suppression and adaptive AGC2
chain according to the selected settings. There is no renderer WebAssembly ABI.
The noise-only filter-bank implementation remains a Rust-test-only behavioral
reference, not a second production capture stage.
sonora 0.2.0 BSD-3-Clause (three-band 48 kHz filter bank)
sonora-ns 0.2.0 BSD-3-Clause (WebRTC noise suppressor)
sonora-fft 0.2.0 BSD-3-Clause (FFT used by the noise suppressor)
Pinned Sonora packages include (all 0.2.0, BSD-3-Clause):
sonora, sonora-aec3, sonora-agc2, sonora-common-audio,
sonora-fft, sonora-ns, sonora-simd.
Source: https://github.com/dignifiedquire/sonora
Commit: a024d6ef8351add55be5e8b1d6cc35f555787660 (per the published crates'
@@ -19,14 +21,20 @@ Registry: crates.io; package checksums (SHA-256 of the .crate files)
sonora is a pure Rust port of the WebRTC Native Code audio processing module
(M145 plus later upstream fixes), via PulseAudio's webrtc-audio-processing
extraction. Only the filter bank and noise suppressor run; sonora's echo
canceller and gain controller are never constructed. TeamsPeach does not claim
bit-identical behaviour with TeamSpeak's own noise reduction.
extraction. TeamsPeach vendors sonora and sonora-agc2 with local mono AGC2 and
limiter channel-adapter allocation/copy reductions. Exact modified files,
upstream archive checksums and patch scope are in dsp/vendor/provenance.json;
upstream license and copyright texts are retained in each vendored package.
Other pinned Sonora packages use their registry sources. No end-to-end
allocation-free guarantee or bit-identical behavior with TeamSpeak's proprietary
DSP is claimed.
The module also contains parts of the Rust standard library (core, alloc, std
and its bundled allocator and math routines), licensed MIT OR Apache-2.0.
The native executable also uses the Rust standard library (core, alloc, std and
its bundled allocator and math routines), licensed MIT OR Apache-2.0. Historical
DSP dependency license texts are retained in denoise-THIRD-PARTY-NOTICES.txt;
that file is not a complete inventory of the native executable's dependencies.
License of sonora, sonora-ns and sonora-fft (BSD-3-Clause, verbatim):
License of the Sonora packages (BSD-3-Clause, verbatim):
Copyright (c) 2011, The WebRTC Project Authors. All rights reserved.
Copyright (c) 2016, Arun Raghavan and contributors. All rights reserved.
@@ -1,5 +1,12 @@
# Official TeamSpeak 6 client icon artwork in TeamsPeach — provenance
**Historical scope.** This document records the removed reference renderer's artwork imports and transformations.
The `app/renderer/` paths below are historical, not current native resource dependencies. The renderer SVG sprite,
mask files and country-flag files were not migrated into the native resource bundle. Their original source hashes
and redistribution restrictions are retained here; removing the renderer grants no new rights. The separate
TeamsPeach product icon was relocated unchanged to `native/resources/icon.png` (SHA-256
`87cfe10da3359eae8c000d0e5b2491524e132c4f9c34a54bfd0c94296c97c422`).
The SVG symbols in the sprite of `app/renderer/index.html` and the four mask files in `app/renderer/assets/icons/`
are artwork of the official TeamSpeak 6 client (TeamSpeak Systems GmbH), copied from the client installed on the
owner's workstation at the owner's direction (2026-11-01 brief: the installed client's design, value for value).
@@ -8,8 +15,8 @@ owner's workstation at the owner's direction (2026-11-01 brief: the installed cl
governed by its own licence agreement (`licenses/en/la_desktop.html` in the client installation). TeamsPeach does not
relicense this artwork and does not claim the right to publish it; it is not covered by TeamsPeach's own terms or by
any open-source licence in this folder. TeamSpeak logos, wordmarks, `teamspeak_label`, brand icons, presets and
account/myTeamSpeak-only artwork are deliberately not included; the TeamsPeach name and `assets/icon.png` remain the
product brand.
account/myTeamSpeak-only artwork were deliberately not included; the TeamsPeach name and product icon remain the
product brand (current path `native/resources/icon.png`).
## Source
@@ -1,6 +1,6 @@
# Official TeamSpeak 6 client notification sounds in TeamsPeach — provenance
The 54 files in `app/renderer/assets/sounds/` are notification sounds of the official TeamSpeak 6 client
The 54 files in `native/resources/sounds/` (formerly `app/renderer/assets/sounds/`) are notification sounds of the official TeamSpeak 6 client
(TeamSpeak Systems GmbH), copied byte for byte from the client installed on the owner's workstation at the owner's
direction (2026-11-01 brief: the installed client's features and panels, value for value).
@@ -25,8 +25,9 @@ by any open-source licence in this folder.
## Transformations
None. Each file is an unchanged copy (RIFF/WAVE PCM, including its original `LIST`/`CDif`/`cue `/`bext` chunks); the
renderer decodes it with Chromium's own decoder at playback time.
None. Each file is an unchanged copy (RIFF/WAVE PCM, including its original `LIST`/`CDif`/`cue `/`bext` chunks).
The native worker decodes PCM with `hound`, then resamples/mixes through the native notification output path;
it does not use Chromium's decoder. The former renderer resource paths were relocated without changing file bytes.
## Files