Okay I've split the project into two git repositories:
TemplateCoronaIOGame contains ".hub" as a git submodule. The root folder looks like this:
Basically my idea is that everyone's io-game project can be in a root folder like "CoronaIOGame", and they could have the ".hub" folder just pointing to the shared hub GitHub repo. This way we could make changes to the hub project and benefit all our io games.
Here's how hub CLI looks at the moment.
And here's what it looks like when you deploy new luvit changes to a server.
Anyways I'm not sure if I should open source it until I get it to a stable point. I'm about 3 weeks into this thing...and I'm constantly introducing breaking changes.
I'm also worried about trying to help other developers get started. For example, there are two folders I'm using which might be difficult to explain to newcomers. Most of the content in there is generated by the CLI.
The tracked folder is tracked by your game's git repository and remembers things like where your firebase project is located. I have a lot of data about the project stored on Firebase.
The untracked folder is ignored by git, and it contains your passwords for servers and firebase encrypted. These encrypted passwords are also stored on Firebase's realtime database so that you just login once to firebase and everything else populates.
So what I'm saying is that I tried a lot of things, and I'm a little nervous about opening up for others at the moment until I've narrowed the project down to a point where I'm not experimenting with new ideas every weekend.