Getting a '500' error when trying to install

It looks like that’s not the correct link. If you use the one from the OP it should work fine - GitHub - discourse/discourse-custom-header-links · GitHub

If you can tell me where were you trying to install that link from I’ll have a check to see if we can update that.