Skip to content
Projekte

Über uns

Family photo backup: your phone backs up automatically to the computer at home. No cloud, no account, open source. 家庭照片备份:手机照片自动备份到家里的电脑,无需注册账号,不上传云端,开源。

Systeme und Infrastruktur

So werden diese Zahlen gemessen

Gemessener Sternzuwachs

in 24h
0
in 7 days
Verlauf wird gesammelt
in 15 days
Verlauf wird gesammelt
in 1 month
Verlauf wird gesammelt

Nettoänderungen in überlappenden Zeiträumen, keine Tagessummen. Fehlende Messwerte bleiben leer. Sterne zeigen Interesse, nicht Qualität.

README.md

Original

P-Pass

中文版

Photo backup for families: iPhone and Android phones back up automatically to a computer in your own home, and everyone in the family can browse across devices. There is no cloud storage and no account required. Original files are the source of truth, and the index can be rebuilt from them at any time.

Roadmap & status: docs/ROADMAP.md · Website: p-pass.hawkeye-xb.com · Bluesky · YouTube

P-Pass overview: phone auto-backup, home computer desktop app, and plain original folders

Download

Platform Package / Channel Notes
macOS (Apple Silicon) P-Pass_<version>_macos-arm64.dmg Signed with Developer ID and notarized. Drag P-Pass into Applications.
Windows (64-bit) P-Pass_<version>_x64-setup.exe Not code-signed. SmartScreen shows "Windows protected your PC": choose More info -> Run anyway. See Blocked by AV / SmartScreen.
Android (8.0+) P-Pass_<version>_android.apk Signed APK. Allow installing from unknown sources when prompted.
iPhone (iOS 16+) App Store Outside mainland China: install directly from the App Store.
Mainland China: P-Pass is not listed in the mainland China App Store. Install Apple's TestFlight from the App Store, open the TestFlight invite on your iPhone, tap Accept and Install, and turn on automatic updates (each TestFlight build expires 90 days after release).

Which release should you download? The Releases page also lists two rolling development tags (dogfood and test-channel). Those are for testing builds. For everyday use, download from the latest release.

Quick Start (3 Steps)

1. Install on your computer

  1. Download the macOS .dmg or Windows .exe from the latest release above.
  2. macOS: open the .dmg and drag P-Pass into Applications. On first launch, right-click the app and choose Open if Gatekeeper prompts.
  3. Windows: run the .exe installer. Because it is not code-signed yet, SmartScreen shows a warning; choose More info -> Run anyway, then launch P-Pass from the Start menu. If antivirus software blocks the file, follow Blocked by AV / SmartScreen to verify its hash and allow it.

2. Finish the setup wizard

Open P-Pass on your computer and step through the wizard:

  1. Pick the folder on this computer where your family photos will be stored as plain original files.
  2. Start the background service so the computer stays ready to receive backups.
  3. Wait for the pairing QR code to appear on screen.

P-Pass Desktop pairing QR code modal

3. Install on your phone and scan to pair

  1. Install P-Pass on your iPhone or Android phone using the links in the Download table above.
  2. Open P-Pass on your phone and scan the QR code shown on your computer. Your phone displays a 6-digit confirmation code; type that code on the computer and click Allow.
  3. Choose which albums (and whether to start from today or include older photos) to back up.
    • Android: backups run whenever P-Pass is open. Turn on background backup from the card on the home screen to back up automatically on Wi-Fi when battery is not low.
    • iPhone: backups run while P-Pass is open; background continuation after leaving the app is scheduled by iOS.
  4. Open the app on any paired device to browse the shared family photo timeline.
Mobile photo timeline view

Need help? Most first-run issues come from Windows SmartScreen or antivirus false positives; check Blocked by AV / SmartScreen first. For anything else, open an issue on GitHub.


For Developers & AI

Every client and core library lives in this monorepo. Repository rules and contributor workflow for coding agents live in AGENTS.md and CLAUDE.md.

Monorepo layout

crates/       Rust core (Cargo workspace, 12 crates)
  proto/          Wire format: message types, JSON codec, golden snapshots
  transport/      Transport trait + iroh impl (the ONLY crate importing iroh)
  storage/        SQLite index, migrations, repositories
  core-index/     Ingest, dedup, timeline, index rebuild (pure domain logic)
  core-media/     EXIF metadata (pure parsing)
  media-codec/    HEIC/JPEG decode, thumbnails, ffmpeg frame extraction
  decode-worker/  Isolated child-process image decoder (ppf-decoder)
  pair-pake/      6-digit pairing code SPAKE2 + key confirmation
  platform/       Platform adapter trait (the ONLY crate with OS #[cfg])
  daemon/         Assembly: authz router, pairing, backup intake, queries, local IPC, local stats logging
  diag/           Diagnostic state machine, msg_key dictionary, i18n
  version-cmp/    Shared version comparison and shell/daemon relation logic
apps/         Per-platform applications (thin UI layers; core logic lives in crates)
  desktop/        Tauri desktop shell (talks to the daemon over local IPC only)
  android/        Android app (shared Rust transport core via UniFFI + generated proto types)
  ios/            iOS app (SwiftUI + shared Rust transport XCFramework via UniFFI)
infra/        Cloud & self-hosting infrastructure
  workers/        Rendezvous / update workers (Cloudflare Workers)
  relay/          Relay deployment templates (placeholders only)
  selfhost/       One-command Docker Compose for self-hosters
  review-env/     Hosted review environment config and scripts
  website/        Deployment notes for the static site
site/         Public website (Astro)
tools/        testclient (scenario CLI), arch-check, codegen scripts, release & flow gates
tests/        Cross-module failure scenarios and test vectors
docs/         Engineering docs: ROADMAP, decisions, runbooks, troubleshooting

Build & caching

  • Rust: Cargo workspace builds incrementally with a shared target/ cache; CI caches the registry and artifacts keyed on Cargo.lock.
  • Binary distribution: pushes to main build Linux/macOS binaries and update the rolling dogfood prerelease so deployment hosts can pull via gh release download dogfood without compiling.
  • Android / iOS: Gradle incremental build cache for Android (apps/android); Xcode + generated Rust XCFramework (tools/build-ios-transport-xcframework.sh) for iOS (apps/ios).
  • Task runner: just is the single entry point (just ci runs formatting, clippy, tests, and architecture checks).

Development

The JDK for local Android tooling is pinned in .java-version at the repo root (CI reads the same file). Install it on macOS with brew install openjdk@$(cat .java-version).

just ci                    # all gates (must pass before committing)
cargo nextest run          # full Rust test suite
tools/dogfood-smoke.sh     # end-to-end smoke test

On Windows: just recipes use POSIX shell, so bash must be on PATH. Git for Windows ships bash, but puts only its cmd directory on PATH by default, so plain PowerShell fails with could not find the shell bash. Run just from Git Bash, or add Git's bin directory to PATH:

$env:PATH = "C:\Program Files\Git\bin;$env:PATH"   # current session only

Run powershell -NoProfile -ExecutionPolicy Bypass -File tools\windows\env-check.ps1 to verify local setup (check the just.shell line).

Contributing

See CONTRIBUTING.md for contribution guidelines, including the required DCO sign-off on every commit. Report security vulnerabilities privately as described in SECURITY.md.

License

P-Pass is licensed under the GNU Affero General Public License v3 (AGPL-3.0). See LICENSE for the full text. All crates, the Android app, the iOS app, the desktop shell, and the website (site/) are covered. Copyright (C) 2026 Hawkeye XB.

Distribution through app stores such as Apple's App Store is covered by an additional statement from the copyright holders: see APP_STORE_EXCEPTION.md.

Ähnliche Projekte entdecken

Wird geladen…