Portal 🌌 ✨ is a quick and easy command-line file transfer utility from any computer to another. Transfers are fully encrypted, and made peer-to-peer if possible, with a fallback to a relay server if not.
How it works
To send files:
portal send file1 file2 folder1 folder2 ...
The application will output a temporary password on the format 1-inertia-elliptical-celestial
.
The sender will communicate this password to the receiver over some secure channel.
To receive those files:
portal receive 1-intertia-elliptical-celestial
The two clients will establish a connection through a relay server. The file transfer will then commence with a direct or relayed connection, depending on what's possible.
What it looks like ✨
See the featured image! The sender (top) sends a folder and three files to the receiver (bottom).
In this case, as you can see in the event log, the transfer is made using direct transfer. That means that the files are sent directly from one client to the other, no middlemen involved.
As it happens, these computers are in the same local network, and portal recognizes this.
Features
portal provides:
Completions
portal provides extensive TAB completions for the following shells:
To see installation instructions for your shell and platform, run:
portal completion [bash|zsh|fish|powershell] --help
Tip!
You probably didn't quite catch the password Bob was screaming across the room.
You can use TAB completions to auto-complete passwords on the receiving end.
Press TAB when entering parts of your password...
portal receive 42-relative-parsec-s...
...and portal will suggest the possible words
portal receive 42-relative-parsec-supernova
Hosting your own relay
The portal binary comes with a built-in relay server.
Spinning up your own relay is as easy as...
portal serve --port 1337
The server log output is JSON. Super-recommended to run it through jq!
portal serve --port 1337 2>&1 | jq .
Thank you for your report. Information you provided will help us investigate further.
There was an error while sending your report. Please try again later.
You are about to open
Do you wish to proceed?
Snaps are applications packaged with all their dependencies to run on all popular Linux distributions from a single build. They update automatically and roll back gracefully.
Snaps are discoverable and installable from the Snap Store, an app store with an audience of millions.
If you’re running Ubuntu 16.04 LTS (Xenial Xerus) or later, including Ubuntu 18.04 LTS (Bionic Beaver) and Ubuntu 20.04 LTS (Focal Fossa), you don’t need to do anything. Snap is already installed and ready to go.
For versions of Ubuntu between 14.04 LTS (Trusty Tahr) and 15.10 (Wily Werewolf), as well as Ubuntu flavours that don’t include snap by default, snap can be installed from the Ubuntu Software Centre by searching for snapd.
Alternatively, snapd can be installed from the command line:
sudo apt update
sudo apt install snapd
Either log out and back in again, or restart your system, to ensure snap’s paths are updated correctly.
To install portal, simply use the following command:
sudo snap install portal
Browse and find snaps from the convenience of your desktop using the snap store snap.
Interested to find out more about snaps? Want to publish your own application? Visit snapcraft.io now.