A Script to Create a HTTPS Website (For Free)
My go-to setup for static websites (like jonbake.com) is GitHub Pages and Cloudflare. GitHub Pages offers a way to host a static website directly from a git repository. Cloudflare offers a free CDN service (making the website extremely fast) with free SSL/HTTPS certificates on custom domains.
It really is a great setup, but it can be a bit time-consuming to configure through the GitHub and Cloudflare websites. Fortunately, both GitHub and Cloudflare have APIs. Using their APIs, this script can be used to quickly set up your own GitHub Pages/Cloudflare HTTPS-enabled, custom domain website:
See a typo? Submit a Pull Request.