Scaffolding projects to Github via Fly machine. How?

What? Automate the scaffolding of personal Deno projects and push them to GitHub.

  1. Maintain a temporary “projects” volume
  2. Make a script that executes commands on terminal to set up projects (ex: bun create nuxt app)
  3. Using Octokit to create a new repository with the project files

Anyone has done this before? Maybe there is a docker image that already do this / library to make the process easier?

There is very rarely a Docker image for any specific app that can be imagined. It may indeed be quicker to write a Docker file to do this than to go searching for one :zany_face:

The spec is rather brief, so I’d say at a minimum you’d need a GitHub token with the right permission(s), and then the right set of API calls to create a remote repo and to push a local repo to the remote.

Do you envisage this application taking input from a web app, or would console be OK?

A console interface is fine. If I can access a command-line prompt, I’ll probably use fly exec endpoint