Skip to content
This repository has been archived by the owner on May 5, 2020. It is now read-only.

killercup/silicon-zucchini

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
src
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Silicon Zucchini

Silicon Zucchini is a simple and opinionated static site generator. It differentiates itself from similar tools by focussing on the usage of JSON Schema definitions for various tasks.

Build Status

Current Features

  • Read and validate data files
  • Specify routes with data and template to be used
  • Render underscore-based templates and partials with custom helper methods
  • Validate template inputs

JSON Schemas – What are they used for?

Honestly, you should better ask what they are not used for.

Validate data files

Silicon Zucchini reads your site's content and metadata from files. Each of these files can (and should) be valid according to a schema. This will prevent you from silently ignoring errors like missing fields (or even typos like titel instead of title for fields).

Easily render CRUD interfaces for your data

Schemas make it fairly easy to create an interface to manage and edit you data. Just think about what combining JSON Editor with a small server could accomplish.

Validate template input

Each template can (and should) define it's input parameters as JSON schema. This makes it impossible to forget to pass the needed data to a partials. Where other template engines are forgiving, Silicon Zucchini is strict.

Instant style guide with random demo data

Based on the types and restrictions defined in your schema, it is possible to generate demo data for your templates. This allows Silicon Zucchini to easily create as style guide featuring all the partials and templates you defined. Better yet, it can generate endless variants and shows you how your design components might look with unexpected data!

About

Generate glorious and amazing static sites

Resources

License

Stars

Watchers

Forks

Packages

No packages published