Swift on the server is a great way to create backend applications. This time, we’re diving into something special: a static site generator.
No databases, no persistence—just the magic of turning a bunch of Markdown files into a raw HTML-based website using Swift and the new Swift-Mustache library from the Hummingbird project.
You’ll learn how to adapt the Swift-Markdown library for your projects and how to create custom directives when rendering Markdown files. This is a great opportunity to understand the technology that powers DocC, Swift’s documentation framework.
Tibor will share the challenges he faced while building Toucan and show how easy it is to set up an HTTP server and host static files using the Hummingbird framework. He will also provide tips on optimizing your site for better performance and SEO.
If you’re planning to create a blog or want to build beautiful user guides for your upcoming library, this talk is perfect for you. You’ll walk away with practical knowledge and inspiration to get started building a website for your future project.