Starsector 0.97a is out! (02/02/24); New blog post: Simulator Enhancements (03/13/24)
I suppose you could start by taking a look at data\world\factions for faction properties and data\scripts\world for star system generation.