...is a platform-agnostic command-line file transfer utility for sending files from any computer to another.
The year is 2023 and ChatGPT is taking over the world, yet, sending files to each other is still incredibly annoying.
How many times haven't you tried to send a file to a friend through Messenger, WhatsApp, or Discord, just to find out that you cannot send a folder, or a .zip file, or more than a measly 25MB in total?
So... you head over to Google Drive, but then you have to fiddle with the link permissions, and if you're uploading a large file, you have to wait for it to be completely uploaded to Google Drive, before your friend can even start downloading it. Uuuuuugh.
As a developer, you know sending files isn't that hard. So did we, and we got fed up with the current state of things. So we created Portal, a command-line utility to send files quickly and easily.
Installation
See the installation options (curl, brew, yay) on GitHub!
Leave a β if you like it <3
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.
Receiving files and folders
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 β¨
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 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.