I was thinking the same, but according to [1] some parameters like the hostname are hard-coded. So, that might be why you need to make the code public on GitHub (although still, technically you can still comply with the AGPL with a private repository).