Publish is billed as a static site generator built specifically for Swift developers. It enables entire websites to be built using Swift, and supports themes, plugins and tons of other powerful customization options.
Each website is defined as a Swift package, which acts as the configuration as to how the website should be generated and deployed — all using native, type-safe Swift code.
Publish is free and open source software.
Key Features
- Supports three types of content:
- Sections – created based on the members of each website’s SectionID enum.
- Item – represent the nested HTML pages within that section.
- Page – provide a way to build custom free-form pages that can be placed into any kind of folder hierarchy.
- Each Section, Item, and Page can define its own set of Content — which can range from text (like titles and descriptions), to HTML, audio, video and various kinds of metadata.
- Uses Plot as its HTML theming engine, which enables entire HTML pages to be defined using Swift. Dedicated Component implementations for markdown rendering (Markdown), video playback (VideoPlayer), and the ability to use Plot’s AudioPlayer component with Publish’s Audio models.
- Supports plugins – share setup code between various projects, or to extend Publish’s built-in functionality in various ways.
- publish command line tool can now generate projects for building plugins, using publish new plugin.
Website: github.com/JohnSundell/Publish
Support:
Developer: John Sundell
License: MIT License
Publish is written in Swift. Learn Swift with our recommended free books and free tutorials.
Related Software
| Swift Static Site Generators | |
|---|---|
| Publish | Static site generator built specifically for Swift developers |
| Saga | System of extendible readers, renderers, and writers, and supply your own metadata |
| Roland | Compiles its templates using PHP and CommonMark |
Read our verdict in the software roundup.
Explore our comprehensive directory of recommended free and open source software. Our carefully curated collection spans every major software category.This directory is part of our ongoing series of informative articles for Linux enthusiasts. It features hundreds of detailed reviews, along with open source alternatives to proprietary solutions from major corporations such as Google, Microsoft, Apple, Adobe, IBM, Cisco, Oracle, and Autodesk. You’ll also find interesting projects to try, hardware coverage, free programming books and tutorials, and much more. Discovered a useful open source Linux program that we haven’t covered yet? Let us know by completing this form. |

