Attributes
Popular
Repository
Current version released
3 years ago
Versions
- 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 is an experimental site generator built on top of JSON definitions using Deno, Twind, and Sidewind. The goal of the design is to allow component oriented development of large scale sites (more than thousands of pages). Conceptually itβs 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
- Components defined with a JSON based component abstraction included allow you to extract shared markup and bind data to it
- Data sources define how your data is fetched. At page level, it can then be connected and bound to components
- Transforms let you alter data to fit the current need. You can use them for example convert Markdown input to HTML or reverse the order of an array to generate a blog index in a specific order.
- Pages based on the JSON page definitions describe the site and use the concepts above to compose your site
Please see the documentation to learn more about the concepts.
Further development to be done
- Parallelize build process for extra performance (likely needs import maps for Web Workers in Deno)
- Mark components without data dependencies as pure to allow memoization for faster compilation
- Set up a JSON schema to define components and pages to allow validation
- Add a component explorer to allow defining components through the development mode
- Implement an incremental compiler to detect changes and compile only what has changed instead of compiling the whole site
- Allow composition of transforms (i.e. array syntax)
Notes
The project needs Deno 1.15.1 or newer to run! I recommend using a tool like dvm for managing the version.
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.
Usage
Run the available commands through velociraptor (vr).