# Copy this to ~/.shooter/.env (or run: shooter setup) # Only API_KEY is required — everything else is optional. # ────────────────────────────────────── # Required — server starts with just this # ────────────────────────────────────── # Shared auth key — used by the server AND hooks (export API_KEY=... in your shell) # Auto-generated by `shooter setup` — press Enter to accept the default. API_KEY=your-api-key-here # Server port (default: 54007) # PORT=54007 # ────────────────────────────────────── # Optional — iOS Push Notifications # Add later with: shooter setup --push # ────────────────────────────────────── # Apple Push Notification Service credentials # APNS_KEY="-----BEGIN PRIVATE KEY-----\nYOUR_KEY_HERE\n-----END PRIVATE KEY-----" # APNS_KEY_ID=YOUR_KEY_ID # 10-char key ID from Apple Developer portal # APNS_TEAM_ID=YOUR_TEAM_ID # 10-char team ID from Apple Developer portal # APNS_BUNDLE_ID=your.bundle.id # Must match Xcode project bundle identifier # APNS_PRODUCTION=false # Set true for TestFlight / App Store builds # Multi-device: the server now keeps a registry of all devices (each phone # registers automatically via the app / config page), and every notification # fans out to all of them. The vars below are only an optional single-device # SEED fallback for .env-only setups — leave them unset once a device has # registered. (The old SHOOTER_DEVICE_TOKEN hook var has been removed.) # Optional iOS seed token (64-char hex) — fallback target when the registry is empty # DEVICE_TOKEN=your-64-char-hex-device-token # ────────────────────────────────────── # Optional — Android Push Notifications # Add later with: shooter setup --push # ────────────────────────────────────── # Firebase Cloud Messaging credentials # FCM_PROJECT_ID= # FCM_CLIENT_EMAIL= # FCM_PRIVATE_KEY= # Target Android device token # ANDROID_DEVICE_TOKEN= # Delivery platform FILTER: "ios" or "android". Unset = fan out to BOTH # platforms (the multi-device default). Set it only to restrict delivery. # DEVICE_PLATFORM=ios