← All work

Tools I made for myself

CLI

FastAPI hosting helper

A CLI that gets a FastAPI app onto a server with Nginx, systemd, and SSL without a long runbook.

See in graph

The problem

A personal project should not require a checklist copied from last year’s notes. Nginx, systemd, and certificates are boring until one of them is slightly wrong and the app is “down” with a 502.

What it is

Provisioning a FastAPI service is a known sequence that I kept retyping. The helper turns that sequence into a repeatable command: process manager, reverse proxy, TLS.

What I built

The CLI provisions a FastAPI app behind Nginx, registered with systemd, with SSL enabled as part of the same path. It is meant for a VPS you already have, not a platform that hides the unit file.

How it fails

A failed step should leave you with a unit file and a config you can read, not a half-applied mystery. The point of wrapping the runbook is to make the leftover artifacts obvious.

Focus

  • FastAPI as a systemd service
  • Nginx as the public edge
  • SSL as part of the same command, not a later ticket

What changed

  • A FastAPI app can be made public without reconstructing the reverse-proxy steps from memory.

Built with

FastAPINginxsystemd