How to create a web application such as serverpilot to manage unmanaged Linux vps ?

hello, this is my first post here and i want to know about automated server management. how to create a web application such as serverpilot to manage unmanaged linux vps (digital ocean , vultr, etc.)?:confused::confused::confused: