Getting Started
Hayate encrypts and transfers files and directories across your local network at wire speed. It uses QUIC transport, X25519 key agreement, and hardware-accelerated AEAD encryption. Peer discovery works on every platform via mDNS with automatic UDP broadcast fallback.
Installation
macOS & Linux
Windows (PowerShell)
Android (Termux)
Hayate runs on Termux via aarch64-linux-android binaries. Install from GitHub Releases:
Transfer Modes
1. Pairing Mode (Auto-Discovery)
Pairing mode finds peers on your LAN automatically. The sender broadcasts its presence via mDNS and UDP; the receiver picks up whichever arrives first. No IP addresses or port numbers needed.
Receiver (waits for a sender with the matching code):
Sender (broadcasts and connects):
Tip — omit
--codeon the sender and Hayate generates a random 4-word phrase for you. Share it with the receiver.
2. Direct Mode (IP:Port)
Use direct mode when you know the receiver's address or when you're on a network where multicast is restricted.
Receiver:
Sender:
Directory Transfers
Pass a folder path and Hayate streams it as a tar archive — compressed, encrypted, extracted safely:
Security — directory extraction rejects symlinks, hardlinks, absolute paths, and
..traversal. Every entry is validated before writing.
Network Discovery
Scan your local subnet for active Hayate receivers:
Specify a CIDR range: