moof, @haliphax Fundamentally a different approach to coding, Takahē uses Django as a web framework, backed by a database. I haven't looked at its code, but Django apps are split into many smaller files due to the design of the framework. I might take a look at it next week.
That being said, #Epicyon appears to have more of a "Static Site Generator" philosophy, inasmuch as you can within a fedi server that requires an always-on inbox.
I'm spending some of my free time next week looking at personal fedi servers. I'm not sure what I want is out there yet, but it'll be interesting to see various approaches.