I’m a programmer as well, but I don’t touch the core Dsicourse code so I don’t know the exact files you need to look at on GitHub, but I’m sure someone else can direct to the right places.
The source code for the DiscourseHub application is also open source. That repo is here: