Skip to content

Cairn 0.1.29

Choose a tag to compare

@stepankandrushin stepankandrushin released this 17 Nov 03:52
· 30 commits to main since this release

An Android app, for Android 11 and later, its APK among this release's files: it backs up the phone's photos and videos to a folder of the server as they are taken, from the camera's folder and any other switched on, browses the server's folders, downloading a file only when it is opened, and puts the folders chosen into the system's Files picker. The clients and the server are as in 0.1.28 otherwise.

This is early software. Keep another copy of anything you put through it.

Linux (static), the client on each device, cairn-0.1.29-linux-x86_64 or, on ARM64, cairn-0.1.29-linux-aarch64, and the server, x86_64, on one machine:

sha256sum -c --ignore-missing cairn-0.1.29.sha256
install -D -m 755 cairn-0.1.29-linux-x86_64 ~/.local/bin/cairn       # ARM64: cairn-0.1.29-linux-aarch64
sudo install -m 755 cairn-0.1.29-linux-x86_64-server /usr/local/bin/cairn-server

macOS: unpack cairn-0.1.29-macos-universal.app.tar.gz (Cairn.app) and cairn-0.1.29-macos-universal-tray.app.tar.gz (Cairn Tray.app) into ~/Applications; README.md has the launchd agent for Cairn.app. Windows: put cairn-0.1.29-windows-x86_64.exe and cairn-0.1.29-windows-x86_64-tray.exe in a folder of their own as cairn.exe and cairn-tray.exe. cairn-0.1.29.sha256 is every file's SHA-256, and update.json the signed list of this release's files that every installed copy checks.

Android 11 and later: open cairn-0.1.29-android.apk on the phone, and install it over the app to update it; the app's manual shows each step. It does not update itself. Every APK of the app is signed by the same key, its certificate's SHA-256 dc981e26f3084defacb05268103e31ba30eb7cd6c01734ae9f19742f56009006, which apksigner verify --print-certs cairn-0.1.29-android.apk shows; Android installs an update only when that key signed it.

Every file is at https://cairn.storage/download/0.1.29.html and in GitHub's release v0.1.29, each with its SHA-256.

The server is unchanged since 0.1.28; a 0.1.29 client works with a 0.1.28 server.

Changes in 0.1.29

Added:

  • An Android app (android/, built from source with scripts/release-android.sh), for Android 11 and later, on
    the iPhone's core: photos and videos backed up to a folder and path of the server as they were taken, from
    the folders switched on (the camera's by default; screenshots and screen recordings, and each other app's
    folder, off until switched on, and changeable while backup runs), their location kept, named as the camera named them or as Nextcloud's iOS app
    did, found by MediaStore's generation numbers and sent by WorkManager soon after they are taken, on Wi-Fi
    only unless chosen otherwise; the server's folders browsed live, with thumbnails, a file downloaded only when
    opened and a video streamed; and each chosen folder in the system's Files picker, which downloads on demand
    and adds new files and folders, each queued like a photo before it is sent. Its APK,
    cairn-<v>-android.apk, is among the release's files on cairn.storage and GitHub, signed by the project's
    key; the app does not update itself, so a later one is installed over it.
  • crates/mobile builds for Android (a shared library, and its start for Android's certificate checks), and the
    engine, a client library there, builds for Android as on Linux.