<bomb>HTML</bomb>
simple html/css templating / static site generator system written in python
Keep your html DRY! This tool helps to bomb away useless repetitions.
Alpha warning
things may break or will not work properly. Things may break, so consider making a backup of your work the first time trying to use this.
Usage
Install/update
NOTE: you might want to make this in a virtual environment.
$ pip install -U wheel
$ pip install -U bombhtml
Config and Usage
Moved here
Development
This guide assumes you have already a virtual enviroment set up and activated.
You can for example us emailbomb/bombdotemail to test your changes, as the repository uses this build system.
- Optional: debug infos in terminal
in the config file set
build.debug_print = True
- Build
$ python3 -m build
- Load the package
$ pip install --force-reinstall dist/bombhtml-v.v.v-py3-none-any.whl
replace v.v.v with the actual version number. The version number can be found in ./bombhtml/__init__.py
- Test pypi only required before upload un actual pypi PLEASE NOTE: make sure only one version is inside the dist directroy
$ python3 -m twine upload --repository testpypi dist/*
- Run the tests
$ test test test
not available yet
LICENSE
Copyright (C) 2025 sophie (itsme@itssophi.ee)
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see https://www.gnu.org/licenses/.