init commit

This commit is contained in:
2026-04-01 13:53:09 -03:00
commit 453601c072
22 changed files with 1525 additions and 0 deletions

18
ctrl/app.sh Executable file
View File

@@ -0,0 +1,18 @@
#!/bin/bash
# Start the CHT desktop app on this machine
# Usage: ./app.sh
set -euo pipefail
PROJECT_DIR="$(cd "$(dirname "$0")/.." && pwd)"
cd "$PROJECT_DIR"
# Setup venv and install deps if needed
if [ ! -d .venv ]; then
uv venv --system-site-packages
uv pip install -e ".[dev]"
elif [ pyproject.toml -nt .venv/.installed ]; then
uv pip install -e ".[dev]"
fi
touch .venv/.installed
exec .venv/bin/python -m cht.app "$@"