Skip to content
المشاريع

حول

Open-source AirDrop alternative for Windows, macOS, Android, iOS & Linux. Zero-install local Wi-Fi file transfer, 10GB+ folder beaming, and live clipboard sync.

الإنتاجية والأتمتة

كيف تُقاس هذه الأرقام

177 نجمة10 التفرعات +3 خلال 24 ساعة

النمو المقاس للنجوم

خلال 24 ساعة
+٣
خلال 7 أيام
+٥٥
خلال 15 يومًا
+١١١
خلال شهر
جارٍ جمع السجل

تغيّر صافي النجوم خلال فترات متداخلة، وليس مجموعًا يوميًا. تبقى القياسات المفقودة فارغة. النجوم تقيس الاهتمام لا جودة البرمجيات.

README.md

الأصل

AirBridge: Open-Source AirDrop Alternative & Multi-Device Continuity Bridge

AirBridge Open-Source AirDrop Alternative App Icon

High-Speed Local Wi-Fi File Transfer & Clipboard Sync for Windows, macOS, Android, iOS, and Linux

Zero client app installation • Direct gigabit LAN file transfer (10GB+) • Office Wi-Fi PIN security • Live clipboard sync • Cross-platform AirDrop alternative

License: Apache 2.0 Platform TypeScript React TailwindCSS


AirBridge Zero-Install Setup Pipeline: 01 Start on Laptop -> 02 Scan QR on Phone -> 03 Beam & Sync Instantly

Dark Mode (Dynamic Island & Center Stage) Light Mode (Adaptive Dynamic Island)
AirBridge Dark Mode UI showing Dynamic Island and local Wi-Fi file dropzone AirBridge Light Mode UI showing adaptive Dynamic Island and file vault
Dynamic Island (Room Limits & Controls) Office Wi-Fi Security & PIN Shield
AirBridge Expanded Dynamic Island with room capacity limits and permissions AirBridge Office Wi-Fi Security Shield and 4-digit Room PIN modal
Direct LAN Peer Chat
AirBridge Direct LAN Peer Chat between macOS, Windows, and Android

Overview

In modern office and home environments, teams often work across diverse operating systems: Windows desktop PCs, MacBooks, Android devices, iPhones, and Linux workstations. Transferring large nested folders, sharing code archives, or copying text across devices usually means uploading to slow cloud storage, sending files via chat apps, or struggling with proprietary AirDrop limitations that exclude Windows and Android.

AirBridge solves this friction. It runs a native host daemon on Windows, macOS, or Linux, and connects all local devices over high-speed local Wi-Fi or Ethernet. Devices connect instantly via browser without installing native client apps.

  • Cross-Platform Mesh: Seamlessly transfer files and text between Windows PCs, MacBooks, Android smartphones, iPhones, and Linux systems.
  • Zero Client App Installation: Any smartphone, tablet, or desktop connects instantly by scanning a QR code or visiting the local LAN address.
  • High-Speed Local LAN Transfer: Files stream directly over local gigabit Wi-Fi or Ethernet at wire speed (50 to 100+ MB/s), completely bypassing cloud quotas and external bandwidth caps.
  • Office Room PIN Security: In shared office Wi-Fi networks where multiple computers and guests share the same subnet, an optional 4-digit Room PIN ensures only authorized team members can access the shared vault.
  • Full Recursive Folder Beaming: Drag and drop nested directories (1,000+ files) with full folder hierarchies preserved on disk.
  • Native File Manager Integration: Reveal beamed files directly in Windows File Explorer (explorer.exe /select,), macOS Finder (open -R), or Linux file managers.
  • 100% Private & Direct: All traffic remains strictly within your local network. Zero cloud relays, zero third-party telemetry.
  • Always-On Background Service: Includes Windows autostart service (install-service-windows.bat) and macOS launchd daemon (install-service.sh) consuming under 25MB RAM.

Core Capabilities

1. Multi-Device LAN File & Folder Sharing

  • Recursive Folder Engine: Preserves complete directory trees during upload and download.
  • Large File Streaming: Resumable chunked pipeline reliably beams multi-gigabyte video archives and ISO images up to 10GB+.
  • Vault Archive & Bulk Deletion: Grid and list views with file previews, on-demand ZIP archive compilation, single-file downloads, and multi-file bulk deletion with select-all bar.
  • Native OS Reveal: Click Explorer on Windows or Finder on macOS to highlight files directly in their folder.

2. Dynamic Island Hub, Room Limits & Full Customization

  • Theme-Adaptive Floating Dynamic Island: Smoothly switches between a crisp frosted white capsule in Light Mode and deep obsidian in Dark Mode, expanding into a tabbed control hub (Overview, Room & Limit, Customize) and showing live upload progress and toast notifications.
  • Customizable Room Capacity: Hosts can rename the room, set an exact people limit (Unlimited or 1 to 100 participants) enforced over WebSocket and HTTP, kick devices, and toggle room-wide File Uploads, Clipboard Sync, or Peer Chat permissions in real time.
  • UI Personalization: Live accent color switcher, Light/Dark mode, confetti toggle, alert sound mute, drop-zone density, and a Cmd+K / Ctrl+K Command Palette.

3. Office Wi-Fi Security, Room PIN & Host Approval Whitelist

  • Subnet Privacy: Protects your shared files and clipboard from unauthorized devices on shared office or co-working Wi-Fi networks.
  • 4-Digit Room PIN & HMAC Sessions: Constant-time PIN verification (crypto.timingSafeEqual) with cryptographic HMAC-signed session cookies (httpOnly, sameSite=strict) and per-boot host secret validation.
  • Host Approval Whitelist & Targeted Peer Sharing: Restrict access to manually approved colleagues, isolate individual file transfers to selected peers with download quotas/expiry, and prevent device-ID spoofing across LAN IPs.
  • Progressive Brute-Force Rate Limiting: Exponential lockout on PIN and WebSocket upgrade endpoints mitigates automated subnet probing.

4. Universal Live Clipboard, Peer Chat & Quick Look

  • Instant Clipboard Sync: Text, URLs, code snippets, or tokens copied on any connected device sync immediately via WebSockets.
  • Direct LAN Peer Chat: Focused messaging stream with peer online status, Ring/Ping controls, copyable snippets, and remote URL link cards.
  • Quick Look Previews: In-browser preview modal for images (with zoom), video, audio, PDFs, and source code/text files, plus sandboxed raw file headers (nosniff, sandbox CSP for HTML/SVG).

5. Hardware Remote Tools

  • Find My Phone: Trigger haptic vibration patterns on connected Android devices.
  • Host Ping Alert: Send an acoustic chime to your host computer (using Windows console tone or macOS alert).
  • Battery Telemetry: Real-time host battery reporting via Windows CIM (Win32_Battery) and macOS pmset.

Mobile Experience (Android & iOS)

Mobile Dark Mode Mobile Light Mode
Mobile Dark View Mobile Light View

Getting Started

System Requirements

  • Host Operating System: Windows 10/11 (64-bit), macOS 12+ (Apple Silicon or Intel), or Linux (Ubuntu, Debian, Fedora, Arch).
  • Node.js: v18.0 or newer.
  • Network: All devices connected to the same local Wi-Fi router, office LAN switch, or mobile hotspot.

Step 1: Installation

# Clone the repository
git clone https://github.com/ursishant/airbridge.git
cd airbridge

# Install dependencies and build production frontend
npm run setup

Step 2: Running AirBridge

On Windows

Option A: 24/7 Background Service (Recommended)

install-service-windows.bat
  • Automatically registers AirBridge in the Windows Startup folder.
  • Runs silently in the background consuming under 25MB RAM.
  • To uninstall: run uninstall-service-windows.bat.

Option B: Interactive Launcher (Command Prompt or PowerShell)

start.bat

Or with PowerShell:

.\start.ps1

On macOS & Linux

Option A: 24/7 Background Daemon (macOS)

./install-service.sh
  • Runs via native macOS launchd.
  • To uninstall: run ./uninstall-service.sh.

Option B: Interactive Launcher

./start.sh

Or directly:

npm start

Step 3: Pairing Devices in the Office

  1. On your host computer, open http://localhost:5050 and view the pairing QR code.
  2. Scan the QR code with any mobile camera (Android Camera, Google Lens, or iOS Camera).
  3. For other office laptops or desktop PCs, enter the host computer's displayed LAN IP (e.g., http://192.168.1.X:5050) in any modern web browser.
  4. If Office Room PIN protection is active, peers enter the 4-digit PIN (or join automatically via the camera QR scan).

How to Uninstall

If you ever wish to stop or completely remove AirBridge from your system:

1. Stop & Remove Background Auto-Start Service

  • On macOS:

    ./uninstall-service.sh
    

    Stops the background daemon, unloads launchd, removes ~/Library/LaunchAgents/com.airbridge.server.plist, and frees port 5050.

  • On Windows:

    uninstall-service-windows.bat
    

    Removes the startup task from %APPDATA%\Microsoft\Windows\Start Menu\Programs\Startup and stops the background process.

  • On Linux / Terminal Mode: If running interactively (./start.sh or npm start), press Ctrl + C in your terminal.

2. Remove Repository & Saved Data (Optional)

  • To remove the cloned project directory:
    rm -rf airbridge
    
  • To remove received files from disk:
    • macOS / Linux: rm -rf ~/Downloads/AirBridge
    • Windows: Delete the AirBridge folder in your Downloads directory.

File Storage Locations

  • Windows: %USERPROFILE%\Downloads\AirBridge (or fallback to ./uploads)
  • macOS: ~/Downloads/AirBridge
  • Linux: ~/Downloads/AirBridge

System Architecture

+-------------------------------------------------------------------+
|                        Local Wi-Fi / LAN                          |
+-------------------------------------------------------------------+
        |                          |                         |
        v                          v                         v
+------------------+      +------------------+      +------------------+
|   Windows PC     |      |    MacBook       |      | Android / iPhone |
|  Host or Client  |      |  Host or Client  |      |   Mobile Client  |
|  (File Explorer) |      | (macOS Finder)   |      |  (Chrome/Safari) |
+------------------+      +------------------+      +------------------+
        |                          |                         |
        +--------------------------+-------------------------+
                                   |
                                   v
        +----------------------------------------------------+
        |            AirBridge High-Speed Core               |
        |  - Express / Node.js Engine                        |
        |  - Multi-Client WebSocket Mesh (Up to 50 Peers)    |
        |  - Resumable Chunked Streamer (10GB+ files)        |
        |  - Office Room PIN Authorization Gate              |
        |  - Native OS Explorer / Finder Integration         |
        +----------------------------------------------------+
  • Frontend: React 19, TypeScript, Tailwind CSS, Framer Motion, Lucide Icons.
  • Backend: Node.js, Express, WebSocket (ws), Multer, Archiver.
  • Security: Rate limiting, CWE-22 strict path containment, argument array process execution.

Security Model

  1. Subnet-Level Isolation: Direct peer-to-peer traffic stays on the local network without routing through public cloud servers.
  2. Office Room PIN & Approval Gate: Prevents unauthorized devices on shared office subnets from viewing, downloading, or uploading files, backed by constant-time PIN checks and HMAC-signed httpOnly session cookies.
  3. Cross-Site WebSocket Hijacking (CSWSH) & Spoofing Defense: WebSocket upgrades enforce strict origin validation, block untrusted browser origins, reject forged system broadcast events, and bind device IDs to client IPs even when offline.
  4. Path Traversal Containment: All file operations validate that resolved paths strictly start with the designated uploads directory boundary (CWE-22).
  5. Shell Injection Prevention: All system process invocations (explorer.exe, open, xdg-open, rundll32.exe) use isolated argument arrays without shell interpolation.
  6. Brute-Force Rate Limiting: Exponential lockout on PIN and WebSocket upgrade endpoints mitigates automated subnet guessing attacks.

Comparison: AirBridge vs. AirDrop vs. Cloud Storage

Feature AirBridge (Self-Hosted) Apple AirDrop Cloud Storage (Drive / Dropbox)
Cross-Platform Support Windows, macOS, Android, iOS, Linux Apple devices only All platforms
Client App Required None (instant browser & QR code) Built-in (Apple only) App or login required
Works Offline (No Internet) Yes (100% local Wi-Fi / LAN) Yes (peer-to-peer) No (requires internet upload)
Transfer Speed Gigabit LAN speed (50 to 100+ MB/s) Fast Wi-Fi Direct Limited by internet upload speed
Folder Hierarchy Preservation Yes (1,000+ nested files) Flattened or zipped Yes (after cloud sync)
Shared Office Wi-Fi PIN Lock Yes (4-digit PIN + Host Approval) Contacts / Everyone only Account-based
Live Clipboard Sync & Peer Chat Yes (real-time WebSocket) Universal Clipboard (Apple only) No

Frequently Asked Questions (FAQ)

How do I transfer files between MacBook, Windows, and Android without cables?

Start AirBridge on your Mac, Windows PC, or Linux host (npm start), then scan the displayed QR code with your Android phone, iPhone, or open the local LAN URL in any browser. Drag and drop files or folders to transfer immediately over Wi-Fi.

Does AirBridge work without an internet connection?

Yes. AirBridge operates 100% locally over your Wi-Fi router, office LAN switch, or mobile hotspot. No files ever leave your local network or touch external cloud servers.

What is the maximum file size AirBridge supports?

AirBridge uses a resumable parallel chunked streaming pipeline supporting individual files and nested directories up to 10GB+ without browser memory crashes.

Is AirBridge safe to use on shared office or co-working Wi-Fi?

Yes. Enable Office Room Protection from the Dynamic Island header to require a 4-digit Room PIN and optional Host Approval before any peer on the same Wi-Fi subnet can access files, chat, or clipboard history.


Keyboard Shortcuts

Key Function
Cmd + K / Ctrl + K Open Command Palette
Enter Send message in Peer Chat
Escape Close active modal or collapse Dynamic Island
Ctrl + Enter / Cmd + Enter Sync clipboard text

Contributing

Contributions and feedback are welcome:

  1. Fork the repository
  2. Create your feature branch (git checkout -b feature/improvement)
  3. Commit your changes (git commit -m 'feat: improve folder streaming')
  4. Push to the branch (git push origin feature/improvement)
  5. Open a Pull Request

License

Distributed under the Apache-2.0 License. See LICENSE for details.

استكشف مشاريع مشابهة ومرتبطة

جارٍ التحميل…