Loading...
Loading...
Manage server resources via BT Panel API. Supports website management, Docker orchestration, database operation and maintenance, and file management. Features automatic firewall bypass and session sniffing capabilities.
npx skill4agent add ayflying/ai-skills baota-panelnpx skills add ayflying/ai-skills --skill baota-panelpip install -r requirements.txt.env.example.env.envx-http-tokenpython scripts/bt_api.pyfrom scripts.bt_api import BTPanelAPI
api = BTPanelAPI(url, key)
# Even if blocked by a firewall, it can execute stably
api.docker_compose("/www/docker/myapp", "up -d")# Execute deletion after obtaining the project ID
api.delete_compose_project(1)