This server is deployed and runs in an AMI (Amazon Machine Image).
The FastAPI server exposes desktop control functionality via pyautogui for remote access.
To start the server on the remote desktop, please follow these steps:
- Copy
hai_drivers/interfacesdirectory into a dedicated folder on the machine. - Copy
hai_drivers/desktop/remote_desktop_driver_serverinto a dedicated folder as well. Important: Maintain the same folder structure between server and interfaces. - Install uv on the machine.
- Navigate to the server directory and install the dependencies:
$ cd desktop/remote_desktop_driver_server
$ uv sync- Activate your environment and start the server:
$ python src/server.py --host 0.0.0.0 --port 8000