Skip to content

CrowdWare/FlatSiteBuilder

Repository files navigation

This desktop app is working as a content mangement system and is producing web content to use with github pages or any other service provider. I have been inspired by Wordpress and the Divi - PageBuilder.

Have a look at our web site: https://artanidos.github.io/FlatSiteBuilder

Prerequisits

In order to work with FlatSiteBuilder you have to install the following packages.

pip install --user PySide6
pip install --user django
pip install --user dulwich
pip install --user jinja2
pip install --user markdown2

Before you can run the program you have to build the resources.

pyside6-rcc main.qrc -o main_rc.py
pyside6-rcc resources.qrc -o resources.py
pyside6-rcc plugins/carousel.qrc -o plugins/carousel_rc.py
pyside6-rcc plugins/imageeditor.qrc -o plugins/imageeditor_rc.py
pyside6-rcc plugins/revolution.qrc -o plugins/revolution_rc.py
pyside6-rcc plugins/texteditor.qrc -o plugins/texteditor_rc.py
pyside6-rcc plugins/github.qrc -o plugins/github_rc.py
pyside6-rcc plugins/shopify.qrc -o plugins/shopify_rc.py
pyside6-rcc plugins/markdowneditor.qrc -o plugins/markdowneditor_rc.py

On Windows you will find pyside6-rcc here: C:\Users<User>\AppData\Local\Programs\Python\Python\Scripts

How to run

Open the terminal and download the source code using git.

git clone https://github.com/CrowdWare/FlatSiteBuilder.git

Then cd into FlatSiteBuilderPython

cd FlatSiteBuilder

Then run python to execute the app.

python main.py

Atropos Theme

The atropos theme which is included in this package is only for demonstration. I only have one license for this. You can buy it here: https://wrapbootstrap.com/user/stepofweb

Syntax

The syntax for the templates is based on Django. That also means that we render the HTML using Jinja.

Variable

{{ varname }}

Includes

{% include "filename" %}

Loop

{% for page in pages %}
    {{ page.title }}
{% endfor %}

Contitional

{% if condition %}
    do something
{% endif %}

Contact

If you have any feature requests then just send me an email with your ideas to artanidos@crowdware.at

Donations

If you like to support my work on the FlatSiteBuilder you are invited to become a patron and/or you can also become a member of the CrowdWare association.