Gostatic

screenshot of Gostatic

Fast static site generator

Overview

gostatic is a static site generator that provides a fast and efficient way to build websites. With no runtime dependencies and a simple configuration syntax similar to Make, gostatic makes it easy for users to understand and customize their configurations. It offers features such as dependency tracking and re-rendering of changed pages, markdown support, a flexible filter system, pagination, integration with external commands and scripts, an HTTP server, and the ability to query state for automation purposes. Whether you're looking to build a basic site or explore advanced usage, gostatic can be a valuable tool for website development.

Features

  • No run-time dependencies: Just a single binary to download and run.
  • Dependency tracking and re-rendering: Only changed pages are re-rendered.
  • Markdown support: Utilizes Commonmark via goldmark for rendering markdown files.
  • Simple config syntax: Easy-to-understand configuration syntax similar to Make.
  • Flexible filter system: Allows users to modify file states through a pipeline of filters.
  • Support for pagination: Enables pagination for easily managing large amounts of content.
  • Plays well with external commands and scripts: Integrates with external commands and scripts for extended functionality.
  • HTTP server and watcher: Provides instant rendering of changes through an HTTP server and watcher.
  • Suitable for automation: Includes the ability to query state with "gostatic --dump" for automation purposes.

Summary

gostatic is a powerful static site generator that offers a variety of features to streamline website development. With its no runtime dependencies, simplified configuration syntax, and efficient compilation process, gostatic provides an intuitive and fast way to build static websites. Whether you're a beginner looking to generate a basic site or an advanced user seeking to extend functionality and automation, gostatic can be a valuable asset for your website development projects.