Kulfon is a simple and fast static site generator written in Python. By default is uses jinja2 for templating, libsass for stylesheets compilation and [webpack][3] for bundling javascript files. External assets are managed using Bower.
Goals:
- fast
- easy to install
- no
npmnornode_modulesdirectory which is large and takes time to install - by default a templating language easy to understand by designers
- no need to write extra wrappers for existing tools
- ES6/7 ready
- use Bower because of flat dependency structure
pip install kulfon
kulfon init [directory]
It creates the following directory structure (directory is optional, if not provided, the current directory is used):
.
├── data.yml
├── images
├── javascripts
├── stylesheets
└── views
├── index.html
├── layouts
│ └── base.html
└── partials
data.yml
kulfon build
It builds the project, which consists of:
- creating
dist/directory - creating
styles.cssfile insidedist/assetsusinglibsasscompiler - creating
vendor.jsfile insdiedist/assets - creating
app.jsfile insdiedist/assets - moving images from
imagestodist/assets