Interesting idea. Have you looked into using a configuration management tool? We have an API that many different project have used to create integrations with our service. Tools like Ansible, Puppet, and Chef will all work with DigitalOcean.
We have a tutorial series on using Chef to manage your infrastructure that might be useful:
Thanks for the feedback!