Backpack: Difference between revisions
Eleutherious (talk | contribs) New tool page, source-checked against the project README |
Eleutherious (talk | contribs) Second check: fixes to facts, dates (UTC), glosses and attribution |
||
| Line 1: | Line 1: | ||
{{Infobox tool | {{Infobox tool | ||
| name = Backpack | | name = Backpack | ||
| what = | | what = Installs Android apps from repositories that live in Logos Storage | ||
| stage = Prototype | | stage = Prototype | ||
| licence = MIT or Apache-2.0 | | licence = MIT or Apache-2.0 | ||
| Line 13: | Line 13: | ||
== What it does == | == What it does == | ||
* Works as "a tiny F-Droid", where the APKs, their icons and the repository index are all Storage objects fetched by CID. | * Works as "a tiny F-Droid" (F-Droid is an open-source Android app store), where the APKs, their icons and the repository index are all Storage objects fetched by CID (content identifier). | ||
* Gives publishers a desktop command-line tool, <code>backpack</code>, that uploads APKs and icons to a Storage node, publishes a signed index and prints the repository link. | * Gives publishers a desktop command-line tool, <code>backpack</code>, that uploads APKs and icons to a Storage node, publishes a signed index and prints the repository link. | ||
* Gives users an Android app that adds a repository from a <code>backpack://</code> link, lists its apps, and installs or updates them. Logos Storage runs on the phone. | * Gives users an Android app that adds a repository from a <code>backpack://</code> link, lists its apps, and installs or updates them. Logos Storage runs on the phone. | ||
| Line 21: | Line 21: | ||
* Can install app updates automatically, as a setting. | * Can install app updates automatically, as a setting. | ||
Stage: Prototype. The README states no stage. The page lists it as Prototype because it has working code. The install steps cover the publisher CLI, and the Android app is built from source. Its list of limits says Delivery needs | Stage: Prototype. The README states no stage. The page lists it as Prototype because it has working code. The install steps cover the publisher CLI, and the Android app is built from source. Its list of limits says Delivery needs Loam, a separate app that runs a shared node on the phone. The list also says there is no key rotation yet, downloads from the publisher's server run at 200 to 500 KB/s, and only arm64 phones are supported. The README does not say whether it is an official Logos project. | ||
== Use it == | == Use it == | ||
| Line 32: | Line 32: | ||
== Build it == | == Build it == | ||
* | * <code>git submodule update --init</code> fetches loam-transport. <code>cd mobile && npm install</code> follows it. | ||
* <code>native/logosstorage/build-jni.sh</code> builds the JNI glue for libstorage. | * <code>native/logosstorage/build-jni.sh</code> builds the JNI glue for libstorage. | ||
* <code>npx expo prebuild --platform android --clean</code>, then <code>./gradlew assembleRelease</code> in <code>mobile/android</code>. The README gives the full sequence, including the Android SDK path and a lint setting. | * <code>npx expo prebuild --platform android --clean</code>, then <code>./gradlew assembleRelease</code> in <code>mobile/android</code>. The README gives the full sequence, including the Android SDK path and a lint setting. | ||
Revision as of 21:00, 4 November 2026
Backpack is an Android app store whose repositories live in Logos Storage, with update notes carried over Logos Messaging (Logos Delivery). It is published by the GitHub user vpavlin.
What it does
- Works as "a tiny F-Droid" (F-Droid is an open-source Android app store), where the APKs, their icons and the repository index are all Storage objects fetched by CID (content identifier).
- Gives publishers a desktop command-line tool,
backpack, that uploads APKs and icons to a Storage node, publishes a signed index and prints the repository link. - Gives users an Android app that adds a repository from a
backpack://link, lists its apps, and installs or updates them. Logos Storage runs on the phone. - Announces each new index with a small signed note on a Logos Delivery topic. HTTPS addresses in the link can also carry the note, but that setting is off by default.
- Checks the signature and sequence number of every note and index, the SHA-256 of every APK, and that each APK's signing certificate matches the pinned one.
- Imports an existing F-Droid repository, but only through a verified index.
- Can install app updates automatically, as a setting.
Stage: Prototype. The README states no stage. The page lists it as Prototype because it has working code. The install steps cover the publisher CLI, and the Android app is built from source. Its list of limits says Delivery needs Loam, a separate app that runs a shared node on the phone. The list also says there is no key rotation yet, downloads from the publisher's server run at 200 to 500 KB/s, and only arm64 phones are supported. The README does not say whether it is an official Logos project.
Use it
- Publisher: in
cli/, runnpm install. - Run
./backpack.mjs init --name "My backpack". This creates the repository key in~/.backpack/default/key.pem, which the README says to back up. - Set where the update note is read and written with
./backpack.mjs config, then add apps with./backpack.mjs add path/to/app.apkor./backpack.mjs import-fdroid. - Run
./backpack.mjs publish. It uploads the index to Storage, sends the note and prints a link and a QR code. - On the phone, open the printed
backpack://link or scan the QR code once. After that the phone follows the repository on each app start or pull-to-refresh.
Delivery on the phone needs the Loam app. Without it, and with the web setting off, a repository only moves forward when a newer link is opened.
Build it
git submodule update --initfetches loam-transport.cd mobile && npm installfollows it.native/logosstorage/build-jni.shbuilds the JNI glue for libstorage.npx expo prebuild --platform android --clean, then./gradlew assembleReleaseinmobile/android. The README gives the full sequence, including the Android SDK path and a lint setting.
Releases
The latest tag is basecamp-arm64-0.6.4, dated 3 November 2026, on the feat/basecamp-private-follow branch. basecamp/backpack_ui/metadata.json gives backpack version 0.6.2 and basecamp/backpack_core/metadata.json gives backpack_core version 0.6.2. The README does not describe these Basecamp packages.
See also
Sources
- backpack README, GitHub, last commit 2 November 2026
- basecamp/backpack_ui/metadata.json and basecamp/backpack_core/metadata.json, GitHub
- backpack tags, GitHub