Hetzner-vps-Bot
Open-source PHP platform to sell & manage Hetzner Cloud VPS — web store, Telegram bot, PayPal, admin panel. EN/AR
A self-hosted PHP platform for running a Hetzner Cloud VPS reselling business, with a web store, Telegram bot, admin panel, and PayPal payments built in.
Hetzner VPS Bot is a ready-to-deploy PHP application that lets anyone run their own VPS reseller business on top of Hetzner Cloud. The owner sets it up on their own server, connects it to Hetzner's API, and can start selling cloud servers to customers through a web store.
The platform combines four separate access points into one codebase. Customers can browse and buy VPS plans through a web store, pay via PayPal, and get their server activated automatically. A Telegram bot gives customers a way to control their server and check account status without visiting the website. The admin panel lets the owner manage clients, plans, invoices, and server inventory all in one place. A REST API is also included for anyone who wants to build a mobile app on top of it.
Setup is handled through a browser-based installation wizard. After uploading the files to a PHP host (shared hosting via cPanel works, as does a standalone VPS), the wizard collects database credentials, admin login details, and store name, then writes the configuration file. From the admin panel, the owner then adds their Hetzner API token, links the Telegram bot, and optionally configures PayPal. A cron job must run hourly to handle subscription renewals and automatic suspensions.
The project uses PHP 8.1 or higher with MySQL and has no external package dependencies. The author built a custom autoloader instead of relying on Composer, so there is nothing to install beyond uploading the files. The interface supports both English and Arabic, including right-to-left text layout for Arabic users.
The code is released under the MIT license, meaning it is free to use, modify, and redistribute. The developer also offers paid setup and customization services starting at $10 for those who want help getting it running.
Where it fits
- Start a VPS reselling business by connecting your Hetzner account and letting customers buy and manage servers through your own web store.
- Offer Telegram-based server control so customers can reboot or check their VPS without logging into the website.
- Manage customer subscriptions, invoices, and server status from a single admin dashboard with English and Arabic support.
- Build a mobile app on top of the included REST API with JWT and OTP authentication.