Skip to content

Cairn 0.1.14

Choose a tag to compare

@stepankandrushin stepankandrushin released this 10 Nov 08:25

A web interface in the server, which a device opens signed in from its tray or cairn web: browse and upload, history and restore, recently deleted, who has access, shares of any file or folder with other users, and public links that need no account.

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

Linux (x86_64, static):

sha256sum -c cairn-0.1.14-x86_64-unknown-linux-musl.tar.gz.sha256
tar xzf cairn-0.1.14-x86_64-unknown-linux-musl.tar.gz

macOS: unpack both .app.tar.gz into ~/Applications; README.md has the launchd agent for Cairn Sync.app. Windows: put cairn-0.1.14-windows-x86_64.exe and cairn-tray-0.1.14-windows-x86_64.exe in a folder of their own as cairn.exe and cairn-tray.exe. cairn-0.1.14-linux-x86_64 is the bare Linux program, which installed copies update to. update.json is the signed list of this release's files that every installed copy checks.

The server has changed in this release: upgrade it before the clients.

Changes in 0.1.14

Added:

  • A web interface, at the server's address. Sign in with a token, then browse each folder; upload files and
    folders, in parts any proxy passes; download a file, or a folder as a zip; preview images, video, audio,
    PDFs and text; see a file's history and restore any revision; bring back what was deleted lately; make
    folders, rename, move and delete. A change made there is a commit like any device's: refused, with the
    reason, when the file or folder changed since it was looked at, never forced over it. A file replaced from a
    browser keeps its mode, owners, extended attributes and streams.
  • Sharing from the web. A folder's members are listed, and its managers change them. A manager shares any
    file or folder in it with another user, to read or to write, or by a public link that needs no account,
    reads only and may expire: each reaches what it names and nothing above it, follows it when it moves, and
    stops when it is deleted or its maker no longer manages the folder. "Shared with me" lists what others
    shared with you.
  • Signing in from a device, with nothing to type: the tray's Open in browser, and cairn web in a synced
    folder, open the web interface signed in as that device, by a ticket that works once within two minutes.
    The browser keeps a session the server signed, never the token, and removing the token signs it out.
  • Endpoints for all of it, which any client may use (docs/protocol.md, "Web"), and schema 3 on the server,
    which adds the table of shares.