Welcome
JStatic is a system consisting of multiple plugins built around a templating engine (Handlebars Java) to make it possible to generate many kinds of output out of a combination of inputs and input types.
Goals
- filesystem similar but filesystem independent, intentional use of nodes and pages to abstract away from files so that in case necessary, one can plug in other data sources and/or other targets
- multi format support for data source, currently supporting following sources/data types:
- markdown + front matter
- JSON files
- YAML files
- OpenAPI Specification
- Environment variables
- Storyblok headless CMS
- functionality to be extensible as easy as possible: using Java and JavaScript languages in form of helper scripts for helpers and/or plugins
- using a flexible yet logic-less template system, the battle-hardened Handlebars
- always have access to all the data. Use data from other parts of data tree anywhere necessary, don't repeat data!
- make exceptions and special functionality as seldom as possible. everything has to go through a generic process that leaves the possibility of extension open.
- support website's development process by providing a watch mode and an integrated webserver
Where to go next?
- Docs and guides gives an intro and also some usage examples and guides
- Javadocs gives you access to detailed information about the functionality and other information like list of plugins