Vector Watcher is packaged as a single desktop application containing:
When the packaged desktop application starts:
127.0.0.1:8765.When the application closes, Tauri terminates the backend process.
┌──────────────────────────────────────────────┐
│ Vector Watcher │
│ │
│ ┌────────────────────────────────────────┐ │
│ │ Tauri Frontend │ │
│ │ │ │
│ │ React / TypeScript UI │ │
│ └────────────────────┬───────────────────┘ │
│ │ HTTP │
│ ▼ │
│ http://127.0.0.1:8765 │
│ │ │
│ ┌────────────────────▼───────────────────┐ │
│ │ Python Backend Sidecar │ │
│ │ │ │
│ │ FastAPI / Uvicorn │ │
│ │ │ │
│ │ Packaged with PyInstaller │ │
│ └────────────────────────────────────────┘ │
│ │
└──────────────────────────────────────────────┘
The desktop UI is built using:
React TypeScript Tauri
The frontend communicates with the local backend using HTTP.
The backend uses:
Python FastAPI Uvicorn
The backend listens only on:
127.0.0.1:8765
It is started automatically by the Tauri application.
Application Starts
│
▼
Tauri Starts
│
▼
Python Sidecar Starts
│
▼
FastAPI / Uvicorn Starts
│
▼
Port 8765 Available
│
▼
Frontend Communicates with Backend
│
▼
Application Closes
│
▼
Tauri Terminates Backend
See also: