finds.dev

JohnSundell/Publish

A static site generator for Swift developers

View on GitHub

★ 4,969SwiftMITupdated Jul 2024

// the take

Publish is a static site generator where your entire website is a Swift package — content model, theme, and pipeline all defined in Swift code. It's aimed squarely at Swift developers who want type-safe site generation and are comfortable writing code instead of editing YAML files. The author runs swiftbysundell.com on it, which gives it some real-world credibility.

The type-safe metadata model is genuinely useful — your custom fields are structs, not stringly-typed YAML blobs, so a typo is a compile error. The pipeline model (an ordered list of steps, each receiving a mutable context) is clean and composable; you can inject your own steps anywhere without monkey-patching. Plot (the HTML DSL underneath) means your templates are also type-checked Swift, not a separate template language. The plugin system follows the same pattern, so community plugins slot in without magic.

Last meaningful commit was mid-2024 and the repo explicitly disabled GitHub Issues — that combination signals the project is in maintenance-only mode at best. The Foundation theme is openly described as a placeholder; you're writing your own HTML factory from day one, which is a real time investment before you have a working site. There is no incremental build — every publish run regenerates everything, which gets slow on larger sites. Narrowly Swift-only by design, so you're locked out of the entire JS/Rust/Go static site ecosystem and its tooling (image pipelines, bundlers, etc.).

We read the README, the directory tree and a key source file in July 2026. Nobody pays to be listed. How we judge →

// at a glance

Stars
4,969
Forks
356
Language
Swift
License
MIT
Last commit
9 Jul 2024

// nearby

If Publish isn't quite it.

All repos →