Tested with latest, fully updated distro install and under Debian Buster.
I swear in the past I've been able to install modules directly from github, just by using the url provided by github's "Download Zip" link.
That no longer seems to work using either the GUI Module Admin's "download from web" option or CLI "fwconsole ma downloadinstall https://github.com/..."
What gets placed in /var/www/admin/modules/_cache under the zip file name is actually an html file containing an error message: "Your browser did something unexpected. Please contact us if the problem persists."
Downloading the github url with wget or curl works fine. Curl requires the
L/-location "follow redirects" option - does FreePBX follow redirects?
The module itself installs successfully if the downloaded zip is copied to /var/ww/html and the GUI or CLI pointed to http://localhost/master.zip.
I also tried downloading a .tgz version from github that also fails.
Specific urls tested: