Repository navigation
Cairn 0.1.28
An iPhone app, built from source for now, backs up photos and videos to a folder of the server and browses the server's folders, downloading a file only when it is opened, and shows them in the Files app; the server takes a new file in one request for it. The web interface's preview steps through a folder's files with the arrow keys or Space, the tray's Check for updates says how the check went, and on macOS 27 the tray's menu shows its icons again.
This is early software. Keep another copy of anything you put through it.
Linux (static), the client on each device, cairn-0.1.28-linux-x86_64 or, on ARM64, cairn-0.1.28-linux-aarch64, and the server, x86_64, on one machine:
sha256sum -c --ignore-missing cairn-0.1.28.sha256
install -D -m 755 cairn-0.1.28-linux-x86_64 ~/.local/bin/cairn # ARM64: cairn-0.1.28-linux-aarch64
sudo install -m 755 cairn-0.1.28-linux-x86_64-server /usr/local/bin/cairn-server
macOS: unpack cairn-0.1.28-macos-universal.app.tar.gz (Cairn.app) and cairn-0.1.28-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.28-windows-x86_64.exe and cairn-0.1.28-windows-x86_64-tray.exe in a folder of their own as cairn.exe and cairn-tray.exe. cairn-0.1.28.sha256 is every file's SHA-256, and update.json the signed list of this release's files that every installed copy checks.
Every file is at https://cairn.storage/download/0.1.28.html and in GitHub's release v0.1.28, each with its SHA-256.
The server has changed in this release: upgrade it before the clients.
Changes in 0.1.28
Added:
-
An iPhone app (ios/, built from source with
scripts/release-ios.sh): photos and videos backed up to a folder
and path of the server, originals as they are, named as Nextcloud's iOS app named them or as on the phone,
sent by the system in the background and by the app; the server's folders browsed live, with thumbnails, a
file downloaded only when opened; and the Files app, which shows a folder, downloads on demand and adds new
files and folders. Its core, crates/mobile, is Rust through uniffi, ready for Android. -
PUT /v1/ns/{ns}/file: a new file in one request, stored as it arrives and committed as the device that sent
it, missing folders on its path made with it, a name taken by other bytes refused or numbered, and a retry of
a request whose answer was lost the same commit (docs/protocol.md, "One-request uploads"). -
The web interface's preview steps through the folder's files, in the order the list shows them: → or Space
to the next, ← or Shift+Space to the one before, or the arrows at the preview's foot, beside "3 of 12". The
preview keeps one size while stepping, so the arrows stay under the pointer whatever each photo's shape, and
the next photo is loaded before it is asked for. In a video or audio clicked to play, the keys stay its own.
Changed:
- The tray's Update now button is Check for updates, or Update to 0.1.x when one is waiting, and it says how
the check went where it only said it had asked: "Checking for a new version…" until the updater has finished,
then, in green, "✓ Up to date: 0.1.x is the latest" once the tray and every daemon run it, or what it
installed and that the tray and the daemons restart into it, or, in red, why it could not. The updater now
writes when each run ended (triedinupdate-state.json), so a check that fails just as the one before
did is seen to have ended too.
Fixed:
- On macOS 27 the tray's menu showed none of its icons, the symbols by its items and the coloured dot by each
root's status, which macOS 26 and Windows show: macOS 27 hides a menu item's image unless the item asks for
it to be shown (preferredImageVisibility), and each item with an image now asks.