
F
Flipflop
Open Source๐ Alt to NgrokIroh-powered persistent tunnels for seamless filesharing
๐ณ Self-Hostable๐ No Sign-upโก Editorial Signal: 82/100โ
283 Stars
cargo install flipflopFlipflop provides persistent, direct-connect peer-to-peer tunnels built on the Iroh protocol for secure file sharing. It bypasses traditional server-relay bottlenecks by establishing direct connections between endpoints for rapid file transfers.
Leverages modern hole-punching and direct connection capabilities for resilient peer-to-peer networking.
Maintain stable data paths for sharing files instantly across disparate networks and NAT barriers.
Quickly spin up secure file-sharing endpoints directly from your terminal with minimal setup.
Sharing large build artifacts directly between developer workstations without cloud storage uploads
Quickly transferring files across remote headless machines behind restrictive firewalls
Testing local web assets or files over public endpoints during development cycles
Unlike Ngrok which routes traffic through centralized commercial servers, Flipflop utilizes direct P2P connections via Iroh for enhanced privacy and no intermediary bottlenecks.
Developers and systems administrators who need fast, private, terminal-based file sharing and tunneling.
Flipflop is engineered to eliminate critical operational friction in open source alternatives. From an architectural standpoint, the system adopts a local-first, self-contained deployment posture, ensuring streamlined onboarding and minimal setup overhead.
Because the underlying code is fully open-source, engineering teams can audit security implementations, inspect telemetry vectors, and extend functionality via custom fork without risk of sudden vendor deprecation.
Flipflop is a high-performance, peer-to-peer file sharing and persistent tunneling utility engineered in Rust by developer andunieee, built directly on top of the Iroh networking protocol (`n0-computer/iroh`). Rather than routing data through centralized cloud relays or depending on fragile WebRTC handshakes, Flipflop establishes direct point-to-point connections over QUIC using UDP hole-punching mechanisms. Node identities are rooted in Ed25519 cryptographic public key pairs generated locally upon initialization, eliminating usernames, passwords, and central authentication directories. Connection negotiation is facilitated via serialized connection tickets that bundle node public keys, direct socket addresses, and DERP (Designated Encrypted Relay for Packets) fallback endpoints. The core execution loop runs on the asynchronous Tokio runtime, coordinating zero-copy chunked file reads from disk and pipelining encrypted byte streams across QUIC sockets. Data integrity and content addressing are guaranteed using BLAKE3 cryptographic hashes, with chunks verified iteratively during transit to prevent corrupt payloads. Tunnels remain persistent: endpoints continuously monitor keepalive packets and seamlessly migrate across IP address changes or network interface transitions (such as switching from Wi-Fi to cellular) without terminating active file streams or requiring tunnel re-establishment during long-running background transfers.
Developer ergonomics in Flipflop emphasize terminal simplicity, Unix composability, and frictionless peer pairing. Packaged as a standalone Rust binary easily installed via Cargo (`cargo install flipflop`), it requires zero external daemons or system service configurations. Initiating a transfer is straightforward: running `flipflop share <filepath>` starts a listening endpoint and outputs a compact base32 connection ticket alongside an interactive terminal QR code for mobile pairing. Receiving peers connect using `flipflop receive <ticket>`, establishing an encrypted QUIC tunnel in milliseconds. The CLI provides a rich terminal user interface (TUI) powered by Ratatui, displaying real-time transfer progress bars, chunk verification states, peer round-trip latency (RTT), and active transport modes (direct UDP hole-punched socket versus DERP relay fallback). For ad-hoc collaboration with non-technical peers or temporary guest devices, Flipflop includes an integrated ephemeral HTTP server, allowing local browser clients to download shared files over local Wi-Fi without installing the CLI binary. Error reporting is explicit and actionable, surfacing firewall traversal impediments, NAT hole-punching failures, and file permission errors directly in terminal output with verbose tracing flags (`RUST_LOG=flipflop=debug`) for rapid operational debugging across varied networks.
Distributed under the permissive open-source MIT and Apache 2.0 licenses, Flipflop delivers an outstanding Total Cost of Ownership posture for engineering teams and individual developers. Commercial tunneling and file-sharing alternatives (such as Ngrok, Dropbox, WeTransfer, or commercial Tailscale tiers) levy per-user monthly subscriptions ranging from $10 to $30 per month while imposing restrictive bandwidth caps, file size limits, and concurrent tunnel quotas. With Flipflop, operational cloud costs are effectively zero ($0): because data transfers flow directly between peer endpoints over local networks or direct UDP punch tunnels, cloud egress fees and storage hosting bills are completely avoided. In scenarios where strict symmetric NAT configurations require relay traversal, public community DERP nodes can be utilized, or teams can self-host a dedicated lightweight Iroh relay on a $5/month VPS. Compute overhead is negligible: the compiled Rust binary consumes between 15MB and 35MB of resident memory and near-zero idle CPU cycles, running smoothly on low-power single-board computers like Raspberry Pi or remote headless CI/CD worker nodes. This frictionless operational cost structure empowers individual engineers to maintain persistent peer channels without incurring cloud infrastructure invoices.
Flipflop achieves a decisive production readiness verdict for software engineers, systems administrators, and DevOps practitioners requiring fast, secure, peer-to-peer file transport without reliance on commercial cloud middlemen. It is ideally suited for sharing large build artifacts, database dumps, container images, and debugging logs directly between development workstations and remote test nodes behind restrictive home or office routers. However, enterprise platform teams should exercise caution before deploying Flipflop within highly regulated corporate perimeters: because Flipflop bypasses centralized firewall inspections through aggressive UDP hole punching and end-to-end encryption, it can conflict with strict enterprise Data Loss Prevention (DLP) policies and compliance audit logging mandates. Failure modes in production primarily occur in environments with strict symmetric NATs or corporate enterprise firewalls that block all outbound UDP traffic; in such topologies, performance degrades if fallback relays are congested or blocked. Deployment in Docker environments requires exposing UDP ports or configuring host networking mode for seamless hole punching. System architects evaluating peer-to-peer data synchronization across edge nodes will find Flipflop to be an elegant, dependable foundation that radically streamlines developer data workflows. By eliminating third-party intermediaries and operational bandwidth limits, Flipflop equips engineering teams with a robust, self-reliant data pipeline that excels in ad-hoc terminal environments.
Flipflop is 100% free and open-source under an open software license. There are no mandatory monthly subscription fees to access the source code or run it locally.
Unlike Ngrok which routes traffic through centralized commercial servers, Flipflop utilizes direct P2P connections via Iroh for enhanced privacy and no intermediary bottlenecks.
Yes. Flipflop is designed for self-hosting via Docker or direct server deployment. Running on your own infrastructure allows you to maintain direct control over your local compute, database storage, and operational environment.
No account creation or credit card is required to evaluate Flipflop. You can immediately access core features or run it locally without onboarding friction.
You can launch or test Flipflop quickly using the following command: cargo install flipflop Visit the official portal at https://github.com/andunieee/flipflop for documentation and guides.
ToolsRadar maintains strict editorial independence. This review of Flipflop was conducted using our standardized 5-pillar evaluation framework (Setup, Code Auditability, Maintenance Vitality, Cost Advantage, and Community Signal). We do not accept paid placements to inflate benchmark scores.
Maintainers of Flipflop and community advocates can display this real-time verification badge in your GitHub README, official documentation, or landing page.
[](https://lordorange.top/tool/flipflop)<a href="https://lordorange.top/tool/flipflop" target="_blank"><img src="https://lordorange.top/badge/flipflop.svg" alt="Featured on ToolsRadar" /></a>Compare other trending developer tools and open-source projects in this space.
Cross-referenced architectural playbooks and category rankings featuring Flipflop.
High-signal, production-tested utilities with transparent codebases and active communities.
Take back data ownership by replacing expensive monthly cloud subscriptions with self-hosted software.
The definitive guide to escaping SaaS subscription sprawl with Coolify, Traefik, Tailscale, and automated S3 backup pipelines.
Replace sluggish 1970s Unix utilities with blisteringly fast, memory-safe Rust and Go modern CLI powerhouses.