Live data from Hacker News

Show HN: Scar – Static websites with HTTPS, a global CDN, and custom domains

github.com

61–70 of 171 posts

Re: Show HN: Scar – Static websites with HTTPS, a global CDN, and custom domains

#61
post #49
post #47

Am I the only one who still hosts my own static sites on a plain old virtual machine? It's pretty simple to configure nginx for static sites, and by doing it yourself you reduce vendor lockin to just about nil. Even if S3 is massively cheaper, $5/month for a tiny VM seems like a small price to pay for being vendor-abstract. I suppose S3 is way less likely to suffer a meaningful outage than my little VM, but how many…

> you reduce vendor lockin I don't know why anyone cares about vendor lock in. It's either trivial to move an aws lambda to a google cloud function because you don't have a lot going on, or it's not trivial to move stuff from even your own servers to other servers because it's under huge load and you have considerable amount of data you'd have to migrate under complex conditions. Moving around is either hard or easy…

No, vendor lock in can mean a lot, from lets say even a simple plain API implementation, where one vendor might implement something(storage for eg) in a way where its not possible for the other vendor.

I recently moved one of my k8s cluster from gc to aws, even terminology change can introduce a lot of awkwardness.

Re: Show HN: Scar – Static websites with HTTPS, a global CDN, and custom domains

#62
post #47

Am I the only one who still hosts my own static sites on a plain old virtual machine? It's pretty simple to configure nginx for static sites, and by doing it yourself you reduce vendor lockin to just about nil. Even if S3 is massively cheaper, $5/month for a tiny VM seems like a small price to pay for being vendor-abstract. I suppose S3 is way less likely to suffer a meaningful outage than my little VM, but how many…

There are some low end VPS providers too that go as low as $1/mo. I usually stick to $2/mo or higher just for stability, reliability. Even you even got hosts like Hetzner Cloud, Scaleway (see European hosts) that provide great service, bandwidth, and VPS. I don't know why people use Amazon... I don't find their value proposition very good unless you need dynamic scaling for unpredictable demand.

Re: Show HN: Scar – Static websites with HTTPS, a global CDN, and custom domains

#63
post #6

GitHub pages [0] gives you static sites with HTTPS and a custom domain without nearly as much complexity as this if you're looking for an alternative to Netlify. [0] https://pages.github.com/

I feel like Netlify has set the standard in this area now so I'm curious to learn what's different when I see these projects mentioned here.

I had honestly never heard of Netlify. I thought GitHub Pages was the standard, with S3 static hosting a second (more involved) option.

EDIT: Googling suggests Netlify offers a build, deploy, hosting pipeline all-in-one box. Which is substantially more than any of the projects mentioned here. These serve a single purpose - simple hosting of static websites.

Re: Show HN: Scar – Static websites with HTTPS, a global CDN, and custom domains

#65
post #6

GitHub pages [0] gives you static sites with HTTPS and a custom domain without nearly as much complexity as this if you're looking for an alternative to Netlify. [0] https://pages.github.com/

It even gives you a CDN. GitHub Pages is fronted by Fastly.

Legitimate doubt:

Fronted or frontended?

Re: Show HN: Scar – Static websites with HTTPS, a global CDN, and custom domains

#66

Earlier quoted context omitted.

It even gives you a CDN. GitHub Pages is fronted by Fastly.

Legitimate doubt: Fronted or frontended?

frontended doesn't make sense as a word. Fronted has many somewhat applicable definitions including

* provide (something) with a front or facing of a particular type or material. * act as a front or cover for someone or something acting illegally or wishing to conceal something. "he fronted for them in illegal property deals" * stand face to face with; confront.

Re: Show HN: Scar – Static websites with HTTPS, a global CDN, and custom domains

#67

Earlier quoted context omitted.

What I like about static sites is that you can serve the site in its entirety from a CDN. So you can literally just CNAME www.yoursite.com to yoursite.gitlab.io (or w/e static site host you use). This dramatically cuts down on latency worldwide. It also removes your web server as a single point of failure for short-term outages.

> you can literally just CNAME www.yoursite.com to yoursite.gitlab.io After so many years I still can't really understand how easily people hand over almost complete control over their site to someone else, just because everyone else does. It's like handing over your e-mail account passwords when LinkedIn started. Yes, CloudFlare, Google and others are helping you, but there is a price to pay that might not be immedi…

It seems pretty different from a password because you're not giving control of your domain: if they broke their contract, you could take it back at any time.

That's the other odd part about this complaint: you're trusting a company like GitLab not to break their terms of service, which is a potential factor to consider but also one where they'd have severe negative outcomes to their business if they went rogue. Since you're already trusting a number of other parties, why is this one so much scarier?

Re: Show HN: Scar – Static websites with HTTPS, a global CDN, and custom domains

#68

Earlier quoted context omitted.

I feel like Netlify has set the standard in this area now so I'm curious to learn what's different when I see these projects mentioned here.

I had honestly never heard of Netlify. I thought GitHub Pages was the standard, with S3 static hosting a second (more involved) option. EDIT: Googling suggests Netlify offers a build, deploy, hosting pipeline all-in-one box. Which is substantially more than any of the projects mentioned here. These serve a single purpose - simple hosting of static websites.

Also, github pages require a public repository (or a pro account), Netlify + github doesn’t

Re: Show HN: Scar – Static websites with HTTPS, a global CDN, and custom domains

#69
post #2

This is cool, I'm glad somebody built this! I love netlify but I worry about vendor lock-in.

I'm usually paranoid about vendor lock in, but I can't join you on this one. Netlify assumes a version control repository that you can pull from, run a build step, and then host static files from. The build tools are open source, the output is static and trivial to download and rehost, and the repository is git meaning one clone is all you need to port to any other service. Where exactly is the vendor lock in?

It's not so much my code that is locked in, as that netlify has spoiled me by making deployment so streamlined that it would be hard to go back to manual deployment. This gives me another option, which I appreciate. That's all I meant.

Re: Show HN: Scar – Static websites with HTTPS, a global CDN, and custom domains

#70
We use a combination of Netlify + Webflow + Hugo for our website (www.facetdev.com). With that we get a global CDN and our website will never go down.

Netlify has been awesome and it made it stupid easy to combine our www site on Webflow with a hugo static blog in a subfolder (/blog). This might be my favorite web publishing workflow ever.

If you haven't tried Netlify yet, definitely give it a look.

Post reply on HN