Free hosting providers for static websites in 2020
devandgear.com
devandgear.com
> Neocities (a portmanteau of the prefix neo- and GeoCities) is a free web hosting service. Offering 1 GB of storage space and no server-side scripting, the service's expressed goal is to revive the support of "creativity and free expression" provided by GeoCities
Surprised to see Lycos still around.
You can use their CLI for uploads. It's based on Ruby and can be invoked via a git hook.
In the first bullet: AWS is completely free for the first year of use, after that, you get charged for what you use.
At a minimum, that needs a disclaimer that there is a fairy generous but not unlimited free tier to be right.
You can game some free resources over the trial period if you are careful. Not the best for set and forget.
[1] http://sdf.org/
Pros: It's more or less straightforward HTTP, with no separately advertised, out-of-band endpoint; you POST or PUT to some URL, and then your content exists at that place. You can even add ACLs for other people (if you can manage to figure out how they work). It's slightly-more-than-static if you want, so you could have such things as a 90s era guest book or hitcounter for "free".
Cons: most instances advertise no stability guarantees, and no host I've seen supports any kind of CNAME/ALIAS for custom domains
There's also 5apps.com.
Pros: It's been around for a while, and the people seem very committed to keeping it around longer still
Cons: Access to the full plan is free for FOSS, but if you're not FOSS then using a custom domain requires at a minimum the $3/month paid plan, with metering and tiers that go up from there
For example, with Heroku you don't get a CDN. You can setup Cloudflare but it's an extra step. If you're setting up a SPA you don't get re-routes to index.html either.
But I was just adding on if you did want to do this, you certainly could.
Why would you? Heroku does have a lot of very nice components on it that can make it appealing for someone already using Heroku.
But I agree, Netlify/others would be better.
If I were building a static website in 2020, I would expect my provider to not only host the static files, but build from source when I `git push`. That narrows down the list to 5 so I would put those at the top.
Second, I would expect the products that don't come with static hosting out of the box to be at the bottom of the list.
For example, number 4 says "Heroku is free for non-commercial apps. It doesn’t offer hosting for static websites out-of-the-box but need some hacky tricks".
Disclaimer: I work for Vercel, one of the static hosts in this list :)
All of these CI+CDN startups have some build environment that is hopefully good enough but is eventually going to be lacking an important program or library. I much prefer using a dedicated CI solution for CI and a dedicated CDN solution for the CDN.
It's not like the integration is hard. Just tar up some files or rsync and send them to the CDN.