Here's a crazy idea:
/routes/branch/:name
module.exports = async () => ...
- Clone that branch into that a
tmp folder.
return require(tmp)
In theory, this could work!
There would need to be a ~5 minute or ~10 minute timer to kill lambdas, but that's easy.