Introducing Slipstream: build static web pages with Swift and Tailwind CSS

Slipstream: build static web pages with Swift and Tailwind CSS.

Alternative tagline: a website builder for those that don't want to bother with the JavaScript framework-du-jour :sweat_smile:

GitHub: GitHub - jverkoey/slipstream: Build static web pages with Swift and Tailwind CSS.
Documentation: Documentation

import Slipstream

struct HelloWorld: View {
  var body: some View {
    Text("Hello, world!")
  }
}

print(try renderHTML(HelloWorld()))

Get a sneak peek at the suite of interactive tutorials I'm working on, starting with "Your first site", starring Coco the pig :pig:: Documentation

Slipstream is the tech behind jeffverkoeyen.com and a few other projects that will be announced later this year ;)

Would love to geek out on various aspects of this project with folks here! If anyone's interested in contributing, there's also plenty of opportunity contribute more Tailwind CSS modifiers and W3C elements.

Huge shout out to the docc, swift-syntax, swift-markdown, and SwiftSoup projects that Slipstream is built on top of. And of course Tailwind CSS which I'm of the opinion is a perfect companion to a SwiftUI-like DSL :heart:

8 Likes

BTW the humor is not lost on me that the original result builders proposal included an HTML DSL as an example :smiley: