Portal

Open source

Portal is a command-line tool that sends files and folders between two computers using a temporary password and end-to-end encryption.

Open-source alternative to

GitHub stars
1.8k
Last 30 days
+2(+0%)
Last commit
2 yr ago
Repository age
5 years
Version
v1.2.3
Licence
MIT
Self-hosted
Yes

About Portal

Portal is a command-line file transfer utility. The sender runs portal send with the files or folders, and the program prints a temporary password such as 1-inertia-elliptical-celestial. The sender passes that password to the receiver over a secure channel, and the receiver runs portal receive with it.

The two clients connect through a relay server. The transfer then goes directly between machines when possible, for example when both are on the same local network, and falls back to a relayed connection when a direct one is not possible. Transfers are encrypted end to end using PAKE2, and files are compressed in parallel with gzip.

It is written in Go and released under the MIT licence. Installation works through Homebrew, Scoop, WinGet, the Arch Linux AUR, a release download or a curl or wget one-liner. You can host your own relay, set options in a YAML config file, and use tab completion for bash, zsh, fish and PowerShell.

Key features

  • End-to-end encryption using PAKE2
  • Direct transfer when possible
  • Relay fallback when no direct connection
  • Parallel gzip compression
  • Host your own relay server
  • Shell completions for four shells
  • Tab completion helps with passwords

Good fit for

  • Sending a folder to a colleague
  • Moving files across a local network
  • Transfers between different operating systems
Built with
Go tools
Tags
file-transfer
cli
p2p
encryption
golang
file-sharing

Portal: questions and answers

What is Portal used for?
Portal is a command-line tool that sends files and folders between two computers using a temporary password and end-to-end encryption. It is a good fit for sending a folder to a colleague, moving files across a local network and transfers between different operating systems.
Is Portal open source?
Yes. Portal is open source under the MIT licence. Its source code is on GitHub at SpatiumPortae/portal and is written mainly in Go.
Is Portal free?
Yes. Portal is open source, so the software itself is free to use.
What is Portal an alternative to?
Portal is an open-source alternative to Send Anywhere. Other open-source alternatives to Send Anywhere include croc, Magic Wormhole and AirDash.
Is Portal actively maintained?
The most recent commit to Portal was on 20 August 2024, and the latest release is v1.2.3, published on 16 March 2023. The project has 1.8k stars on GitHub, with 2 added in the last 30 days.

Open-source alternatives to Portal

See all

SaaS alternatives to Portal

See all