Mobile & Desktop App Hub · PWA + Native iOS
Deploy SkySentry on phones, tablets, and tower workstations
Install the standalone Progressive Web App for instant home-screen launch and offline shell resilience, pair a mobile field camera via QR code, or build the zero-dependency native SwiftUI iPhone uploader (ATHARV/ios/SkySentryCam). SkySentry is an advisory monitoring prototype—only the server detector sets live tower risk, and optional Local AI Model reviews remain strictly advisory.
Installable Web App
Standalone PWA Shell
Standalone active
Installs directly to your dock or home screen with full-bleed monochrome chrome, app shortcuts to Camera Station and Tower Dashboard, and a strict static-shell Service Worker that never caches live /api/*, /socket.io/*, or authenticated traffic.
Checking browser installation support…
Install on iPhone or iPad (Safari):
- Tap the Safari Share icon in the address or bottom toolbar (Share → Add to Home Screen).
- Choose Add to Home Screen from the sheet.
- Tap Add to launch SkySentry in standalone full-screen mode.
Field Camera Onboarding
Instant QR Camera Pairing
HTTPS · No secrets in QR
Point a phone camera at this QR code to open the Camera Station directly. Camera credentials and Clerk sign-in stay on the device and are never embedded in the URL.
/camera.html
Role Launchpad
Choose your station or browser sandbox
Live airport monitoring separates camera capture from tower supervision; recorded demos and the Local AI Model sandbox run locally without triggering live alerts.
Field Capture
Camera Station
Stream 640 px rear-camera frames from any phone or laptop to the server detector, calibrate compass heading & FOV, or preview synthetic sky scenarios locally.
Launch Camera Station →
Operations Supervision
Tower Dashboard
View server-assigned advisory risk, multi-camera HUD overlays, majority-acknowledged alert receipts, coverage cones, and opt-in Local AI Model crop verification.
Open Tower Dashboard →
Browser Evaluation
Local AI Model Sandbox
Inspect browser-side wingbeat kinematics, synthetic flock trajectories, and the Local AI Model classifier on curated footage without touching live airport channels.
Explore Local AI Sandbox →
Native iPhone App · ATHARV/ios/SkySentryCam
Native iOS SkySentryCam Architecture & Xcode Guide
Built exclusively with SwiftUI, AVFoundation, CoreImage, Security, and URLSession (iOS 17+, bundle ID com.skysentry.camera)—zero third-party Swift packages, builds completely offline.
StreamController.swift
Single-Flight 15 fps Uploader
Captures 1280×720 rear-camera frames, scales long edge to 640 px (JPEG quality 0.6) off the main thread, and enforces at most 1 HTTP upload in flight so slow cellular links shed rate instead of adding latency.
Settings.swift · Keychain
Hardware Keychain Security
Migrates legacy defaults and stores both api-key and persistent UUID device-id in the iOS Keychain under kSecAttrAccessibleWhenUnlockedThisDeviceOnly—never synced to iCloud or backups.
SkyAPI.swift · Ephemeral TLS
Airport-Bound Ingress
Uses URLSessionConfiguration.ephemeral (zero disk cache) posting to /api/camera-config, /api/camera-frame, and /api/camera-stop with x-api-key, x-airport, x-camera-device, and x-camera-source: live.
OverlayView.swift · Fail-Closed
Server-Authoritative HUD
Renders surveyed terracotta corridor masks, bird/drone/unknown tracks, and flock ETAs across Fill and Fit modes—and automatically expires annotations via remaining_ms if fresh server results stop.
Build & run in Xcode or Simulator (ATHARV/ios)
Open ATHARV/ios/SkySentryCam.xcodeproj in Xcode 16+, choose the SkySentryCam scheme, and run on an iPhone or Simulator. In Simulator (no rear camera), select Demo sky—synthetic previews never upload to the live server or trigger tower alerts.
cd ATHARV/ios
xcodebuild -project SkySentryCam.xcodeproj -scheme SkySentryCam \
-destination 'platform=iOS Simulator,name=iPhone 17 Pro' build
# Optional launch arguments (ephemeral, never persisted to UserDefaults/Keychain):
xcrun simctl launch booted com.skysentry.camera \
-autoOpenCamera YES -autoStart YES -apiKey <key> -serverURL https://your-host.example -cameraId sim-1
Provisioning on a physical iPhone with a free Apple ID
- Connect the iPhone via USB-C/Lightning, tap Trust, and enable Settings → Privacy & Security → Developer Mode (iOS 16+).
- In Xcode, add your Apple ID under Settings → Accounts, then select target SkySentryCam → Signing & Capabilities and pick your Personal Team (adjust bundle ID if needed, e.g.
com.yourname.skysentry).
- Build & Run to the iPhone, then trust your developer certificate under Settings → General → VPN & Device Management. Free Personal Team builds refresh every 7 days.
- Use
https:// for remote deployments; iOS App Transport Security (NSAllowsLocalNetworking) permits plain http:// only on isolated LAN addresses.