I have put the LoreGen C# source code on GitHub:

https://github.com/danstalcup/loregen

Feel free to peruse my code!

However, there are a couple of issues:

  1. The data files are not included in the commit. You can get them from the Worldbuilder download
  2. I haven’t really cleaned up the code for it to be coherent to external eyes
  3. I have not released the code under a license yet, so I still reserve all rights

I hope to address these issues in the near future