A static web site generator inspired by React and written in Python 🐍
Static gives complete flexibility for building the site as it just focus on sew the pieces together. All you require is basic web programing skills and a bit of Python!
Clone this repository and uncompress the program. Copy the 'skel' folder where you want to work and give 'static' execution permissions.
If you have a Debian-like distro installed, you can install the DEB package, available here.
sudo dpkg -i static_1.0-x_all.debIf you have Arch installed, you can install the static from AUR
git clone https://aur.archlinux.org/static-git.git
cd static-git
pkgbuild -istatic-init <path> [options]-b, --bootstrap: gets a Bootstrap dist and installs it in the
datafolder in the project. Useful to code in places with unstable network
Note: If no path provided Static⚡ will assume current directory to initialize the project.
static [command]check: checks the directory structure looking for missing directories. If there are some folders missing, this command will create them. The program stops if
htmlorpagesfolders are not in the directory.
build: impliescheck, if there's no errors found, the program will generate the pages' content in a temporary folder and tailor the pieces in one file for each page in thedistfolder. run - Servesdistfolder of the project, if the site is not built it callsbuildcommand.
-i, --interactive - Sets interactive mode. Manual mode. Use with
run