Files
LyAhn bea2caba9e document vidboard-setup-rs in README
Add tool description covering auto-detection behviour, the ComfyUI and
Ollama model payload, skip-if-present logic, build/run instructions, and
the Windows requirement.
2026-06-01 15:30:31 +01:00

43 lines
1.9 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.
### [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).