Increasingly, the software I use day to day is software I built myself (or, more honestly, software Claude Code built while I described what I wanted). Internal tools, household utilities, little Android apps that do exactly one thing for exactly two people. It's been invaluable, and it's quietly changed how I think about what's worth building at all.
But there's a catch nobody really warns you about.
The bit after building
Agentic coding tools are fast. Absurdly fast. And that speed pulls you into a particular rhythm: ship a version, try it on your phone, notice something, ask for a fix, ship again. A "sprint" in the old sense took two weeks. Now it might be an afternoon with a dozen releases in it.
At that cadence, the hard part isn't building anything. It's getting each new version onto the device.
The obvious routes don't fit. A public marketplace (the Play Store, Ubuntu's main archive) is the wrong home for tools that aren't public and never will be. Sideloading works: you can download the APK, tap through the warnings and install it, or dpkg -i a .deb by hand. Once. By the tenth time in a single afternoon it stops being a workflow and starts being a chore (and chores, in my experience, are where good habits go to die).
I'd been mulling this over for a while. When I finally asked Claude to help me work it out, the answer turned out to be much simpler than I expected.
The tools are already there
Both platforms I use, Android and Ubuntu, already have a mature mechanism for third-party repositories with update notifications built in. You don't need to invent anything. You host a repo, point your devices at it, and every tagged release arrives like any other update.
Android: a self-hosted F-Droid repo, with Droid-ify as the client.
Ubuntu / Debian: your own signed APT repo (what most of us loosely call a "PPA"), optionally behind authentication.
Both follow the same shape. You tag a release in git; CI builds and signs the APK or .deb and attaches it to a GitHub release; CI then regenerates the repo index and syncs it to static hosting (S3, Cloudflare R2, any web server); phones and machines pick up the update.
The repo itself is just static files: an index plus the packages, signed. There's no app-store backend to run (which, for a solo developer, is most of the appeal).
Android: F-Droid repos and Droid-ify
An F-Droid repo is a directory of signed APKs plus a signed index, generated by fdroidserver. Clients identify it by URL plus the fingerprint of its signing key, so a hijacked host can't quietly serve you different apps.
You don't need F-Droid's build-from-source process for this. A "binary repo" that republishes the APKs your own CI already built is enough.
The server side
Each repo is a small project holding the repo config, app metadata, a list of the apps it carries (I use an apps.yml mapping each package to the GitHub repo whose releases it pulls), and a CI workflow that downloads the latest release APKs, runs fdroid update and syncs the output to the host. The repo's signing key lives in CI secrets (lose it and everyone has to re-add the repo).
The trigger is the app's own release workflow: once its release is published, it dispatches the repo workflow. A slow cron is a safety net, not the main path.
Gotchas I hit
CDN caching breaks the index. If your CDN caches
entry.jarlonger thanindex-v2.json, clients see a hash mismatch that shows up as a thoroughly misleading "bad fingerprint" error. Give index files a shortCache-Control(I usemax-age=60) and only cache the APKs for long.Sign with a real release key from day one. Android refuses an update signed with a different key, and debug keys differ per machine.
versionCodemust increase on every release, or clients won't treat it as an update. Derive it from the tag.Add the app to the repo's list before tagging its first release, or the first rebuild runs without it.
Verify like a client does. Fetch the index with the fingerprint and check the new version is in it. A 200 from the host proves nothing.
One repo per audience, not per app
This is the pattern I'd most recommend copying. I run several F-Droid repos: a public one, a private one for tools only I use, and a household one for the apps my wife and I share (our shared grocery app lives there, and stays current on both our phones without either of us touching an APK). Access control is per repo, and each person adds only the repos meant for them.
For the private ones, put the host behind plain HTTP basic auth (a small proxy, a Cloudflare Worker or the web server's own auth). Droid-ify and F-Droid both accept a username and password when you add a repo. One credential per person means you can revoke someone without touching anyone else. (Avoid anything that needs custom headers or a browser login, such as an SSO portal: Android repo clients can't follow them.)
The client side
Droid-ify is a modern F-Droid client that handles extra repos well. My setup:
The official F-Droid app for third-party open-source apps.
Droid-ify with only my own repos enabled (public, private and household), and the default repos switched off.
That split keeps my own apps in one place, never mixed up with anyone else's. Because my public repo sits alongside the private ones, whatever I release, publicly or privately, shows up in the same list. That turned out to be the bit I like most.
Then let Droid-ify install apps, and turn on auto-update in its settings. On Android 12 and later, an installer can update the apps it installed without a confirmation tap, so updates land in the background.
Play Protect
Google Play Protect may warn about or block APKs it hasn't seen before, which describes every private app you'll ever build. There's no per-installer exemption ("trust Droid-ify, scan everything else"). Your options, from least to most permissive:
Tap "Install anyway" on the warning. Play Protect usually stops flagging an app once you've allowed it.
Turn off "Improve harmful app detection", so unknown apps aren't uploaded for scanning.
Turn off "Scan apps with Play Protect" entirely.
Ubuntu: your own APT repo
Strictly speaking, a PPA is a Launchpad-hosted archive. In everyday use the word just means "an extra APT source I add to get someone's packages", and that's all you need: a signed APT repository on static hosting. From then on, apt upgrade delivers your tools along with everything else.
You have three realistic routes:
A self-hosted signed APT repo (my recommendation): static files on S3, R2 or any web server, rebuilt by CI. Private if you add basic auth.
Launchpad PPAs: public by default (private PPAs are a paid, commercial feature), and Launchpad builds from source packages, which is slow when you're iterating fast.
Hosted package services such as Cloudsmith, packagecloud or Gemfury: no infrastructure to run, but private repos are on a paid tier.
The server side
The shape mirrors the F-Droid setup. A repo project collects the .debs (from a packages/ folder or from the apps' GitHub releases), builds the index with reprepro or aptly, signs it with a GPG key held in CI secrets, and syncs it to the host. Publish the public half of the key at the repo root. If you're feeling thorough, install-test the package in a clean container before publishing.
The same gotchas carry over. The version must increase (dpkg --compare-versions is the judge), and the index files (InRelease, Release, Packages) need a short cache, or a stale InRelease against a fresh Packages gives you a hash-sum mismatch.
The client side
Pin the key to this one source with signed-by (apt-key is deprecated) and add a deb822 source file:
sudo install -d -m 0755 /etc/apt/keyrings
curl -fsSL https://apt.example.com/key.gpg | sudo tee /etc/apt/keyrings/myapps.gpg >/dev/null
sudo tee /etc/apt/sources.list.d/myapps.sources >/dev/null <<'EOF'
Types: deb
URIs: https://apt.example.com/
Suites: stable
Components: main
Signed-By: /etc/apt/keyrings/myapps.gpg
EOF
sudo apt update && sudo apt install my-toolKeeping it private
APT supports HTTP basic auth natively, with the credentials kept out of the sources file:
sudo tee /etc/apt/auth.conf.d/myapps.conf >/dev/null <<'EOF'
machine apt.example.com
login alice
password <token>
EOF
sudo chmod 600 /etc/apt/auth.conf.d/myapps.confAs with F-Droid, stick to basic auth on the host. apt won't send custom headers or follow a browser login.
Release equals tag
If there's one rule tying all of this together, it's that nothing after git tag should be manual. The moment publishing involves a step you have to remember, you'll skip it mid-sprint, and your phone will quietly drift three versions behind the code.
Set it up once, and the speed of building finally gets matched by the speed of shipping, which is the whole point of having these tools in the first place.
I've put these notes, with a bit more detail, in a public repository: Private App Distribution Recipes. If you're building your own internal tools with Claude Code or something like it, I hope it saves you some sideloading.
GitHub Repository danielrosehill/Private-App-Distribution-Recipes Recipes for shipping your own private tools to your devices without an app store: self-hosted F-Droid repos + Droid-ify on Android, a signed APT repo on Ubuntu Updated Nov 2026 View on GitHub