I’d like to build an app that will respond to an HTTP POST form submission by:
* forking a GitHub repo that contains an HTML template file
* replacing template text in the file (for example, the HTML title tag) with user-provided text (from a form field)
* saving the fork in the user’s account with the modified HTML file
So basically I want to initiate a fork from an HTTP POST and modify a file during a fork.
Can this be done with a GitHub app? Is there a better way to do it? Can you point me to the API documentation or example code?