Based on HTMLy installer (https://github.com/Kanti/htmly-installer) by Matthias Vogel