HyperTemplates

The need for speed

The HyperTemplates journey began as a question: why aren't there any static site generator apps on the iPhone? From there began a long series of questions that ultimately motivated us to build HyperTemplates. Along the way there were two requirements that influenced almost every design decision to date: HTML templating should be easy and fast.

HTML templating should be easy and fast.

How we got here

The ease of use requirement was mostly influential in the decision to design a system around HTML. But speed as a core requirement has further reaching implications than we initially suspected. For example, pretty early on we identified the need for incremental builds as a way to improve the overall speed of the system. Why build & deploy an entire website when the user just wants to add a single page with one or two attachments (e.g. a blog post with a cover image)? If we could figure out a way to reduce the amount of work needed to deploy a new page, we could greatly improve the overall speed of the system.

[speed] has further reaching implications than we initially suspected

But the very idea of incremental builds felt like a big risk in the context of a static site generator (SSG). The very nature of an SSG is to produce such consistent output that users can confidently replace their entire website every time they make a change. So the desire for incremental builds drove us to add support for reproducible builds – a guarantee that two builds generated from the same content will be cryptographically identical. Once we had reproducible builds we were able to test incremental builds by layering them on top of full site builds and verifying they don't change the hash computation.

🚧 ...work in progress... 🚧

The Newsletter

Get this and other posts delivered to your inbox. No more than one email per week, no fewer than one email per month.