I want to build a UI that uses a GitHub app that asks the user to login and then after they login, they press a button which creates a new repository in their GitHub. This new repo would be a copy (i.e. templated from a project I have in my personal repo). Think of it like the template feature from GitHub, but instead of working within GitHub, it’s through my UI where it is done externally.
I know that I would need to write access to code, read access to metadata/repository hooks, and read and write access to admin/checks
How would I create this?