Skip to content

pengu2004/bridge

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Bridge

P2P file sync between your laptop and phone over local WiFi.

Architecture

┌─────────────────────────────────────────────────────────────────────────────┐
│                              LAPTOP (macOS)                                  │
│   ┌─────────────────────────────────────────────────────────────────────┐   │
│   │                     Menu Bar App (SwiftUI)                           │   │
│   │   [🔄 Bridge]                                                        │   │
│   └─────────────────────────────────────────────────────────────────────┘   │
│   ┌─────────────────────────────────────────────────────────────────────┐   │
│   │                    Daemon Core (Swift Package)                       │   │
│   │   mDNS Advertiser | TCP Server | Sync Engine | File Watcher          │   │
│   └─────────────────────────────────────────────────────────────────────┘   │
└─────────────────────────────────────────────────────────────────────────────┘
                                     ▲
                                     │ mDNS + TCP/TLS
                                     ▼
┌─────────────────────────────────────────────────────────────────────────────┐
│                              PHONE (React Native)                           │
│   ┌─────────────────────────────────────────────────────────────────────┐   │
│   │                    Finder-Style File Browser                         │   │
│   │   File List | Grid View | Preview | Search                          │   │
│   └─────────────────────────────────────────────────────────────────────┘   │
└─────────────────────────────────────────────────────────────────────────────┘

Quick Start

Laptop Setup

cd laptop
open BridgeMenuBar/BridgeMenuBar.xcodeproj
# Build and run in Xcode

Mobile Setup

cd mobile
npm install
npx react-native start
# In another terminal:
npx react-native run-ios

Documentation

License

MIT

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors