sudo_site vs Publii

sudo_site and Publii are both open source static site generators. sudo_site is written in C++ and Publii is written in JavaScript.

Property sudo_site Publii
Language C++ JavaScript
Templates HTML, inja Handlebars
License MIT GPL-3.0-only

sudo_site benefits

sudo_site is the most simplest and lightweight static site generator out there, with no dependencies at and all the libraries already supplied with the repository you don't need to install any other dependency.

sudo_site was made in just two days but the development will go further and enhancements will be done in the future to make things more easy.

With approx 120 lines of code it becomes the smallest Static Site Generator which is capable of generating multiple pages, blogs.

The repo also has a github actions config file with the help of which you can automate the process of building in the github itself. It can push to any repository you like, just add a PERSONAL ACCESS TOKEN to the secrets with the repo checkbox ticked while creating the TOKEN.

The documentation is going on, although you won't need because it's that simple. After cloning or downloading the repo just run

g++ -o sudo_site sudo_site.cpp -lstdc++fs && ./sudo_site

and the site will be generated.

You don't need to compile it again. Next time just run ./sudo_site inside the directory and the site will be generated.

Publii benefits

Publii is a desktop-based CMS for Windows and Mac that makes creating static websites fast and hassle-free, even for beginners.

Unlike static-site generators that are often unwieldy and difficult to use, Publii provides an easy-to-understand UI much like server-based CMSs such as WordPress or Joomla!, where users can create posts and other site content, and style their site using a variety of built-in themes and options. Users can enjoy the benefits of a super-fast and secure static website, with all the convenience that a CMS provides.

What makes Publii even more unique is that the app runs locally on your desktop rather than on the site's server. Available for both Windows and Mac, once the app has been installed you can create a site in minutes, even without internet access; since Publii is a desktop app you can create, update and modify your site offline, then upload the site changes to your server at the click of a button.

Supported hostings

Publii supports multiple upload options, including standard HTTP/HTTPS servers, Netlify, Amazon S3, GitHub Pages and Google Cloud or SFTP.