Lurker News
This is more of a thought experiment, I know a multitude of ways to do this which require loads of setup, jumping through AWS hoops, etc. I'd like ideally way to deploy to a hosted service with a single command. Imagine Heroku but even easier.

Comments (487) 172 threads

Earlier comments
jboynyc#
Take a look at sourcehut pages (srht.site) too.
tomduncalf#
surge.sh is quite nice, mainly because you just run the command from your “dist” directory, press enter a couple of times, and it’s uploaded.

If you want a more CI type service (i.e. you push your code and it builds on the cloud, rather than you build it locally - or it requires no build), I’ve found Netlify pretty good.
Was using Vercel for a Next.js project recently, quite nice experience but it randomly started timing out about 50% of builds and their support were unwilling to help without a minimal repro - fair enough, but I was on a deadline so switched to Netlify, which built the site with no issues.
Will try out Cloudflare Pages next based on the positive comments in here!

Chris20481 reply#
I guess cheap and easy are opposite directions in a way, but if you are totally static, I guess a Digital-Ocean instance isn't too difficult, with some leeway to improve the response-time over time; Just slap a Nginx or something on it, serve up the statics, and maybe establish a way to upload stuff (scp?), Just keep hold of backups (docker images, configs/dotfiles, and actual content), put good protection on the droplets (they are targets for hacking).

The benefit is that it's just a linux distro of your choice, so you can use whatever you are familiar with, and there is scope to add non-static service if needs be.

dcchambers1 reply#
If all you really need is static web hosting there's several "good enough" or even "really good" free options these days, and many of them have insane reliability/uptime and can even build your site/blog for you. Many of them can be set up to deploy automatically when you commit to a repo.

- GitHub Pages and Netlify are the two obvious and most popular choices, but there's also cloudflare, gitlab pages, hell even Keybase has static website hosting: https://book.keybase.io/sites

RScholar#
Yeah, I was going to recommend Keybase as well, despite still being extremely butt-hurt over the sale to Zoom and subsequent abandonment of continued development on it. While it has some limitations, it's hard to beat their combination of uptime, price, a built-in Markdown parser so you don't even have to muck around with Jekyll/Hugo/Pelican et al., as well as mobile apps that expose the files and directory structure for editing on the go. You can even map it to your own external domain.

Load more comments