Feature request: the ability to add remotes from the database

If you know what template to use, I always wondered if this method through API would work…