Copycopter Server is open source. Run it as a web service.