Live data from Hacker News

Static Website Generators

netlify.com

71–80 of 241 posts

Re: Static Website Generators

#72

What are people using for hosting? I've thought about using github pages, but css ended up being severely limited.

GitHub (source) => TravisCI (deployment) => S3 (hosting).

I have a CloudFront distribution sitting in front of S3, secured with a free SSL certificate powered by Amazon ACM.

I like S3 for its flexibility. My site is in both English and Dutch and I want to serve English content on .io and the Dutch content on .nl. With S3 I just create two buckets, associate the bucket with a different domain and welcome page (index_en.html and index_nl.html) and publish the same site to each bucket.

Re: Static Website Generators

#73
I crave simplicity in my life right now and am using markdeep: https://casual-effects.com/markdeep/

I write my documents in markdown and add this tag at the end of my document

I "publish it" by copying it to my server and renaming it .html

* note: To get started, here is the suggested starter document: https://casual-effects.com/markdeep/starter.md.html

Re: Static Website Generators

#75
One complain about static generators is that they often require the use of HTML or any other markup language. Users just want a management system with a friendly WYSIWYG editor. They don't care if their site is static or generated on the fly by the server.

Re: Static Website Generators

#76
post #25

Sort of related and shameless plug but I'm building a "comments as a service" application that isn't disqus. My first target market is static sites. Check it out here: http://www.remarkbox.com

Tried it, liked it. How do you stop spam, link farming, etc.?

Re: Static Website Generators

#77

What are people using for hosting? I've thought about using github pages, but css ended up being severely limited.

I really, really like Netlify. While it's probably not the cheapest option I think the pricing is fair and the ease of use, workflow and performance are great.

Re: Static Website Generators

#78
post #25

Sort of related and shameless plug but I'm building a "comments as a service" application that isn't disqus. My first target market is static sites. Check it out here: http://www.remarkbox.com

I wrote a self-hosted static-comment system here:

* https://github.com/skx/e-comments/

Seems mine is more basic than yours, due to lack of registration and lack of threading though.

Re: Static Website Generators

#79
post #21
post #12

I use Hugo for several websites and I enjoy it a lot. One favorite part is the ability to create content of different types.

This statement caught my attention in the article: > It is optimized for speed (Hugo sites can be built in milliseconds) Is that true, or does it just happen to be fast? It seems to me that the performance of a static site generation is irrelevant, and thus time spent on this is really wasted effort. I don't care if it takes several minutes to build.. it'll happen on the CI server in the background, and so long as th…

I've just migrated to Hugo, and agree with the comments that it really does matter. Between the near-instant compilation and the live reload, the Hugo development server can update a local copy of your site in the browser faster than you can switch tabs. In effect, you get genuinely instant preview anywhere, out of the box.

In every respect, Hugo is a really good site generator (not just a static blog engine), but this is the feature that makes the competition near-irrelevant to me.

Re: Static Website Generators

#80
Is there some way to use a static site generator with a flat file database utilising standard CRUD functionality?

To me, using a static site generator and handing off database to another service like firebase or other sas, although works really well and has many benefits is still an external dependency I would rather live without. It also somewhat defeats the point of using a statit site gen for my use case anyway.

This is the main thing stopping me from switching from php/mysql.

Post reply on HN