Creating a monorepo for the various web apps we may have

First off the definition:

So now that I’m quite close to being able to start on a rewritten main website, I started thinking about how to structure the code sharing. Obviously it will share a lot of code with the DevCenter so I thought I’d make one “revolutionary web app base” project, which would then be used by both.

That doesn’t sound too complicated yet and could very well be split into its own repo. But I’ve been thinking about what’s the endgame. How many custom web apps will Thrive have in total? If we start adding stuff like a centralized login / registering for use in potential Thrive multiplayer, that’s then 3 separate repos for the apps. Then if we just keep on going rewriting any software I find annoying like Weblate and maybe the wiki and suggestions. That’s a ton of repos. It will be quite a huge pain if dependabot opens 2 PRs for each repo and then also the shared base. Because that will require then updating all of the depos for the new shared base version.

That’s starting to sound like quite a bit of pain. Thus the idea of a monorepo came into my head as the solution. So instead of having all of those separate repos what I could do would be to rename the current ThriveDevCenter repo to something like RevolutionaryWebApps that way the base project as well as all other web apps we’d have can share the same repo. That way the dependabot updates work nicely and aren’t any more work-intensive than they currently are. The only downside I see is that eventually when there’s an absolute ton of code and tests a bunch of extra stuff will be done for each commit, but I don’t see this as much of a threat considering how much difficulty I have in getting anyone to help me out with the devcenter development.

It shouldn’t be too difficult to rename the repo and re-setup the CI jobs and probably add LFS as the main site will use some pretty large theme images. I don’t really expect anyone to discuss this idea, but does anyone have anything to comment on this?


Even though just knowing about monorepo now (somehow), I found the reasoning to be quite logical so this seems like a good course of action. I don’t have any comments other than one nitpick for the repo’s suggested name, I think names like RevGamesWebApps or RGWebApps would be more accurate because I’m sure we probably won’t be making web apps that are truly revolutionary :wink:.

1 Like

It’s a bit of a joke for me to name things “revolutionary x” Like the music bot on the dev discord is called “Revolutionary Music” and our Github bot is called “Revolutionary bot” That’s why I was thinking about naming the repo RevolutionaryWebApps, as partly a joke, and partly it is just a shortened form of the full thing “Revolutionary Games Studios’ Web Applications”