plainhost runs web applications and background services directly on a Debian host, without Docker Swarm. Every deployment uses the host's shared services: one PostgreSQL behind one pgbouncer, one Redis, one web server with TLS, one SMTP account.
  • Python 94.6%
  • Shell 4%
  • Dockerfile 0.5%
  • PHP 0.2%
  • JavaScript 0.2%
  • Other 0.1%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
2026-11-21 07:17:35 +01:00
docs T49 rework: keep routes of non-web processes, write an existing deployment's changed env 2026-11-21 07:02:03 +01:00
man T49: setup shows a summary and its steps, edits them in a menu, takes proposed values 2026-11-21 06:42:56 +01:00
playground T49: setup shows a summary and its steps, edits them in a menu, takes proposed values 2026-11-21 06:42:56 +01:00
src/plainhost T49 rework: keep routes of non-web processes, write an existing deployment's changed env 2026-11-21 07:02:03 +01:00
tests T49 rework: keep routes of non-web processes, write an existing deployment's changed env 2026-11-21 07:02:03 +01:00
tools T25: shellcheck fixes in playground.sh, the playground bashrc and tools/docker-lib.sh 2026-11-20 20:42:00 +01:00
.gitignore WIP T13: Vagrantfile, tier-3 provisioning, drivers, sample apps, docs 2026-11-20 12:31:56 +01:00
Makefile T24: one docker check for make, pytest, sandbox.sh and playground.sh 2026-11-20 20:33:27 +01:00
mkdocs.yml T45 (1-3): a supported-stacks overview; pgbouncer/JDBC notes; the playground's sample apps 2026-11-21 00:16:27 +01:00
playground.sh T28: one-line prompts, one plan for plainhost setup, smtp in the playground 2026-11-20 21:12:36 +01:00
pyproject.toml T11: complete docs, generated CLI reference and man page, docs kept true by tests 2026-11-20 11:35:56 +01:00
README.md T45 (1-3): a supported-stacks overview; pgbouncer/JDBC notes; the playground's sample apps 2026-11-21 00:16:27 +01:00
sandbox.sh T20: playground (docker) with a guided console, actionable docker errors 2026-11-20 20:26:43 +01:00
SPEC.md Merge branch 'main' into claude-herdr/plainhost-worker1 2026-11-21 00:07:11 +01:00
uv.lock T1: foundation: package, CLI skeleton, config, host API, tests and docs scaffolding 2026-11-20 09:16:34 +01:00
Vagrantfile WIP T13: Vagrantfile, tier-3 provisioning, drivers, sample apps, docs 2026-11-20 12:31:56 +01:00

plainhost

plainhost runs web applications and background services directly on a Debian host, without Docker Swarm. Every deployment uses the host's shared services: one PostgreSQL behind one pgbouncer, one Redis, one web server with TLS, one SMTP account.

sudo apt install -y pipx
sudo pipx install --global plainhost
sudo plainhost setup
sudo plainhost deployment setup https://example.org/you/app.git --domain app.example.org
sudo plainhost deployment start app

It knows Python (Django, Flask, FastAPI), Node (Next.js, Nuxt, SvelteKit, Astro, NestJS, Express …), Go, Java (Spring Boot, Quarkus, Micronaut), PHP (Laravel, Symfony, WordPress), Ruby (Rails, Sinatra), Rust, static sites (Hugo, MkDocs, Vite, Astro, Docusaurus …) and container images: deployment setup reads the repository and proposes the build, the processes, the services and the env, with pinned and checked toolchains. See the supported stacks.

To try it without a server, the playground is a Debian container with nginx, PostgreSQL and Redis preinstalled and a guide through the first steps:

./playground.sh setup
./playground.sh console

Documentation: docs/, starting with the quick start. Development: docs/development.md (make test, make lint, make docs, the sandbox). The design is in SPEC.md.