Português English

projects

This site used to be a Swift server

The first version of this portfolio was written in Swift with Vapor and ran on a Linux server inside Docker. Then I moved everything to a static site: the same content, no server to look after, and fast to load.

in three lines

  1. The first version of this portfolio was a Swift server (Vapor + Leaf) in a Docker container.
  2. The experiment showed a different side of Swift from the one you see in apps.
  3. In 2026 it became a static Astro site, with hand-written CSS and almost no JavaScript.
before
Swift + Vapor + Leaf, Docker, Bootstrap
after
Static Astro, hand-written CSS
The old version of this portfolio open on a MacBook and an iPhone, on a pink background

Swift on the back end

The whole portfolio was built in Swift with Vapor, a web framework that uses technologies native to the Apple ecosystem. That choice brought all the safety and features only Swift offers, and the experiment showed a different side of Swift from the one usually seen in Apple apps.

Containers

The portfolio ran on a Linux server, fully wrapped in Docker. The container setup kept performance stable and secure and made it easy to move to any cloud environment.

Why it became static

The site’s content doesn’t change on every visit, so a server running all the time added nothing. The current version is generated by Astro as ready-made HTML: no server to maintain, no Bootstrap, and JavaScript only where there is interaction.


Technologies used

  • Swift
  • Vapor
  • Docker
  • Bootstrap

External links