CLI tool
piku/piku avatar
piku/piku

piku turns a git push into a running app on your own box

The tiniest PaaS you've ever seen. Piku allows you to do git push deployments to your own servers.

6,605 stars157 forksPythonMIT

At a glance

What is it?
piku is a small Python micro-PaaS that treats a git remote as a deploy API, gives every app its own dependency directory, and supervises the result with uwsgi and nginx. The interesting part is what it deliberately leaves out: no containers, and no isolation between apps.
Who is it for?
piku earns a place on a small ARM board, a single VPS, or a LAN server where running several small apps matters more than strict isolation between them. It is the wrong choice for untrusted code: the README describes only per-app dependency directories, and running arbitrary commands is part of the design.
Can I use it commercially?
Yes. MIT is a permissive licence: you can use, modify and sell software built on it, as long as you keep its copyright and licence notices.
Is it still maintained?
Yes. The repository last received commits 79 days ago.
What is it written in?
Mainly Python, according to GitHub's language statistics.

Answers come from the project's GitHub data, last synced on November 22, 2026, and from our analysis. They are not legal advice.

From daily snapshots

Star history

  • piku/piku6,605 ★ · +2
Star history
Repository2026-09-232026-11-22
piku/piku6.6k6.6k

2 Stars in the last 60 days, measured from the daily GitHub snapshot. Compare with other projects

Editorial analysis

The deploy is a git remote, not an API

piku's whole deployment surface is the app name as a repository name. You point a git remote at the server and push:

bash
git remote add piku piku@yourserver:appname
git push piku master
git push piku release-branch-name

There is no dashboard, no YAML manifest of services and no separate deploy credential. The default branch is `master`, and a named branch can be pushed instead when you do not want the checked-out one. Once the push lands, piku determines the runtime, installs what is needed and starts the workers.

The app name travels with the remote, which is how one host ends up running several independent apps. The project's stated motivation was a Heroku or CloudFoundry style workflow on a few ARM boards, at a time when dokku did not work on ARM and docker felt like too much machinery for the job. That origin explains the shape: it borrows the twelve factor model and standard unix tools rather than a scheduler.

The tradeoff is that the trigger is git, so there is no rollback story described in the README. What you do about a bad push is redeploy the previous commit yourself.

uwsgi and the Procfile do the process supervision

After the push, piku looks at a Procfile and starts the declared workers, using uwsgi as a generic process manager rather than a purpose-built supervisor. Worker types are named in that file, and the documentation describes the ones you can rely on.

A `release` worker is optional and runs once when the app is deployed, which is the hook for migrations or post-push processing on the server. A `static` worker type deploys a gh-pages style site, taking the root path as its argument. So a static site needs no separate toolchain and no second machine; the same push that would start a web process can instead publish files.

Once the app is up, two remote commands handle the everyday changes. The README names `config:set` for changing application settings and `ps:scale` for scaling worker processes up or down, and it does not document the syntax of either:

bash
config:set
ps:scale

Both are described in prose rather than shown with arguments, which is a real gap for anyone scripting configuration changes. Baking settings into an ENV file before the push is the documented path that does not depend on them.

Every app gets its own dependency directory

Deployment isolation here means filesystem directories, not containers. piku detects the language and takes a different route for each one, and each route writes somewhere app-specific.

For Python it segregates each app's dependencies into its own virtualenv. For Go it defines a separate GOPATH per app. For Node it installs whatever is in `package.json` into `node_modules`. For Java it builds from `pom.xml` or `build.gradle`, whichever is present. For Clojure it uses either leiningen or the Clojure CLI with a `deps.edn` file. For Ruby it runs `bundle install` of your gems in an isolated folder.

That list is worth reading next to the runtime support claim further down the documentation, which names Python, Node, Clojure and Java as supported and describes Go as still in the works. The general rule offered instead of a closed list is that if something can be invoked from a shell, it can run inside piku. Treat that as a starting point rather than a guarantee, since the per-language dependency paths above are the parts with concrete behaviour behind them.

The repository carries an `examples/` directory with runnable cases for Go, Node, Python with Postgres, Rust and a client plugins folder, which is the practical place to check whether your stack is covered.

nginx fronts every app on the same IP

Virtual host support is complete in the sense that matters for a single VPS: several apps can live on one machine and be reached through different hostnames using DNS aliases. `piku` then sets up either a private certificate or obtains one through Let's Encrypt to enable SSL.

The practical consequence is that adding an app is partly a DNS task. The git remote gets you the process running, but pointing a hostname at the shared IP is a separate step, and nothing in the documented workflow automates it for you.

For local networks there is a separate answer. `piku/avahi-aliases` announces different hostnames for one IP address over Avahi, mDNS or Bonjour, which is how you reach a piku server from macOS, iOS or Linux clients on a LAN without touching DNS at all.

nginx sits in front of all of this rather than behind it, so it also carries the caching and static path configuration described next. Both directions of that arrangement, applications and nginx, are configured through the same ENV file.

ENV carries app settings and cache paths

Beyond the Procfile, a second file holds configuration, and it reaches into nginx as well as your application. Application settings and nginx settings are both baked into an ENV file.

Two features are configured this way. Specific URL prefixes can be mapped directly to filesystem paths to serve static assets, and back-end responses can be cached to remove load from applications. Neither requires a change to application code, which is the point: both are routing decisions made outside the process.

This is also where piku differs from a plain systemd unit per app. Rather than describing caching in the app's own framework, it moves it to the proxy layer where it applies uniformly.

The repository ships `examples/ENV` alongside `examples/Procfile`, so the shape of both files can be read without leaving the project. What the top of the documentation does not spell out is a full list of every key the ENV file accepts, so treat the example file as the reference for what is known to work.

A 256MB Raspberry Pi Model B is the baseline

piku is meant to work in any POSIX-like environment that has Python, nginx, uwsgi and SSH. The documentation names deployments on Linux, FreeBSD, Cygwin and the Windows Subsystem for Linux. Its stated baseline is an original 256MB Raspberry Pi Model B, the board development started on, and it says it still runs reliably there.

That low ceiling is the design target rather than an accident. The core values list runs on low end devices and staying accessible to hobbyists and K-12 schools, alongside about 1500 lines of readable code, a functional code style and few dependencies. The dependencies it names are distro packages in Raspbian, Debian and Ubuntu, plus standard tooling: git, ssh, uwsgi and nginx. The repository file `requirements.txt` exists only for automated tests and carries a comment saying piku does not rely on those pip packages at runtime.

The practical limits follow from the platform choice. Alpine and RHEL support is marked work in progress, so a host built on either of those is outside what is currently targeted. Debian and Ubuntu are the two platforms to aim at, and the project aims to support the latest two LTS major versions of each.

Running arbitrary commands is the design, not a bug

The documentation is unusually direct about this. A note addressed to security researchers asks them to stop submitting fake, AI generated SSH vulnerability reports and begging for CVEs, and states that piku allows you to run arbitrary commands because that is a CLI feature.

Read that alongside the rest and the security picture is clear enough. Apps are separated by directory: separate virtualenvs, separate GOPATHs, separate gem folders. The README describes no separation by user, namespace or container.

That is fine for the stated audience. A hobbyist running their own scripts on their own Pi or VPS is the case this was written for, and containers would cost more than they return at that size. It is a poor fit for hosting code you did not write, where the gap between directory separation and real isolation is the whole question.

Beyond the Procfile and ENV pair, the judgement about who may push to which app name is left entirely to the SSH layer.

Stable here means the feature set is finished

The project describes itself as STABLE, and the wording around that is worth reading closely: actively maintained, where actively means the feature set is pretty much done, so updates happen when new language runtimes are added or reproducible bugs crop up. The last push on the repository was 2026-09-04.

The published releases are old by comparison. v1.0.0, tagged The One, is dated 2024-04-06. The other release is tagged legacy, dated 2023-03-23, and a `legacy/` directory still sits at the top level of the tree. The repository also contains `piku.py`, a `binary/` directory, and systemd service files for both nginx and uwsgi, so the deployment shape is more than a single script.

The current requirement is Python 3.10 or above, which is the version the project states it tests against. Both facts together set expectations for anyone adopting this now: the workflow described is settled, the runtime baseline is modern, and the last few years of work have gone into fit and bug fixes rather than into new capabilities.

If you need a feature that is not there, the roadmap lives outside the README, and there is no stated commitment to a release date for it.

Editorial conclusion

piku earns a place on a small ARM board, a single VPS, or a LAN server where running several small apps matters more than strict isolation between them. It is the wrong choice for untrusted code: the README describes only per-app dependency directories, and running arbitrary commands is part of the design. Before adopting it, confirm the host can run Python, nginx, uwsgi and SSH, confirm your target is Debian or Ubuntu rather than Alpine or RHEL, both marked work in progress, and confirm someone will run the last push date and the 2024-04-06 v1.0.0 tag review before you rely on it. What you get in exchange is a deployment story a single person can read end to end.

Frequently asked questions

How do I deploy an app to a piku server?

Add a git SSH remote with the app name as the repository name using `git remote add piku piku@yourserver:appname`, then push with `git push piku master`. piku detects the runtime, installs dependencies and starts the workers declared in your Procfile.

Does piku use Docker or containers?

No. piku relies on Python, nginx, uwsgi and SSH, and gives each app its own dependency directories such as a virtualenv or a separate GOPATH rather than a container. The project states that docker can be overkill for the small boards it targets.

What separates one app from another on a piku host?

Filesystem directories: each Python app gets its own virtualenv, each Go app its own GOPATH, and Ruby gems install into an isolated folder. The README describes no user or container separation, and the project states that running arbitrary commands is a CLI feature, so this is not isolation for untrusted code.

Which operating systems does piku target?

The target platforms are Debian and Ubuntu, where the project aims to support the latest two LTS major versions, and it says it still runs reliably on an original 256MB Raspberry Pi Model B. Alpine and RHEL support is marked work in progress.

Official sources

  1. License: MIT
  2. piku/piku on GitHub
  3. Project website
  4. README
  5. Releases
Add this badge to your README

If you maintain this project, the badge below links readers to this analysis and shows its maintenance status from the daily GitHub snapshot. Paste the markdown into your README; add ?metric=license or ?metric=stars to the image URL for a different field.

Add this badge to your README

markdown
[![Hysen Labs](https://hysenlabs.com/badge/piku-piku.svg)](https://hysenlabs.com/projects/piku-piku)

Star history chart for your README

markdown
[![Star history](https://hysenlabs.com/chart/piku-piku.svg)](https://hysenlabs.com/projects/piku-piku)

Was this useful?