Tern reads release pages from GitHub, GitLab, Codeberg, Forgejo/Gitea, F-Droid, IzzyOnDroid, as well as web pages, direct links, Jenkins, SourceHut, SourceForge, itch.io, Telegram, and Neutron Code. Eight third-party stores — Huawei AppGallery, Samsung Galaxy Store, vivo, APKPure, Aptoide, APKCombo, APKMirror, and Tencent — can be enabled via a separate setting. Tern also works without an account and without analytics, contacting only app sources and the places listed in PRIVACY.md, and every request identifies itself as Tern. Before downloading, Tern reads the package name, version code, and signing certificate from the server via several range requests; for a 6 MB file this took 4 requests and 106 KiB. After downloading, the SHA-256 is checked against the publisher's checksum if one exists: a GitHub release digest, a signed F-Droid index,.sha256, SHA256SUMS, or a hash in the release notes. The signature is verified twice — by Tern's own verifier (APK Signature Scheme v1, v2, v3, and v3.1) and by Android. If they disagree, the file is rejected. For 15 known apps, Tern already knows the developer's certificate, confirmed by a second source, so even a first installation is verified.
Most open source Android apps publish releases on GitHub, GitLab, Codeberg, or their own repository days before — if ever — appearing in stores. Tern lets you follow those release pages directly, and before installing it checks who signed the file, whether it's the right package, and whether the checksum matches. Updates arrive silently: after the first confirmation, Android receives a silent-update request with each new release. A built-in widget, a Quick Settings tile, and shortcuts let you check for updates from outside the app, and when Orbot is selected, all traffic goes through Tor. It's a practical replacement for app stores for those who want software straight from developers with authenticity verification rather than relying on middlemen.
Tern continues the approach of Obtainium, which showed that a phone can itself keep track of release pages. Tern does the same and additionally "looks closely" at what it has received: verifying the signature, checksum, and source. An Obtainium export transfers your list of apps and settings into Tern, and Tern can write an export back for Obtainium. Some sources read by Obtainium are deliberately left out of Tern — the reasons are listed in docs/COMPARISON.md. Once installed, Tern updates itself via its own
Source: github.com · post in Telegram