Canopy Download

A private network for personal devices and trusted people

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.

Profiles and contacts

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.

One profile across devices
Each device a person uses joins the same profile: a phone, a laptop, a home server. Devices on one profile reach each other from anywhere, and each can list, sync or back up the profile's folders.
Contacts
Two profiles connect by pairing. One person shows a pair code and the other scans it. Once paired, the two profiles are contacts, and folders, files, services and messages can pass between the two.
Groups
Contacts can be gathered into groups. Access given to a group applies to every member.
Profile key and recovery
One device on a profile holds its key and signs every change to the profile. A recovery code, shown once when the profile is started, replaces the key from another device if the device holding it is lost.
Two profiles, each with its own devices, paired with each other.
Recovery code QF4M-7KDA-T2XC-…-W6HB Shown once, when a profile is started. Restores the profile if its key is lost.
Join code join:3b9e…c41d:8f02…77ae Adds a device to a profile. Works once, within 10 minutes.
Pair code pair:7c41…e09b:52fa…1d8c Pairs two profiles. Works once, within 10 minutes.

Folders

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.

Read
See the file list and request individual files. Each request waits for approval on the folder's device.
Download
Download any file in the folder.
Sync
Keep a copy in sync with the folder.
Backup
Keep a copy that retains files deleted from the folder.
Upload
Add files to the folder. Without Read, the folder's contents stay hidden.
Access to Summer 2026
Contact or group Read Down­load Back­up Sync Up­load
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
Example access to one folder. Sync and Backup include Download, and Download includes Read. A copy is kept either in sync or as a backup.
Other devices on the profile
LaptopSynced
Home serverBackup
TabletListed
The same folder on the profile's other devices: kept in sync, backed up, or listed.
  • Each of the profile's other devices lists a folder's files, keeps a copy in sync, or keeps a backup.
  • Access given to a group applies to every member, and ends for anyone taken out of the group.
  • Folders of photos can be shown as a grid of thumbnails.
  • Large files resume after a dropped connection or a restart.

Single files

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.

Transfers
holiday-film.mp4Downloading · 612 of 1,840 MB · 4.2 MB/s
A sent file downloading on a recipient's device.

Services

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.

  • Services can be chosen from the containers running on a server.
  • Access is checked each time a connection opens, so revoking access takes effect immediately.
  • A service's real address is never sent to contacts, and a refusal doesn't reveal who else has access.
Services shared with this device
ServiceContactLocal address
mediaJamie127.0.0.1:43117
gamesPriya127.0.0.1:41871
wikiJamieNot open
Example services shared with a device. An open service is reached at its local address.
# 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

Network

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.

Direct connections
Devices connect over encrypted QUIC. When no direct path exists, a relay forwards the encrypted traffic.
Sleeping devices
A message waits until it can be delivered. Any device on the recipient's profile can accept it and pass it on to the others.
Couriers
Small messages can also be carried by devices known to both the sender and the recipient. A courier can see who a message is for, but not its contents.
Self-hosting
Self-hosted relays can replace or join the public ones, and devices can be found through a self-hosted lookup server or the BitTorrent DHT.

Example set-ups

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

Photo backup

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

Shared drive

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

Shared media server

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

Large file

A video is sent from a phone's share sheet. The recipient is notified and can download it for seven days.

Send · 7 days

Upload-only folder

A group is given Upload and nothing else. Guests add photos without seeing anyone else's.

group:Guests: Upload

Off-site backup between contacts

Two contacts give each other's servers Backup on chosen folders. Each ends up with an off-site copy and no subscription.

Contact: Backup

Remote access to a server

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

Security and privacy

Canopy runs no servers and has no accounts. Shared data travels from device to device.

No accounts
A profile is a set of keys held on its devices. No username, phone number or email address is involved.
End-to-end encryption
Each message is sealed for the receiving device and signed by the sending device. Connections between devices are encrypted as well.
Paired contacts only
An unpaired device can only start a pairing, and pairing requires a pair code.
Access checked at the source
Access is set and checked on the device a folder or service is on. A service's address never leaves that device.
Encrypted storage
Each device keeps its data in an encrypted database. On Android the keys are sealed by the system keystore. On a Linux desktop the keys can be locked with the keyring.
Recovery
If the device holding a profile's key is lost, the recovery code restores the profile on another device and replaces its keys.
Signed updates
The Linux app installs only updates signed with Canopy's release key.
Source code
The full source is on Codeberg under the AGPL-3.0.

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.

Plugins and apps

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.

Plugins
A plugin is a bundle of web pages that runs inside the Canopy app in a sandboxed frame. It can't fetch from the network, and reaches Canopy only through a message bridge. Contacts are visible to a plugin only if allowed at installation. A plugin can add a button to each contact's page. Plugins install from a folder, a .zip file, or a link to a repository whose latest release contains one.
Apps
An app is a program in any language that runs beside a Canopy node and uses a local HTTP API with a token of its own. An app reaches only the services it has been allowed. Messages wait for an app while it isn't running.

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.

Download

Releases are published on Codeberg. Each release has an AppImage for Linux, its signature and an APK for Android.

Linux

AppImage for desktops and laptops. It keeps running with its window closed, so the device stays reachable, and it updates itself.

AppImage on Codeberg

Android

APK for Android 7 or later. Files shared to Canopy from other apps can be sent to contacts.

APK on Codeberg

Container

Image 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

Details

Servers and relays
Canopy runs no servers. Devices connect directly. Where no direct connection is possible, a relay forwards the encrypted traffic without being able to read it. The public relays can be replaced with self-hosted ones.
Switched-off devices
Messages for a switched-off device wait. The sender keeps retrying, and other devices on the same profile can accept each message and pass it on. A folder on a switched-off phone stays reachable through a copy kept on another device on the profile.
Contacts
Contacts install the app and scan a pair code. No technical setup is involved.
Platforms
Linux, Android and containers.
Licence
Free software under the AGPL-3.0, with the source on Codeberg.