Static Site Generators

Publish – static site generator built specifically for Swift developers

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
PublishStatic site generator built specifically for Swift developers
SagaSystem of extendible readers, renderers, and writers, and supply your own metadata
IgniteBuild websites using Swift with expressive, SwiftUI-like syntax
ToucanMarkdown-based static site generator
KilnTurns Markdown into versioned and localised documentation websites
RolandCompiles its templates using PHP and CommonMark

Read our verdict in the software roundup.


Best Free and Open Source Software LinuxLinks helps you discover the best free and open source software for Linux. Explore our extensive collection of recommended applications, including alternatives to popular proprietary software.

We also publish software reviews, Linux tutorials, hardware reviews, free programming books and articles covering the wider open source community. Browse our Linux resources to discover more.

Know a useful free and open source Linux application we haven't covered? Suggest a program for inclusion.

Has your software been featured on LinuxLinks? Display one of our Featured on LinuxLinks badges on your website or GitHub README.
Subscribe

Please read our Comment Policy before commenting.

Notify of
guest
0 Comments
Oldest
Newest Most Voted