News for hackers. Stuff that matters.
Re:Ask HN: Do you suggest static site generators to your cus... by shakna on Tuesday July 11, 2017 @10:26AM (#14744422)
Yes. But they don't know it. They just know that their site is faster than their competitors.

I've got a smallish piece of JS that gives the client a WYSIWYG editor, which speaks to Firebase.

When Firebase gets an update, it triggers a rebuild.

Best of both worlds.

Re:Ask HN: Do you suggest static site generators to your cus... by lenomad on Tuesday July 11, 2017 @10:39AM (#14744526)
That's very interesting. Is any of this code open-source?
Re:Ask HN: Do you suggest static site generators to your cus... by shakna on Tuesday July 11, 2017 @08:54PM (#14749334)
The Firebase part?

I'm afraid not, but mostly because it's both simple, and fairly reliant on architecture.

Basically the process is:

Firebase authentication -> Content editable editor -> Firebase database update -> GitLab CI -> Pandoc & bash to update static site to latest Firebase -> Deploy to website