A better command-line interface for Tailscale Taildrop #9
Contextualist
announced in
Announcements
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Taildrop
Tailscale is a software-defined networking tool that put your devices on a virtual LAN. It forms encrypted connections among your devices, and maps them as virtual network devices. Building upon that, Taildrop is the file transfer service offered by Tailscale, allowing you to send files across Tailscale devices.
acp
acp is my personal project, aiming to provide the simplest experience for sending files on terminal among your devices. The interface is designed to micmic
cp
as much as possible: forget about typing alias, IP address, path, or one-time code or passphrase:To ensure any two devices can make P2P connections, I implemented NAT traversal by hand. My hobbist implementation ends up covering lots of scenarios, but NAT traversal is a complex problem, so my code doesn't work in some cases.
acp
, with Tailscale as backendUntil one day I tried Tailscale, and I was quite impressed by their NAT traversal implementation. I started using their Taildrop, too, but its CLI version gave me lots of usage frictions (e.g. need root on Linux, no file access on macOS sandbox, no directory transfer support).
So why not having acp's UX + Tailscale's backend? That was the story behind acp v0.3.0
Now we have a "better Taildrop":
And a "better acp":
For current user of acp ...
If you are reading this and yell "don't try to sell me tailscale", no worries: Tailscale integration will not be enabled by default if you update acp from an older version.
Try it out
Install or update to v0.3.0
For new users, if you have Tailscale running before installing acp, Tailscale support is automatically enabled. Or you can manually set one of the followings in your acp config file:
strategy:["tailscale","tcp-punch"]
to prefer Tailscale connection, orstrategy:["tcp-punch","tailscale"]
to use Tailscale as backup connection optionMake terminal personal file transfers as simple as
cp
Beta Was this translation helpful? Give feedback.
All reactions