Live data from Hacker News

Building a fast, secured and free static site in less than three hours

fillmem.com

71–80 of 201 posts

Re: Building a fast, secured and free static site in less than three hours

#71
post #47

Earlier quoted context omitted.

How do you down vote on HN?

There is a karma threshold before you can see the down vote arrow (underneath the up vote arrow). It was 200 when I got it, it may be up to 500 by now? I don't think they publish the number.

I'm between 200 and 300 and can't downvote, so they seem to have increased the threshold.

Re: Building a fast, secured and free static site in less than three hours

#72
Neocities [0] does all of this!

- It's free (though you can become a supporter and get some extra benefits) [1]

- It's fast, since it uses it's own CDN. [2]

- It's secure, all pages support SSL, even with custom domains. [3]

- It has a command line tool [4] that can be wrapped to automate upload of pages, or used in a Git hook.

- It has a plethora of learning resources [5].

[0] https://neocities.org

[1] https://neocities.org/supporter

[2] https://www.youtube.com/watch?v=-i6wvix6buI

[3] https://blog.neocities.org/default-ssl.html

[4] https://neocities.org/cli

[5] https://neocities.org/tutorials

Re: Building a fast, secured and free static site in less than three hours

#74
post #54

Holy cow. Is this an improvement? Remember in 1999 when you could get a static website up in 3 minutes using ftp?

It's actually a good* guide, but the wording of the title seems to me to imply that this is a simple process. It's dizzying complex. * by "good", I mean the following: - prose is engaging - very comprehensive, no hidden steps missed - covers a lot of things that while not strictly necessary, will make an experienced git user's website updating workflow much easier in the long run - covers some small details that are…

I agree.

From the outset it is version controlled, CDN'd, available over HTTPS, and would withstand being linked from the front page of HN just fine.

It's not just a static site, it's one that is easy to grow and modify, and that can withstand a lot of traffic immediately with no investment in infrastructure for the author.

(evidenced by the fact that it is withstanding a HN front page set of traffic)

Re: Building a fast, secured and free static site in less than three hours

#75
The web has really regressed in the last 20 years. It used to be as simple as writing a markdown document is today. People even made pages using visual point-and-click editors known as WYSIWYG. Pages loaded fast, without ads, and everything was free and non-commercial. Putting a website up wasn't about promoting some tool (like Hugo, or React, or whatever). People also hosted from their own machines, instead of walled gardens like GitHub.

It's depressing to think about all we've lost and how little we've actually gained.

Re: Building a fast, secured and free static site in less than three hours

#76
My preferred alternative is:

- mustache(command line) + html

- Firebase hosting (superstatic)

I just install a command line version of mustache for example [1] and run it over simple static templates:

`mustache data.json myTemplate.mustache > output.html`

I only need to install superstatic[2] locally if I want to debug a rewrite rule or redirect otherwise clean URLs work pretty well with a simple setting.

[1] https://github.com/janl/mustache.js/

[2] https://github.com/firebase/superstatic

Re: Building a fast, secured and free static site in less than three hours

#77
post #41

Earlier quoted context omitted.

People need to stop calling Cloudflare's offering HTTPS support. It's snake oil.

This is the first time I've heard such claims. Do you have any more details about this?

OP will undoubtedly not have more info. It's not snake-oil. I used to work there. There's a real TLS connection.

Re: Building a fast, secured and free static site in less than three hours

#78
post #41

Earlier quoted context omitted.

People need to stop calling Cloudflare's offering HTTPS support. It's snake oil.

This is the first time I've heard such claims. Do you have any more details about this?

    +------------------+               +------------------+             +-----------------------+
    |                  |               |                  |             |                       |
    |    CLIENT        | +---------->  |    CLOUDFLARE    | +---------> |       YOU             |
    |                  |     SSL       |                  |   NOT SSL   |                       |
    +------------------+               +------------------+             +-----------------------+

Re: Building a fast, secured and free static site in less than three hours

#79
post #47

Earlier quoted context omitted.

How do you down vote on HN?

There is a karma threshold before you can see the down vote arrow (underneath the up vote arrow). It was 200 when I got it, it may be up to 500 by now? I don't think they publish the number.

Right, that's why I recently started checking people's profiles before posting a dissenting reply, and not making the reply if they've enough karma to downvote me.

Re: Building a fast, secured and free static site in less than three hours

#80
post #79
post #47

Earlier quoted context omitted.

There is a karma threshold before you can see the down vote arrow (underneath the up vote arrow). It was 200 when I got it, it may be up to 500 by now? I don't think they publish the number.

Right, that's why I recently started checking people's profiles before posting a dissenting reply, and not making the reply if they've enough karma to downvote me.

You can't down vote direct replies.
Post reply on HN