Notes on every device
A folder of notes is kept in sync on every device on the profile. A note written on the phone is on the laptop and the desktop too.
Every device: Sync
Canopy links phones, computers and home servers directly to each other, and to other people's devices once both sides agree to connect. Folders, single files and services such as a home media server are shared over these links, encrypted end to end, with no account or cloud service in between.
A profile stands for one person. It holds a name and a set of keys, kept on that person's devices rather than in an account on a server.
Jo's profile
Alex's profile
QF4M-7KDA-T2XC-…-W6HB
Shown once, when a profile is started. Restores the profile if its key is lost.
join:3b9e…c41d:8f02…77ae
Adds a device to a profile. Works once, within 10 minutes.
pair:7c41…e09b:52fa…1d8c
Pairs two profiles. Works once, within 10 minutes.
A folder is shared from the device it is on. Access is set separately for each contact, each group and each of the profile's other devices.
| Contact or group | Read | Download | Backup | Sync | Upload |
|---|---|---|---|---|---|
| Mum | Yes | Yes | No | Yes | No |
| Alex | Yes | Yes | No | No | No |
| Sam | Yes | No | No | No | No |
| Cousins Group | Yes | No | No | No | Yes |
| Laptop | Synced |
|---|---|
| Home server | Backup |
| Tablet | Listed |
A single file can be sent to contacts from the app, the tcn command or Android's share sheet. The file is copied when it is sent. Recipients are notified and can download it for seven days.
Any TCP service on a device, such as a media library, a home dashboard, a game server or SSH, can be shared by name with contacts and groups. On the receiving device, the service is reached at 127.0.0.1 on a local port.
| Service | Contact | Local address |
|---|---|---|
| media | Jamie | 127.0.0.1:43117 |
| games | Priya | 127.0.0.1:41871 |
| wiki | Jamie | Not open |
# on the server
tcn service add media media:8080
tcn access grant group:Family media
# on a laptop of a Family member
tcn tunnel media 8080
Devices connect directly wherever possible. A message for a phone that is asleep waits until it can be delivered, or travels through another device on the same profile.
A folder of notes is kept in sync on every device on the profile. A note written on the phone is on the laptop and the desktop too.
Every device: Sync
A phone's camera folder is kept in sync on a laptop and backed up on a home server. Deleting a photo on the phone leaves the backup intact.
Laptop: Sync · Home server: Backup
A folder of documents or media on a computer or phone is shared with a group. Members browse and download its files and add new ones, with no cloud storage involved.
group:Family: Download, Upload
A media server is shared with a Family group. Members open it from the app on a phone or laptop, and no port is opened on the router.
group:Family → media
A video is sent from a phone's share sheet. The recipient is notified and can download it for seven days.
Send · 7 days
A group is given Upload and nothing else. Guests add photos without seeing anyone else's.
group:Guests: Upload
Two contacts give each other's servers Backup on chosen folders. Each ends up with an off-site copy and no subscription.
Contact: Backup
SSH on a home server is shared with the profile's own devices and reached from anywhere, with nothing exposed to the internet.
Own devices → ssh
Canopy runs no servers and has no accounts. Shared data travels from device to device.
What a courier can see A device carrying a message for another device can read which device wrote it, which device it is for, its type, its size and when it was written. The contents can't be read or changed.
Canopy delivers messages between people. Each message is signed, sealed and retried, and passed between devices until delivered. Plugins and apps use this delivery and the list of paired contacts, with no servers to run.
Message types A plugin or app owns the message types named after it on its device. Any paired contact can send it messages. Canopy verifies the sender of each message; checking the contents is left to the plugin or app.
Releases are published on Codeberg. Each release has an AppImage for Linux, its signature and an APK for Android.
AppImage for desktops and laptops. It keeps running with its window closed, so the device stays reachable, and it updates itself.
AppImage on CodebergAPK for Android 7 or later. Files shared to Canopy from other apps can be sent to contacts.
APK on CodebergImage with the node, the tcn command and a web interface, built from source:
podman build -t tcn .
podman run -d --name tcn \
--network <network> \
-v tcn-data:/data tcn
# a join code from Add device
podman exec tcn tcn join <code>
The data volume holds the device's keys and belongs on an encrypted disk.
Source code: codeberg.org/BrevDen/TCN