Local WhatsApp operator workspace with:
- a backend on
3456 - a frontend on
8080in Docker - project-local runtime data in this repo
If you want to stop the containers started from this repo, run this in the project root:
docker compose downThat is the exact command to stop the current Docker setup.
Docker is the recommended way to run this project.
- Docker Desktop or another Docker engine with Compose v2
- macOS / Linux:
python3must be available - Windows:
py -3must be available - Chrome/Chromium is required on the host for Docker WhatsApp history sync
git clone https://github.com/Wilsonnijc-bot/Claw-Insurance.git
cd Claw-Insurancecp config.example.json config.json
cp google.example.json google.json
cp supabase.example.json supabase.jsonThen:
- edit
config.jsonand add the real API key / model settings you need - keep
google.jsononly if you use Google STT - keep
supabase.jsononly if you use Supabase features - if you use Google STT, put the real credential JSON inside
secrets/
python3 -m nanobot docker-upThat command does the host checks, installs or reuses the host CDP helper, and then runs:
docker compose up -d --buildPlatform commands:
- macOS:
./docker-uporpython3 -m nanobot docker-up - Linux / Huawei Linux:
python3 -m nanobot docker-up - Windows / Huawei Windows:
py -3 -m nanobot docker-up
Open:
http://localhost:8080
Then log in and complete WhatsApp login / QR steps if needed.
Use these commands from the project root.
python3 -m nanobot docker-up # macOS/Linux build and start everything
py -3 -m nanobot docker-up # Windows build and start everything
./docker-up # macOS compatibility wrapper
docker compose up -d # start without rebuilding
docker compose ps # show running services
docker compose logs -f # follow all logs
docker compose logs -f nanobot-gateway
docker compose restart nanobot-gateway
docker compose down # stop everythingUseful notes:
- macOS: use
./docker-uporpython3 -m nanobot docker-up - Linux / Huawei Linux: use
python3 -m nanobot docker-up - Windows / Huawei Windows: use
py -3 -m nanobot docker-up docker compose downstops the current stackdocker compose downdoes not delete your project files in this repo
nanobot-gateway: backend API onhttp://localhost:3456nanobot-frontend: web UI onhttp://localhost:8080nanobot-cli: optional CLI profile
If you do not want Docker, these are the main local Python commands:
./bootstrap
source .venv/bin/activate
python -m nanobot setup
python -m nanobot status
whatsapp-web-nanobot-ui
python -m nanobot stop-devKeep this mental model:
- Docker: recommended for normal use
- Python commands: fallback for local development or manual setup