A self-hosted app store for SideStore and F-Droid
One Caddy endpoint and static JSON catalogs put sideloaded apps on every device in the house, with signing that never leaves the rack
Overview
Every device in the family runs apps that never came from the official stores. My wife and I are on iPhones and iPads, one of my siblings is on Android, and I want both platforms covered, including the apps I develop myself. My wife plays a game published only in the Vietnamese App Store, a few apps stopped shipping versions for the older iPhones still in the house, and I keep a running list of open source apps to try. On Apple that means sideloading IPAs with a developer certificate; on Android, APKs that Google Play will never list. Cables and messaged download links get old fast, so I built distribution like every other service in the rack: one endpoint, static files.
The result is a single host, store.<domain>, fronting two ecosystems:
| Platform | Client | Catalog | Binaries |
|---|---|---|---|
| iOS / iPadOS | SideStore | AltStore source JSON | self-hosted IPAs |
| Android | F-Droid client or browser | F-Droid repo layout | self-hosted APKs |
The catalog is just JSON
SideStore and AltStore read a plain JSON document over HTTPS, with no server-side logic. Each app entry carries its metadata, changelog, screenshots, and download URLs. The fields follow AltStore’s published source schema ↗, so any AltStore reader accepts this source:
{
"name": "IPA Library",
"identifier": "com.example.altsource",
"sourceURL": "https://store.<domain>/source.json",
"featuredApps": ["com.vendor.app"],
"apps": [
{
"name": "App name",
"bundleIdentifier": "com.vendor.app",
"developerName": "Vendor",
"subtitle": "Short line",
"localizedDescription": "What the app does",
"iconURL": "https://.../icon.png",
"tintColor": "1fd362",
"screenshotURLs": ["https://.../shot1.png"],
"version": "19.49.7",
"versionDate": "2024-12-30",
"versionDescription": "Changelog for this version",
"size": 122046197,
"downloadURL": "https://.../app.ipa",
"versions": [
{
"version": "19.49.7",
"date": "2024-12-30",
"downloadURL": "https://.../app.ipa",
"size": 122046197
}
]
}
]
}jsonThe versions array gives the client release history and lets a device
roll back to an older IPA without touching the server.
I run two tiers:
- The family source, added on every device in the house: the apps people actually install, with a featured row of day-one picks.
- The staging source, only on my own devices: development builds, A/B tests between two builds of the same app, and experiments. Settled builds graduate into the family source.
The local mirror on the NAS
The catalogs live inside the LAN on utank, the 14 TB bulk pool:
/srv/appstore/
├── ipa/ versioned build output from fastlane
├── apk/
├── catalog/ family + staging sources, local IPAs, screenshots
├── repo/ Android repo root
└── fastlane/ build reportsplaintextThe catalog folder holds both sources, each with its own sourceURL and
downloadURL entries pointing at local binaries. Freshly built or resigned
IPAs land here first; it is the only way I distribute my own builds, which
have no reason to sit on a public file host. My apps started in React
Native, moved through Flutter, and settled back in the native languages.
The framework changed twice; the output never did.
Caddy serves both ecosystems
The Caddy container gets two read-only bind mounts from utank, one per
tree. One host block on store.<domain> routes a path prefix to each root
through a reusable snippet. I am leaving the config out: a published host
name plus its paths is all a scraper needs.
Three details matter:
- The snippet answers 403 for any bare directory path; only exact file URLs are served.
- No Authelia on this host, unlike every other one on this Caddy. Phones fetch sources and IPAs without an interactive login, and everyone I gave the source URL to can read the contents anyway.
- The
.apkfiles go out asapplication/vnd.android.package-archive; some Android browsers refuse installs from a wrong MIME type.
Split-brain DNS handles the host name. On the LAN, Unbound’s host overrides
point store.<domain> straight at the Caddy box, so a 200 MB IPA transfers
over gigabit Ethernet and never leaves the house. Remotely, the same name
goes through Cloudflare to the WAN 443 forward into the same Caddy.
iOS: signing and the anisette server
SideStore is installed once, then signs and installs IPAs on the device itself, no computer in the loop. The constraints are Apple’s:
- A free Apple ID signs apps for 7 days and caps three sideloaded apps.
- A paid developer account ($99 USD/year, roughly 130 CAD) signs for a full year and lifts the cap. I carry one; I would rather pay than run a seven-day re-signing loop for a family.
Apple’s signing endpoints require anisette data, the per-device identifiers
Apple uses to authenticate requests. I run my own omnisette-server
container, one of the smallest guests in the rack at 512 MB, a single
binary:
omnisette-server --http-port <port>plaintextCaddy proxies it over TLS at its own host name, and the anisette URL in SideStore settings points there. Every device signs against my endpoint, with no third party in the signing path.
Android: an F-Droid repo is just a folder
The F-Droid client accepts any repository, and a repository is static files on a web server: an index plus APKs. The same Caddy serves the F-Droid repo from its own root.
The layout holds the client APKs I want on Android devices, fetchable
by URL and installed from a browser or an F-Droid client. Next, when I get
to it, is a signed index-v1.json generated with fdroidserver so the
client manages updates; the folder already matches the layout that tooling
expects.
Why one endpoint matters
Both platforms sit behind one host name, one certificate, one set of ACLs. Adding an app is dropping a file into a folder and adding a JSON entry; updating it is adding a version. Devices add the source once, then refresh and install from the store UI they already know.
The recurring cost is the developer account, which any sideloading setup would pay. Everything else rides on hardware and services the lab already runs.