fa0170daa9
C++ WebView2 host app driving a Python/rembg engine as a JSON-stdio sidecar, with live before/after preview for images and video frames. Also includes the original CLI (removebg.py) built on the same core/ engine. The WebView2 SDK is fetched on demand via native/third_party/fetch-webview2.ps1 (wired into the Makefile) rather than vendored, since it's ~15MB of prebuilt/generated Microsoft SDK content. A Makefile provides make sync/build/run/clean as the standard entry points.
47 lines
2.3 KiB
Markdown
47 lines
2.3 KiB
Markdown
# JWTF Tools
|
|
|
|
A collection of utility tools for development and testing.
|
|
|
|
## Tools
|
|
|
|
### [Fake Media](./fake-media/)
|
|
|
|
Generates large collections of placeholder PNG images for testing without downloading real files. Supports a terminal UI and a non-interactive CLI mode. Configurable image sizes, folder structure, file counts, and naming prefixes — uses only Python's standard library.
|
|
|
|
```bash
|
|
python3 fake-media/generate_fake_media.py
|
|
```
|
|
|
|
### [Fake Wheel](./fake-wheel/)
|
|
|
|
Emulates a Logitech G29 Racing Wheel as a virtual Linux input device via `/dev/uinput`. Useful for testing applications that consume gamepad/wheel input without needing physical hardware. Simulates steering, throttle, brake, and button events automatically.
|
|
|
|
```bash
|
|
sudo python3 fake-wheel/fake_wheel_uinput.py
|
|
```
|
|
|
|
Requires Linux with the `uinput` kernel module and either root access or a user in the `input` group.
|
|
|
|
### [RemoveBG Studio](./rembg/)
|
|
|
|
AI background removal for images and video, with lossless FFmpeg frame extraction/reassembly. Ships as a native Windows app (C++ host embedding WebView2, driving a Python/rembg sidecar over JSON-stdio) with a live before/after preview, plus a scriptable CLI and a legacy Tkinter GUI fallback. See [rembg/README.md](./rembg/README.md) for build/usage details.
|
|
|
|
### [VidBoard Setup](./vidboard-setup-rs/)
|
|
|
|
A Rust TUI installer that copies VidBoard AI model files into existing ComfyUI and Ollama installations on Windows. Automatically detects both applications via open ports, running process command lines, environment variables, and known install locations — pre-filling the paths so you only need to confirm and press Enter.
|
|
|
|
The installer expects a `models/` directory next to the binary containing the ComfyUI and Ollama payload. It copies the following files:
|
|
|
|
- **ComfyUI** (`models/comfyui/`) — Flux 2 Klein 4b fp8, Flux 2 Klein 9b fp8, Qwen 3 4b text encoder, Qwen 3 8b fp8 text encoder, Flux 2 VAE
|
|
- **Ollama** (`models/ollama/`) — gemma3:12b, gemma4:e4b manifests and blobs
|
|
|
|
Files already present at the destination with a matching size are skipped. A live progress gauge shows per-file and overall transfer speed.
|
|
|
|
```bash
|
|
cargo build --release
|
|
# Place the binary alongside the models/ directory, then run:
|
|
./vidboard-setup.exe
|
|
```
|
|
|
|
Requires Windows (uses PowerShell for process/port detection).
|