How to Build Your Own Open-Source Android TV App Repository

Updated 2026-10-30

Building a personal repository of open‑source Android TV apps for sideloading

Why build a personal sideload repo instead of using the store?

Android TV lacks a native sideloading app store like some other platforms, but the ecosystem makes up for it. Building your own repository of open-source Android TV apps lets you keep all your custom installs in one place, offline, without depending on Google Play’s restrictions or hidden licensing terms. You can curate the exact apps you want, verify the source, and reuse them across devices.

The CleanYourTV launcher is a lightweight, privacy-first launcher for Android TV that gives you quick access to sideloaded apps. Pair it with a personal repo, and you have a self-contained hub for every open-source Android TV package you install over time.

Step 1: Choose a repository host that supports Android TV sideloads

The first decision is where you will host the packages. Common choices include:

For a true open-source workflow, push your .tpk (or .tar.zst with tgt) builds to a GitHub repo and point your launcher at the raw files. GitHub’s CI can automate packaging, and its raw file host works on almost any network.

Key criteria for your pick:

Step 2: Package and sign each app properly

Before you publish anything, turn an APK into a signed package your launcher can verify. Follow these steps:

  1. Decompile the APK with apktool or jadx
  2. Remove any hardcoded API keys or analytics scripts
  3. Rebuild with the original signing key (match the key hash your launcher expects)
  4. Compress into a flat archive named app-name.tar.zst
  5. Upload the archive to your hosted repo

If you use CleanYourTV’s built-in signer utilities, double-check that the package name matches the launcher’s config section. A mismatch causes the launcher to reject the file even if the binary is correct.

## Installation checklist: getting the app onto your TV

Once the package lives in your repo, the actual install is two clicks:

Verify the installation with adb logcat | grep -i "CleanYourTV" if you have debugging enabled. Any crash or missing permissions will show up there first.

Trade-offs: convenience vs. control, and which device to target

Sideloading trades off a one-time setup cost for long-term freedom. You gain:

The downsides are real:

Pick the first device to target based on the most common Android TV hardware of your audience: budget streaming sticks and small boxes tend to run arm64, while higher-end models may support x86 or even emulator-style builds. Build for the broadest supported architecture first, and add architecture-specific fallbacks later.

Maintaining your repository over time

Treat your repo like source control: tag each release, keep a CHANGELOG.md, and write a short README explaining how to reinstall from your layout.

Routine tasks:

Final words

A personal open-source Android TV app repository turns a scattered collection of .tgz files into a durable, shareable library. With CleanYourTV as the launcher, you get a lean UI and direct control over what runs on your box, without paying for premium app stores or accepting hidden telemetry. Start small, get the first few useful open-source apps installed, and grow the repo from there.

Related reading: more Android TV notes

Read next