Newsletter
Join the Community
Subscribe to our newsletter for the latest news and updates
HTML5 Boilerplate build tool for generating custom starter archives via URL parameters and JSON modules.
Initializr is a web-based HTML5 Boilerplate build tool that assembles custom starter archives from URL parameters and JSON-defined modules.
Initializr is an open-source build tool — its GitHub repository, described as "HTML5 Boilerplate Build Tool", has 1,425 stars — that generates downloadable HTML5 Boilerplate starter archives. It accepts a URL with GET parameters naming the modules to include (such as jquery or modernizr) and outputs a ZIP archive of the customized boilerplate. The API runs at initializr.com/builder, and appending ?print displays the archive's contents in the browser instead of downloading it.
http://www.initializr.com/builder?print&jquery&modernizr, and each module's code or files are injected into the generated archive.author, name, id, incompatibilities, and an inserts array that specifies exactly which code snippets or files to add and where they go.index.html and directories like js/libs.modernizr-2.0.min.js into the head of index.html) or drop entire files into the archive using the type: "file" field.modernizr lists html5shiv), so the build tool knows which module sets cannot safely combine.?print to the builder URL shows the generated archive's contents as text, letting you verify the output before downloading.github.com/verekia/initializr/tree/master/war/builder/modules, so developers can inspect or contribute new ones.?print endpoint to demonstrate to students exactly which files and code a given module set produces, without requiring a download.index.html.The workflow is URL-driven. You hit the builder endpoint with module names as GET parameters; the server reads each module's JSON definition, applies its inserts to the HTML5 Boilerplate templates, and packages the result. With no modules, the archive is just the plain boilerplate; each module either injects a snippet (like a script tag into index.html/head/html5polyfill) or adds a file (like modernizr-2.0.min.js into js/libs).
Append the module's id as a GET parameter to the builder URL, e.g. http://www.initializr.com/builder?print&jquery&modernizr, and the generated archive will include that module's files and code insertions.
A module is defined by a JSON file with author, name, id, incompatibilities, and an inserts array. Each insertion has a what field (the source file), a where field (the target file or location in the boilerplate), and an optional type set to "file" for whole-file additions.
?print parameter do?It makes the builder display the content of the generated archive as a listing in the browser instead of downloading it, so you can inspect the module output before you download the ZIP.
Yes. Modules live in the GitHub repository under war/builder/modules, and the documentation explains the JSON schema. Add a module folder with a JSON config and the referenced files, then use the module id as a GET parameter.
The documentation describes only code/module selection — there is no mention of colors, layouts, or styling options. It is a structural boilerplate generator, not a visual theme picker.
