Would it be possible to extend this and run Charles Proxy on a server? I have used Charles to capture mobile traffic and always felt that having a machine running Charles on the same Wifi network as the mobile device was a hassle.
Author here: it's totally doable. Please keep in mind that you won't be able to change settings values at runtime (e.g.: adding new rewrite rules).
I tried changing the configuration file but the changes aren't propagated to Charles if it's running.