From 247770b9d088e5007b5c0e9fe55c8254808ab652 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?K=E2=81=BA?= <118133338+kamaludu@users.noreply.github.com> Date: Thu, 20 Aug 2026 13:17:09 +0200 Subject: [PATCH 1/2] Update README.md --- extras/gui-py/README.md | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/extras/gui-py/README.md b/extras/gui-py/README.md index df9df1e9..94125fdf 100644 --- a/extras/gui-py/README.md +++ b/extras/gui-py/README.md @@ -65,7 +65,7 @@ pip install "fastapi>=0.100.0" "uvicorn>=0.20.0" "pydantic>=2.0.0" **Termux (Android)** ```sh -# 1. Installazione di Python e strumenti di build (necessari per pydantic-core) +# 1. Aggiornamento del sistema e installazione tool di compilazione pkg update && pkg upgrade -y pkg install -y python rust clang binutils make libffi @@ -73,9 +73,14 @@ pkg install -y python rust clang binutils make libffi python -m venv .venv source .venv/bin/activate -# 3. Aggiornamento di pip (nella venv) e installazione delle librerie +# 3. Aggiornamento pip e installazione pacchetti (inclusa gestione form/upload) pip install --upgrade pip -pip install "fastapi>=0.100.0" "uvicorn>=0.20.0" "pydantic>=2.0.0" +pip install "fastapi>=0.100.0" "uvicorn>=0.20.0" "pydantic>=2.0.0" python-multipart +``` +*Per avviare la GUI nell'ambiente virtuale di Python: `.venv`* +```sh +source .venv/bin/activate +./bash4llm --gui ``` **macOS (con Homebrew)** From 59d8a50287f8265d92bde791164e5e5c96a4b245 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?K=E2=81=BA?= <118133338+kamaludu@users.noreply.github.com> Date: Thu, 20 Aug 2026 13:22:06 +0200 Subject: [PATCH 2/2] Revise Termux setup instructions and add GUI command Updated installation instructions for Termux and added GUI startup command. --- extras/gui-py/README-en.md | 15 +++++++++++---- 1 file changed, 11 insertions(+), 4 deletions(-) diff --git a/extras/gui-py/README-en.md b/extras/gui-py/README-en.md index 9f4176f1..60ed1517 100644 --- a/extras/gui-py/README-en.md +++ b/extras/gui-py/README-en.md @@ -65,19 +65,26 @@ pip install "fastapi>=0.100.0" "uvicorn>=0.20.0" "pydantic>=2.0.0" **Termux (Android)** ```sh -# 1. Python installation and build tools (necessary for pydantic-core) +# 1. Update system and install build tools pkg update && pkg upgrade -y pkg install -y python rust clang binutils make libffi -# 2. Creation and activation of the virtual environment +# 2. Create and activate virtual environment python -m venv .venv source .venv/bin/activate -# 3. Pip update (in venv) and installation of libraries +# 3. Upgrade pip and install packages (including form/upload handling) pip install --upgrade pip -pip install "fastapi>=0.100.0" "uvicorn>=0.20.0" "pydantic>=2.0.0" +pip install "fastapi>=0.100.0" "uvicorn>=0.20.0" "pydantic>=2.0.0" python-multipart ``` +*To start the GUI in the Python virtual environment:* `.venv` +```sh +source .venv/bin/activate +./bash4llm --gui +``` + + **macOS (with Homebrew)** ```sh # 1. Python installation via Homebrew (already includes pip and venv)