Static Site Generation

People sometimes ask if static sites make sense for anything beyond a one-pager. This leaderboard highlights the top open source projects, in many different languages, that make static sites not only viable, but an attractive option for creating sophisticated websites! The typical CMS driven website works by building each page on-demand, fetching content from a database and running it through a template engine. This means each page is assembled from templates and content on each request to the server. For most sites this is completely unnecessary overhead and only adds complexity, performance problems and security issues. After all, by far the most websites only change when the content authors or their design team makes changes. A Static Site Generator takes a different approach and generate all the pages of the website once when there’s actually changes to the site. This means there’s no moving parts in the deployed website. Caching gets much easier, performance goes up and static sites are far more secure.

Command line deploy with Surge .

Fairly comprehensive list of open source Static Site Generators

Jekyll , which powers GitHub Pages, does not use a database. Everything is in HTML or Markdown. Interesting spin with Jekyll Now to run it directly from GitHub.

MDWiki is an interesting concept of flat file markdown + javascript parsing.

Postachio uses Evernote as the content host and uses the API to render out a website. Publishing content is as simple as tagging a post with #published. Really interesting is the parsing engine they've built to render out media and interactive elements. Using simple "short code" style snippets of text users can embed a variety of content from external sources such as Tweets, Comics, Images, Videos, Slides and Gists.