Publish
Static site generator for Swift developers, in which each website is defined as a Swift package.
Publish is a static site generator for Swift developers, in which each website is a Swift package and its configuration, content and publishing pipeline are written as Swift code. By default it reads Markdown files from a Content folder, and extra items and pages can be added in code. HTML is rendered through Plot, a Swift library for HTML, so themes are written in Swift against it. The build produces static files, and the command line tool can start a localhost server for local testing and development. Built-in deployment methods publish the output to Git and GitHub.
Worth knowing
Building a site needs Swift 5.4 or later on the machine that runs the build.
Identity
- Status
- Stub
- Maintainer
- John Sundell3
- Maintained by
- Individual
- First release
- 20194
Rendering and deploy
- Runs as
- Static files, Dev only2
- Rendering
- Static output2
- Install with
- Swift Package Manager dependency2
Releases
Adoption
Sources
- 2026-10-23: links, Written in, License, GitHub stars
api.github.com/repos/JohnSundell/Publish - 2026-10-23: links, Categories, Runtime, Install with, Rendering, Runs as, Templating, Content storage
github.com/JohnSundell/Publish/blob/master/README.md - 2026-10-23: Maintainer, License model
raw.githubusercontent.com/JohnSundell/Publish/master/LICENSE - 2026-10-23: First release, Current major version, Last release
api.github.com/repos/JohnSundell/Publish/releases - 2026-10-23: Contributors
api.github.com/repos/JohnSundell/Publish/contributors