- v0.77.4Latest
- v0.77.3
- v0.77.2
- v0.77.1
- v0.77.0
- v0.76.4
- v0.76.3
- v0.76.2
- v0.76.1
- v0.76.0
- v0.75.0
- v0.74.5
- v0.74.4
- v0.74.3
- v0.74.2
- v0.74.1
- v0.74.0
- v0.73.1
- v0.73.0
- v0.71.3
- v0.71.2
- v0.71.1
- v0.71.0
- v0.70.3
- v0.70.2
- v0.70.1
- v0.70.0
- v0.69.0
- v0.68.0
- v0.67.1
- v0.67.0
- v0.66.8
- v0.66.7
- v0.66.6
- v0.66.5
- v0.66.4
- v0.66.3
- v0.66.2
- v0.66.1
- v0.66.0
- v0.65.0
- v0.64.0
- v0.63.1
- v0.63.0
- v0.62.0
- v0.61.1
- v0.61.0
- v0.60.0
- v0.59.6
- v0.59.5
- v0.59.4
- v0.59.3
- v0.59.2
- v0.59.1
- v0.59.0
- v0.58.2
- v0.58.1
- v0.58.0
- v0.57.5
- v0.57.4
- v0.57.3
- v0.57.2
- v0.57.1
- v0.57.0
- v0.56.1
- v0.56.0
- v0.55.0
- v0.54.4
- v0.54.3
- v0.54.2
- v0.54.1
- v0.54.0
- v0.53.0
- v0.52.5
- v0.52.4
- v0.52.3
- v0.52.2
- v0.52.1
- v0.52.0
- v0.51.1
- v0.51.0
- v0.50.1
- v0.50.0
- v0.49.0
- v0.48.0
- v0.47.1
- v0.47.0
- v0.46.0
- v0.45.0
- v0.44.0
- v0.43.0
- v0.42.0
- v0.41.6
- v0.41.5
- v0.41.4
- v0.41.3
- v0.41.2
- v0.41.1
- v0.41.0
- v0.40.0
- v0.39.12
- v0.39.11
- v0.39.10
- v0.39.9-alpha.3
- v0.39.9-alpha.2
- v0.39.9-alpha.1
- v0.39.9
- v0.39.8
- v0.39.7
- v0.39.6
- v0.39.5
- v0.39.4
- v0.39.3
- v0.39.2
- v0.39.1
- v0.39.0
- v0.38.0
- v0.37.0
- v0.36.2
- v0.36.1
- v0.36.0
- v0.35.6
- v0.35.5
- v0.35.4
- v0.35.3
- v0.35.2
- v0.35.1
- v0.35.0
- v0.34.5
- v0.34.4
- v0.34.3
- v0.34.2
- v0.34.1
- v0.34.0
- v0.33.2
- v0.33.1
- v0.33.0
- v0.32.2-alpha.12
- v0.32.2-alpha.11
- v0.32.2-alpha.10
- v0.32.2-alpha.9
- v0.32.2-alpha.8
- v0.32.2-alpha.7
- v0.32.2-alpha.6
- v0.32.2-alpha.5
- v0.32.2-alpha.4
- v0.32.2-alpha.3
- v0.32.2-alpha.2
- v0.32.2-alpha.1
- v0.32.2
- v0.32.1
- v0.32.0
- v0.31.0
- v0.30.1
- v0.30.0
- v0.29.0
- v0.28.5
- v0.28.4
- v0.28.3
- v0.28.2
- v0.28.1
- v0.28.0
- v0.27.2
- v0.27.1
- v0.27.0
- v0.26.5
- v0.26.4
- v0.26.3
- v0.26.2
- v0.26.1
- v0.26.0
- v0.25.0
- v0.24.6
- v0.24.5
- v0.24.4
- v0.24.3
- v0.24.2
- v0.24.1
- v0.24.0
- v0.23.1
- v0.23.0
- v0.22.1
- v0.22.0
- v0.21.2
- v0.21.1
- v0.21.0
- v0.20.2
- v0.20.1
- v0.20.0
- v0.19.6
- v0.19.5
- v0.19.4
- v0.19.3
- v0.19.2
- v0.19.1
- v0.19.0
- v0.18.1
- v0.18.0
- v0.17.6
- v0.17.5
- v0.17.4
- v0.17.3
- v0.17.2
- v0.17.1
- v0.17.0
- v0.16.4
- v0.16.3
- v0.16.2
- v0.16.1
- v0.16.0
- v0.15.3
- v0.15.2
- v0.15.1
- v0.15.0
- v0.14.0
- v0.13.7
- v0.13.6
- v0.13.5
- v0.13.4
- v0.13.3
- v0.13.2
- v0.13.1
- v0.13.0
- v0.12.2
- v0.12.1
- v0.12.0
- v0.11.3
- v0.11.2
- v0.11.1
- v0.11.0
- v0.10.0
- v0.9.1
- v0.9.0
- v0.8.1
- v0.8.0
- v0.7.9
- v0.7.8
- v0.7.7
- v0.7.6
- v0.7.5
- v0.7.4
- v0.7.3
- v0.7.2
- v0.7.1
- v0.7.0
- v0.6.2
- v0.6.1
- v0.6.0
- v0.5.1
- v0.5.0
- v0.4.8
- v0.4.7
- v0.4.6
- v0.4.5
- v0.4.4
- v0.4.3
- v0.4.2
- v0.4.1
- v0.4.0
- v0.3.1
- v0.3.0
- v0.2.0
- v0.1.0
Gustwind
Gustwind is a Deno-powered website creator that allows component-oriented development of large-scale sites using HTMLisp, a variant of HTML. Conceptually, it is split as follows:
- Development mode lets you preview the site and modify page definitions to commit later
- Production mode generates pure static HTML with CSS inlined to the files
- HTMLisp is the default option for templating and component definitions
- Data sources define how information is brought to a site
- Route definition binds it all together and allows connecting data sources to specific routes
- Plugin system allows replacing any part of the system to fit custom requirements
Please see the documentation to learn more about the concepts.
Getting started
There is a simple GitHub template that has basic features set up. It renders the project readme as index.html
, and you should expand/change the project to your liking.
Data flow
Gustwind accepts TypeScript, Markdown, and HTMLisp definitions. Then, the build process emits HTML and JavaScript. Note that you can replace many aspects of the system by using plugins to fit your requirements. The image below describes the basic idea:
It’s possible to customize the input formats and it can load data from asynchronous sources, say GraphQL APIs, so Gustwind can be used with headless content APIs.
Server-Side Rendering (SSR)
Although Gustwind was designed mainly with Static Site Generation (SSG) in mind, portions of it can be used in a server environment. There’s for example a simplified version of the router designed for this purpose, and the default templating solution works both in server and client as it is light by design.
Example sites
Given Gustwind is still in a rapid development phase, the APIs change every once in a while. The source of this site is the most up to date resource, and I’ve listed other examples below:
- jster.net - Source
- sidewind.js.org - Source
- dragjs - Source
- Future Frontend - Source
- SurviveJS - Source
Performance
In my experience, Gustwind is somewhat performant although I haven’t benchmarked it. The main factors contributing to speed are its parallelized build process and light rendering engine. There are still ways to push it further by implementing techniques, like incremental compilation to compile only pages affected by a given change. The underlying architecture has been designed with advanced features in mind, so although they aren’t trivial to implement, they aren’t impossible if there is time and interest.
Earlier related work
- Tailspin was an experimental site generator built with partially the same technology. In this project, the ideas have been largely re-implemented and taken further. In some ways, Tailspin went further, though, as it implemented component level introspection (types) and editors while allowing JSX syntax.
- Antwar was a React-based static site generator. The experiences with Antwar over years, have been put to good use in this project.