Bagatto is a static site generator written in Janet, a functional and imperative programming language.
Site authors construct sites by writing ordinary Janet modules, with the full power of the language and ecosystem behind them. To create a Bagatto website, you should create a single Janet source file. Because you’re writing normal source code, you have the full power of the Janet language at your disposal. Bagatto tries to keep the “magic” to a minimum; in all cases, it tries to make the process of loading source files and of generating new files completely transparent, inspectable and extensible.
Bagatto operates in two phases: the data phase and the site phase.
In the data phase, Bagatto will read a data specification and use it to create a table containing all the input data. Data specifications that consist of literal attributes will result in site data containing those same attributes. Specifications of a single file path will result in site data pertaining to the one file. Specifications of a file wildcard will result in an array of data objects, one for each file that matches the wildcard.
In the site phase, Bagatto will read the site specification and use it to generate a sequence of files. Each site specification will ultimately specify the path and contents of one or more files. Bagatto will then ensure the presence of each file path and ensure that its contents are as specified.
This is free and open source software.
Features include:
- Exposes the native terms of the Janet programming language to site authors and relies on ordinary functions to generate output values. This approach, rather than asking authors to define their sites using a configuration language, means that the machinery that produces your website is always available and inspectable. There is no hidden functionality.
- Straightforward, non-magic interface.
- Fast – makes intelligent use of multithreading and caching to quickly process files with many different sources and outputs, and there’s no start-up overhead.
Website: bagatto.co
Support: Manual
Developer: Z.D. Smith
License: 3-clause BSD License
Bagatto is written in Janet (a Lisp-like language). Learn Lisp with our recommended free books and free tutorials.
Return to Lisp Static Site Generators
| Explore Linux | |
|---|---|
| Best Free and Open Source Software - A huge collection of recommended free and open source software covering every major category. | |
| In-depth Linux Software Reviews - Detailed assessments of Linux software covering features, usability and overall quality. | |
| The Big List of Active Linux Distros - An extensive collection of actively developed Linux distributions. | |
| Open Source Alternatives - Alternatives to software and services from Google, Microsoft, Apple, Adobe, IBM, Autodesk, Oracle and others. | |
| Essential Linux System Tools - Indispensable utilities for monitoring, maintaining and managing Linux systems. | |
| Linux Productivity Tools - Useful utilities for improving productivity and streamlining everyday tasks. | |
| Alternatives to Popular CLI Tools - Modern alternatives to familiar command-line utilities supplied with Linux systems. | |
| Awesome Free Linux Game Tools - Tools, utilities and companion software that improve gaming on Linux. | |
| Machine Learning on Linux - Machine learning and deep learning software, self-hosted applications and practical tools. | |
| Saving Money with Linux - Practical ways to reduce electricity consumption and lower computing costs with Linux. | |
| Linux Candy - Fun, entertaining and sometimes delightfully quirky software from the lighter side of Linux. | |

Please read our Comment Policy before commenting.