Relative Content

Tag Archive for npmnext.jsgithub-apiverceloctokit-js

Programmatically generating files and pushing to user’s GitHub – backend architecture

So right now, I have a NextJS/Typescript app set up with GitHub Auth. The user fills out a form that which then gives me a long command line string to generate some files (using yarn/npm) — I have up to this point done now. What I’m wondering about is this next part though, I want to run this command somewhere (Separate Linux VM? Right there on Vercel?) to generate the files, and then I also want to upload them to a new private repository on their GitHub account. Not sure what the best way to do this is.