kipitiny

App templates

One-click apps shipped with kipitiny, what installing one does, and how a template is written.

Markdown for LLMs

A template installs a common self-hosted app in one step: you answer a few questions, see what will be created, and kipitiny creates and deploys it. Afterwards they're ordinary services: edit, back up or delete them like any other.

Installing one

  • Projects › From a template installs into a new project (named after the app by default, on the server you pick).
  • Project page › Add an app installs into that project, next to its other services. Not for projects linked to git: add the services to the file instead.
  • MCP: list_templates lists them with their inputs; install_template installs one into a project, created if missing (dry_run shows the plan only).

Each template asks only what it can't guess (a domain, a key from another app). Secrets it needs are generated and stored as secrets. Preview shows the services to create; nothing exists until Install and deploy. Installing never deletes or changes a service that already exists: a name already taken in the project is refused.

Available templates

Beszel agent

Reports this server's CPU, memory, disks, network and containers to a Beszel hub.

It runs with the server's network and Docker socket (see Host access), so only on the server it watches: install it once per server, in a project on that server.

  1. In the hub, Add System: copy its public key, and give the system the server's address and port 45876.
  2. Install the agent with that key. The hub connects to it on port 45876: open it in the server's firewall to the hub only.
  3. Or give the agent a token and the hub URL (both from the hub): it connects to the hub itself, and no port needs to be open.

Website · Documentation

Beszel hub

Lightweight server monitoring with history, Docker stats and alerts. Install the Beszel agent on each server to watch.

The first visit creates the admin account.

Its data (users, systems, history) is in a volume: back it up from the service's Backups tab.

Website · Documentation

Mailpit

Email testing. Apps send to it over SMTP instead of a real server; you read every message in its web UI.

Sign in to the web UI with admin and the password you chose.

  • Apps of this project send to mailpit on port 1025 (SMTP, no TLS); any username and password are accepted. Apps of other projects reach it through a network they share with it.
  • For a mail catcher in each preview, set the service to Previews only in its settings: every preview gets its own, and none runs here. Previews then need MP_UI_AUTH (admin:<password>) in the preview settings, like any secret.
  • Messages are kept in a volume, the 500 most recent.

Website · Documentation

Minecraft server

A Minecraft Java Edition server, vanilla or Paper, Fabric, Forge. The world is kept in a volume and backed up like any other.

  • Accepting the Minecraft EULA is required: the server doesn't start without it.
  • Server type, version, difficulty, game mode and message of the day can change later in the service's environment, then redeploy.
  • Memory is the container's limit (default 2g); the server's Java heap takes three quarters of it.
  • The game port (default 25565) is published on the server: open it in the firewall. Players connect to the server's address, or to the optional domain whose DNS points at it (only for DNS: game traffic never goes through Traefik).
  • The world is in a volume. Before each volume backup, kipitiny has the server flush it to disk (rcon-cli save-all flush, with a generated RCON password).
  • Mods and plugins: see the image's documentation (MODRINTH_PROJECTS, PLUGINS and similar variables in the service's environment).

Website · Documentation

NetBird

WireGuard mesh VPN with SSO, access policies and a web dashboard. Peers connect directly, through the relay when they can't.

Set KIPITINY_TRAEFIK_READ_TIMEOUT=0 on the manager first: clients keep gRPC streams open, which Traefik otherwise cuts every 60 s.

  • Open UDP 3478 (STUN) on the server's firewall. The domain then points straight at the server: no Cloudflare proxy or tunnel.
  • The first visit to the domain creates the admin account. Then add peers with netbird up --management-url https://your.domain, or setup keys from the dashboard.
  • Peers, users and keys are in the data volume: back it up from the service's Backups tab.

Website · Documentation

Paperless-ngx

Scan, index and archive your documents. OCR makes every scan and PDF searchable; tags, correspondents and rules file them.

Sign in with the admin user and password you give here; add other users in Paperless's settings.

  • Add documents by uploading them in the web UI, by email (Mail in its settings), or by dropping files in the consume volume from the service's Files tab.
  • Documents, thumbnails and the search index are in the media and data volumes, the metadata in the db database: back up both.
  • OCR language is the main language of your documents, as Tesseract codes (eng, deu, fra, ita, spa are installed; several with +, like deu+eng). Others need PAPERLESS_OCR_LANGUAGES in the service's environment.
  • OCR of large scans takes memory: give the server 2 GB or more.

Website · Documentation

Umami

Simple, privacy-friendly web analytics. No cookies, GDPR-compliant, one small script per site.

Sign in with admin / umami, then change the password right away (Settings → Profile).

  • Add a website in Settings → Websites and put its tracking script in your pages.
  • Sites, users and events are in the db database: back it up from its Backups tab.
  • Two-factor sign-in needs TWO_FACTOR_ENCRYPTION_KEY in the service's environment: 64 hex characters, like the output of openssl rand -hex 32.

Website · Documentation

Writing a template

A template is a folder in internal/templates/files/, built into kipitiny:

internal/templates/files/beszel-hub/
├── compose.yaml   the template
└── logo.svg       optional: the logo it brings

compose.yaml is a compose file with a top-level x-template block (which Docker Compose and kipitiny's compose import ignore):

x-template:
  title: Beszel hub
  description: Lightweight server monitoring with history, Docker stats and alerts.
  website: https://beszel.dev
  docs: https://beszel.dev/guide/getting-started
  icon: beszel
  category: monitoring
  tags: [metrics, docker, alerts]
  notes: |
    The first visit creates the admin account.

    Its data is in a volume: back it up from the service's **Backups** tab.
  logo:
    label: Beszel
    color: "#747BFF"
    images: [beszel, beszel-agent]
  inputs:
    - name: DOMAIN
      label: Domain
      type: domain
      required: true
      help: Where the dashboard is served.
name: beszel
services:
  hub:
    image: henrygd/beszel:0.21.0
    expose: ["8090"]
    environment:
      APP_URL: https://${DOMAIN}
    volumes:
      - data:/beszel_data
    x-kipitiny:
      domain: ${DOMAIN}
volumes:
  data: {}
  • The folder name is the template's id; name is the default project name.
  • notes is markdown shown after the description, in the install dialog and in the list above: what to do after installing, ports to open, caveats. Paragraphs, lists, **bold**, `code` and [links](…) only, no headings; a link to /docs/<page> opens that page of the docs of the running version.
  • category groups the gallery: monitoring, analytics, automation, development, storage, media, communication, productivity, security or games. tags are extra words its search matches.
  • Each input becomes the variable ${NAME} of the file (the .env of a compose import). A ${NAME} that is a whole environment value is stored as a secret, unless x-kipitiny.secrets lists the secrets.
  • Input fields: name (UPPER_CASE), label, type (text, secret, domain, url, select with its options, or checkbox, whose value is true or false and which required makes mandatory), help (its https:// URLs become links), placeholder, default, required, and generate (a number of random bytes: the value is generated, not asked). Inputs work anywhere compose variables do (ports, mem_limit…) and in x-kipitiny.domain.

Logos

icon names the logo shown for the template and for the services it creates. Either it's one the UI draws itself (postgres, redis, mysql, mariadb, mongodb, nginx, node), or one template brings it: a logo.svg next to its compose.yaml, and x-template.logo with its label, its brand color (#rrggbb, which tints its tile) and the images whose base name it also stands for (ghcr.io/henrygd/beszel-agent:1 → beszel-agent), so services deployed without the template get it too. Several templates can share a logo (the Beszel agent uses the hub's); only one brings it.

The SVG is a plain drawing: one <svg> element with xmlns, at most 16 KB, no scripts, event handlers, foreignObject or links outside the file. The UI shows it as an image.

Checks and updates

  • A test checks that every template parses, that it uses exactly the variables it declares, and that its logo exists.
  • A smoke test installs every template on a throwaway Docker, with its required inputs filled in, and checks that each service deploys and stays up. CI runs it on pull requests that change a template, and weekly. Locally, against a Docker daemon without kipitiny on it (a docker:dind container works): KIPITINY_TEST_TEMPLATES=1 go test ./internal/core/ -run TemplatesDocker.
  • After adding or changing one, run go generate ./internal/templates: the demo on this website and the list above come from the file it generates, and a test fails while that file is stale.
  • Pin images by version. Dependabot opens a pull request when a newer one is out (the Beszel images move together); CI checks the template still parses and runs. Apps already installed keep their version.