rebrand: rename VoiceBox to TalkBox throughout codebase
CI / frontend-quality (push) Canceled after 0s

- All 'voicebox'/'Voicebox'/'VOICEBOX' strings replaced with 'talkbox'/'TalkBox'/'TALKBOX'
- Port changed from 17493 to 17494 (avoids conflict with upstream VoiceBox)
- MCP tool namespace: voicebox.* -> talkbox.*
- App bundle ID: sh.voicebox.app -> com.talkbox.app
- Binary names: voicebox-server -> talkbox-server, voicebox-mcp -> talkbox-mcp
- Docker user/group: voicebox -> talkbox
- Database: voicebox.db -> talkbox.db
- Env vars: VOICEBOX_* -> TALKBOX_*
- Asset files renamed: voicebox-logo.* -> talkbox-logo.*, etc.
- External binaries in tauri.conf.json updated to talkbox-server/talkbox-mcp
This commit is contained in:
2026-08-24 19:45:56 -07:00
parent eaef8dd838
commit b8815e94ea
205 changed files with 1593 additions and 1593 deletions
+29 -29
View File
@@ -1,4 +1,4 @@
# Voicebox development commands
# TalkBox development commands
# Install: brew install just (or cargo install just)
# Usage: just --list
@@ -49,8 +49,8 @@ setup-python:
echo "Detected NVIDIA GPU — installing CUDA PyTorch..."
torch_index="https://download.pytorch.org/whl/cu128"
elif [ -e /dev/kfd ]; then
if [ -n "${VOICEBOX_ROCM_VERSION:-}" ]; then
rocm_ver="$VOICEBOX_ROCM_VERSION"
if [ -n "${TALKBOX_ROCM_VERSION:-}" ]; then
rocm_ver="$TALKBOX_ROCM_VERSION"
elif lspci 2>/dev/null | grep -qi "Navi 4"; then
rocm_ver=7.2
else
@@ -132,11 +132,11 @@ dev: _ensure-venv _ensure-sidecar
set -euo pipefail
backend_pid=""
if curl -sf http://127.0.0.1:17493/health > /dev/null 2>&1; then
echo "Backend already running on http://localhost:17493"
if curl -sf http://127.0.0.1:17494/health > /dev/null 2>&1; then
echo "Backend already running on http://localhost:17494"
else
echo "Starting backend on http://localhost:17493 ..."
{{ venv_bin }}/uvicorn backend.main:app --reload --port 17493 &
echo "Starting backend on http://localhost:17494 ..."
{{ venv_bin }}/uvicorn backend.main:app --reload --port 17494 &
backend_pid=$!
sleep 2
fi
@@ -149,9 +149,9 @@ dev: _ensure-venv _ensure-sidecar
[windows]
dev: _ensure-venv _ensure-sidecar
$backendJob = $null; \
try { $null = Invoke-WebRequest -Uri "http://127.0.0.1:17493/health" -UseBasicParsing -TimeoutSec 2 -ErrorAction Stop; Write-Host "Backend already running on http://localhost:17493" } catch { \
Write-Host "Starting backend on http://localhost:17493 ..."; \
$backendJob = Start-Process -PassThru -NoNewWindow -FilePath "{{ python }}" -ArgumentList "-m","uvicorn","backend.main:app","--reload","--port","17493"; \
try { $null = Invoke-WebRequest -Uri "http://127.0.0.1:17494/health" -UseBasicParsing -TimeoutSec 2 -ErrorAction Stop; Write-Host "Backend already running on http://localhost:17494" } catch { \
Write-Host "Starting backend on http://localhost:17494 ..."; \
$backendJob = Start-Process -PassThru -NoNewWindow -FilePath "{{ python }}" -ArgumentList "-m","uvicorn","backend.main:app","--reload","--port","17494"; \
Start-Sleep -Seconds 2; \
}; \
Write-Host "Starting Tauri desktop app..."; \
@@ -160,11 +160,11 @@ dev: _ensure-venv _ensure-sidecar
# Start backend only
[unix]
dev-backend: _ensure-venv
{{ venv_bin }}/uvicorn backend.main:app --reload --port 17493
{{ venv_bin }}/uvicorn backend.main:app --reload --port 17494
[windows]
dev-backend: _ensure-venv
& "{{ python }}" -m uvicorn backend.main:app --reload --port 17493
& "{{ python }}" -m uvicorn backend.main:app --reload --port 17494
# Start Tauri desktop app only (backend must be running separately)
[unix]
@@ -182,11 +182,11 @@ dev-web: _ensure-venv
set -euo pipefail
backend_pid=""
if curl -sf http://127.0.0.1:17493/health > /dev/null 2>&1; then
echo "Backend already running on http://localhost:17493"
if curl -sf http://127.0.0.1:17494/health > /dev/null 2>&1; then
echo "Backend already running on http://localhost:17494"
else
echo "Starting backend on http://localhost:17493 ..."
{{ venv_bin }}/uvicorn backend.main:app --reload --port 17493 &
echo "Starting backend on http://localhost:17494 ..."
{{ venv_bin }}/uvicorn backend.main:app --reload --port 17494 &
backend_pid=$!
sleep 2
fi
@@ -198,9 +198,9 @@ dev-web: _ensure-venv
[windows]
dev-web: _ensure-venv
$backendJob = $null; \
try { $null = Invoke-WebRequest -Uri "http://127.0.0.1:17493/health" -UseBasicParsing -TimeoutSec 2 -ErrorAction Stop; Write-Host "Backend already running on http://localhost:17493" } catch { \
Write-Host "Starting backend on http://localhost:17493 ..."; \
$backendJob = Start-Process -PassThru -NoNewWindow -FilePath "{{ python }}" -ArgumentList "-m","uvicorn","backend.main:app","--reload","--port","17493"; \
try { $null = Invoke-WebRequest -Uri "http://127.0.0.1:17494/health" -UseBasicParsing -TimeoutSec 2 -ErrorAction Stop; Write-Host "Backend already running on http://localhost:17494" } catch { \
Write-Host "Starting backend on http://localhost:17494 ..."; \
$backendJob = Start-Process -PassThru -NoNewWindow -FilePath "{{ python }}" -ArgumentList "-m","uvicorn","backend.main:app","--reload","--port","17494"; \
Start-Sleep -Seconds 2; \
}; \
Write-Host "Starting web app..."; \
@@ -236,12 +236,12 @@ build-server: _ensure-venv
New-Item -ItemType Directory -Path "{{ tauri_dir }}/src-tauri/binaries" -Force | Out-Null; \
& "{{ python }}" backend/build_binary.py; \
if ($LASTEXITCODE -ne 0) { throw "build_binary.py failed with exit code $LASTEXITCODE" }; \
Copy-Item "backend/dist/voicebox-server.exe" "{{ tauri_dir }}/src-tauri/binaries/voicebox-server-$triple.exe" -Force; \
Write-Host "Copied sidecar: voicebox-server-$triple.exe"; \
Copy-Item "backend/dist/talkbox-server.exe" "{{ tauri_dir }}/src-tauri/binaries/talkbox-server-$triple.exe" -Force; \
Write-Host "Copied sidecar: talkbox-server-$triple.exe"; \
& "{{ python }}" backend/build_binary.py --shim; \
if ($LASTEXITCODE -ne 0) { throw "build_binary.py --shim failed with exit code $LASTEXITCODE" }; \
Copy-Item "backend/dist/voicebox-mcp.exe" "{{ tauri_dir }}/src-tauri/binaries/voicebox-mcp-$triple.exe" -Force; \
Write-Host "Copied sidecar: voicebox-mcp-$triple.exe"
Copy-Item "backend/dist/talkbox-mcp.exe" "{{ tauri_dir }}/src-tauri/binaries/talkbox-mcp-$triple.exe" -Force; \
Write-Host "Copied sidecar: talkbox-mcp-$triple.exe"
# Build CUDA server binary and place in app data dir for local testing
[windows]
@@ -250,10 +250,10 @@ build-server-cuda: _ensure-venv
$env:PATH = "{{ venv_bin }};$env:PATH"; \
& "{{ python }}" backend/build_binary.py --cuda; \
if ($LASTEXITCODE -ne 0) { throw "build_binary.py --cuda failed with exit code $LASTEXITCODE" }; \
$dest = "$env:APPDATA/sh.voicebox.app/backends/cuda"; \
$dest = "$env:APPDATA/com.talkbox.app/backends/cuda"; \
if (Test-Path $dest) { Remove-Item -Recurse -Force $dest }; \
New-Item -ItemType Directory -Path $dest -Force | Out-Null; \
Copy-Item "backend/dist/voicebox-server-cuda/*" $dest -Recurse -Force; \
Copy-Item "backend/dist/talkbox-server-cuda/*" $dest -Recurse -Force; \
Write-Host "Copied CUDA backend to $dest"
# Build everything locally: CPU server + CUDA server + installable Tauri app
@@ -348,12 +348,12 @@ db-init: _ensure-venv
# Reset database (delete + reinit)
[unix]
db-reset:
rm -f {{ backend_dir }}/data/voicebox.db
rm -f {{ backend_dir }}/data/talkbox.db
just db-init
[windows]
db-reset:
if (Test-Path "{{ backend_dir }}/data/voicebox.db") { Remove-Item -Force "{{ backend_dir }}/data/voicebox.db" }
if (Test-Path "{{ backend_dir }}/data/talkbox.db") { Remove-Item -Force "{{ backend_dir }}/data/talkbox.db" }
just db-init
# ─── Utilities ────────────────────────────────────────────────────────
@@ -370,11 +370,11 @@ generate-api:
# Open API docs in browser
[unix]
docs:
open http://localhost:17493/docs 2>/dev/null || xdg-open http://localhost:17493/docs
open http://localhost:17494/docs 2>/dev/null || xdg-open http://localhost:17494/docs
[windows]
docs:
Start-Process "http://localhost:17493/docs"
Start-Process "http://localhost:17494/docs"
# Tail backend logs
[unix]