run-js
run-js copied to clipboard
Automatically create github repo
Maybe we could integrate github repo setup.
That'd be nice, though it's not clear how a prototyping tool would fare with this. Probably just including a dependency to run-js and adding an npm start that ran run-js . & open localhost/my-file.js is enough to make the contents of the repo make sense.
Then there's the actual repo creation. Doing it via the API means fussing around making the user log in on the cli, which they may not (and probably shouldn't) trust. We might be able to just 1) point folks to github.com/new, and then 2) set up the git remote and push on their behalf.
Overall, I feel like this is a bit of scope creep. But I thought I'd throw it out there. What do you think, @remixz?