Gansa

Gansa is a simple tool and Python library for creating static websites.

Features:

  • Generate pure HTML from Markdown syntax
  • Design page layouts using Jinja2 or Jade templates
  • Support for a variety of database engines

Downloads

Gansa source code

Documentation copy

Documentation source code (a good example Gansa project!)

License

Gansa is copyright 2016 Decky Coss.

Gansa is licensed under the terms of the GNU General Public License.

This documentation is copyright 2016 Decky Coss and is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License, except where indicated on the documentation source code site.

How to license a Gansa project

A project created using Gansa only needs to be licensed under the GPL where it contains source code that falls under the GPL's definition of a "covered work"—that is, "either the unmodified Program or a work based on the Program". (In this case, "the Program" refers to Gansa or any other GPL-licensed work.)

For example, imagine that a project contains some CSS and JavaScript asset files, as well as two Python modules, "callbacks.py" and "models.py". Both modules are required in order to render (i.e., run the gansa build command on) the project, but only callbacks.py interfaces with the Gansa API directly. callbacks.py would need to be licensed under the GPL. models.py would need to be licensed under the GPL or a GPL-compatible license, because it is used in conjunction with the GPL-licensed callbacks.py. The asset files would not need to be licensed under any GPL-compatible license, because it is possible to render the project without them.

Note that you do not need to distribute the source code (Python modules, templates, etc.) of your Gansa project in order to distribute its rendered form, even if the source code is wholly or partially GPL-licensed.