LANxfer2.0
Offline-first, cross-platform LAN file sharing with native tray app, zero internet dependency, and AirDrop-like UX for teams.
LANxfer 2.0: The Ultimate Offline-First, Encrypted P2P Dashboard
Tech-Noir UX meets Enterprise-Grade Security.
The Problem
Transferring files across devices on the same local network is surprisingly broken. Cloud services like Google Drive compress files, limit sizes, and completely fail without internet. Browser-based P2P tools (WebRTC) fail silently behind corporate NAT/firewalls. Apple's AirDrop is incredible but platform-locked. Solutions like USB drives are cumbersome. There is no open-source, cross-platform, offline-native tool with a premium, seamless desktop UX... until LANxfer 2.0.
The Solution
LANxfer 2.0 brings enterprise-grade security and robust networking into a breathtaking Tech-Noir interface. It is a high-performance file transfer engine wrapped in a stunning glassmorphic dashboard that prioritizes privacy, speed, and ease of use.
Key Features
1. Enterprise-Grade Security and P2P
Zero Configuration Discovery: Peers appear automatically via mDNS/Zeroconf. No manual IP entry required. Ever.
Per-Session ECDH Key Exchange: Generates a fresh session key per transfer using Elliptic Curve Diffie-Hellman (SECP256R1). Zero static secrets.
Military-Grade Encryption: AES-256-GCM authenticated encryption ensures integrity and confidentiality per chunk.
Device Fingerprinting: Uses a SHA-256 trust-on-first-use model for verified connections.
Zero Internet Required: Works flawlessly over LAN, Wi-Fi Direct, Mobile Hotspot, or Tethering.
2. Next-Gen Transfer Engine
Delta Sync (librsync): Re-sending a modified file only transmits the changed bytes, achieving up to 100x bandwidth savings.
Resumable Chunking: Files are sent in SHA-256 verified 4MB chunks. If disconnected, it auto-resumes from the exact skipped offset upon reconnection.
Real-Time Visualizations: Live transfer speed, delta savings charts (Chart.js), and exact chunk progression mapping.
3. Premium Tech-Noir UX
Glassmorphism UI: Stunning grid-based dashboard, sleek dark mode, and dynamic micro-animations.
Command Palette: Press Ctrl+K globally to open a spotlight-style command search for uploads, peer discovery, and history.
Clipboard Sharing: Send copied text/URLs peer-to-peer and receive it as an OS notification toast with a 1-click apply.
Mobile-Ready via QR: Scan a QR code on desktop to join the secure file swarm from a phone browser—no app installation required.
Architecture and How It Works
LANxfer 2.0 uses a hybrid architecture. The robust transfer engine, encryption, and mDNS discovery run as a Python background service (Flask + SocketIO), while the frontend is a native Electron wrapper running a Vanilla JS/CSS web app.
Delta Sync Flow
Instead of resending a 1GB file for a small change:
Sender checks if the receiver has a file with a specific hash.
Server computes rolling checksums and generates a diff signature.
Only the new encoded delta changes are transmitted.
Server reconstructs the exact file locally.
Tech Stack
Desktop Shell: Electron 33, electron-builder
Transfer Engine: Python 3.9+, Flask, Flask-SocketIO, Eventlet
Frontend UI: Vanilla JS, HTML5, CSS3, Chart.js
Peer Discovery: python-zeroconf (mDNS / Bonjour)
Cryptography: cryptography (AES-256-GCM + SECP256R1 ECDH), pycryptodome
Delta Sync: librsync (delta.py implementation)
Database: SQLite3 (Persistent Audit Log and Transfer State)
Installation and Running
Option 1: Standalone Installer (Recommended)
Requires Python 3.9+ installed on your machine. The entire Python backend, virtual environment, and UI are fully bundled into a single standalone .exe.
Go to the GitHub Releases tab.
Download the latest LANxfer-Setup-2.0.0.exe.
Run the installer and launch.
Option 2: Build From Source
Clone the repository and navigate to the directory. Create and activate a Python virtual environment, then install requirements.txt. Install node dependencies with npm. Note that SSL certificates are auto-generated by the Python backend on first launch using the cryptography library. Run the development server with "npm run dev" or build the optimized installer using "npm run build:win".
Usage
Launch the app to start the local server wrapped in the Electron UI. Other LANxfer instances on the network will pop up under Active Peers. You can drag and drop files to start transfers or use Ctrl+K to access the Command Palette. To connect a mobile device, use the QR code feature to bridge the device into the secure swarm.