Live data from Hacker News

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

github.com

101–110 of 171 posts

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

#101
post #37

Earlier quoted context omitted.

There are plenty of reasons even beyond privacy and MITM content changes. Supposedly HTTPS is better for SEO and also there are browser APIs[1] that only work in HTTPS context [1]: https://developer.mozilla.org/en-US/docs/Web/Security/Secure...

If you're building an application that requires the uses of these APIs, I'd hardly call that a static site, but maybe that's just me.

HTTP/2 is one of those things that only works over HTTPS so it can absolutely be a static site being served over it.

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

#103
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/

Github pages requires a paid account. https://help.github.com/en/articles/githubs-products#github-...

Only for private repos, public repos can use github pages for free.

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

#104
post #92

Sorry to nitpick, but "Copyright © 2019" isn't a "license". It's not even a full copyright declaration without listing an owner.

Sorry to nitpick, but copyright declarations are a thing of the past in many nations with copyright protections automatically conveyed upon creation, registration only necessary within a short time after infringement was detected, with registration serving to only maximize the monetary sanction the government will levy on your behalf. and regarding license, they have the MIT license added to the repository

That's fine, but this is purporting to be a copyright declaration. I know they're unnecessary, but if you are got to add one, you should do it properly.

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

#105
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…

Maintenance is my primary concern. I deal with software for a living. I want my blog to just work without me having to worry about maintaining the VM. Netlify makes this dead simple. I used to host Wordpress sites for myself and family members. I've now moved nearly all of those sites to Netlify (for hosting) and Forestry (for editing/CMS). I no longer have to worry about malicious hacking attempts, Wordpress updates…

apt-get install nginx goaccess

cd website

cp * /var/www/html

Yearly maintenance required: apt-get update, apt-get upgrade

View traffic stats: goaccess -f /var/log/nginx/access.log

I'd say its just as easy and seamless to do it yourself on a cheap VPS for a static website. HTTPS isn't that much extra work either.

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

#106
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…

How is there vendor lock-in for static websites, though? Can't you just take your files and go somewhere else?

Yep, you certainly can, which is part of their the beauty.

Last I looked, though, you couldn't deploy to S3 without using tools that work specifically with it.

I guess it's really not that big a deal, but I prefer the genericness of "I'm configuring a webserver and pushing my files to it."

That process can be just about fully automated, even including HTTPS setup if you want that, and then you can use with whatever server provider you like.

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

#107
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/

Github pages requires a paid account. https://help.github.com/en/articles/githubs-products#github-...

I've been using GitHub Pages for free on several projects for many years.

Perhaps to use GitHub Pages with private repos, one has to pay?

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

#108

Earlier quoted context omitted.

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.

As a non native speaker I came to the conclusion that in English it is possible to turn any noun into a verb. Not parent but "Frontended" made sense to me.

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

#110

How to host static website with HTTPS, a global CDN and custom domains for free: 1. Setup public repo with Hugo project 2. Add Travis CI integration with GH Pages 3. Use CloudFlare for free SSL + other goodies Why would anyone need this?

Totally agree! Only thing is GH pages might limit your size at some point... Wish they would introduce a per GB pricing and allow you to scale. That would make it a permanent solution.
Post reply on HN