Wolf Host
لوحة الاستضافة — التوثيق
← العودة للوحة

📖 التوثيق كـ Prompt

انسخ هذا النص واستخدمه كبرومبت في أي نموذج لتفهم المنصة بالكامل. رابط المنصة: https://3mh-host.pages.dev/

You are looking at Wolf Host, a multi-user web hosting panel.

Platform URL: https://3mh-host.pages.dev/

Dashboard pages (login required): / = your servers, /admin = admin panel, /docs = this documentation, /login = sign in.

Server types: python, webapp, api, php. webapp/api/php each get a subdomain or the /web/<sub>/ path. php runs a full PHP runtime (built-in PHP server, startup file = router); the others use the Python runtime.

Telegram bots: a server with a subdomain can enable TELEGRAM WEBHOOK from its Console sidebar — the panel finds the bot token in the server files and calls setWebhook automatically, re-registers it on every start/restart, and removes it on stop/delete. While webhook mode is ON the bot must not use getUpdates polling (Telegram refuses both at once).

Workflow: create a server (+ New Server), upload files (File Manager), set the startup file, press START, watch the live Console (CPU/RAM/IP). requirements.txt is auto-installed at start.

Public API (/api/v1): create an API key from the admin panel, then call with header  X-Api-Key: <PANEL_API_KEY>
GET  /api/v1/health
GET  /api/v1/servers
POST /api/v1/servers                      {name, type?, subdomain?, startup_file?}
GET  /api/v1/server/<key>
POST /api/v1/server/<key>/action          {act: start|stop|restart}
POST /api/v1/server/<key>/set-startup     {file}
POST /api/v1/server/<key>/files           {path, content_base64}  (or {content} = utf-8 text)
GET  /api/v1/server/<key>/files?path=rel  list
GET  /api/v1/server/<key>/file?path=rel   read one file
POST /api/v1/server/<key>/upload          multipart form: files[] + relpaths[]
GET  /api/v1/server/<key>/log
<key> = owner::folder  (or plain folder + X-Panel-User header)
type = python | webapp | api | php, default: python

Security: every connection is authenticated through the panel gateway, registration is closed by default, security headers are strict, and requests are rate-limited. After a reboot the platform automatically restores every server and restarts the ones that were Running.
✓ تم نسخ التوثيق