How parawanderer/opentagviewer works
OpenTagViewer is an Android app for viewing and tracking Apple Find My accessories, with a companion desktop exporter. The main app workflow is Apple sign-in, then either fetching owned accessories from iCloud or importing an export ZIP, followed by viewing current locations and accumulated history. The README also documents UI customization; the source tree shows nearby Bluetooth monitoring and a separate export wizard/CLI. Some connections below are documented capabilities rather than inspected call paths, since most implementation files were not excerpted.
Main entry points: BeaconRepository.java Beacon repository · FetchFromICloudActivity.java iCloud fetch flow · cli.py Exporter CLI · wizard.py Export wizard
Components 23
Android app
- App navigation
app/src/main/java/dev/wander/android/opentagviewer/service/AppNavigationService.java - Apple sign-in
app/src/main/java/dev/wander/android/opentagviewer/AppleLoginActivity.java - iCloud fetch flow
app/src/main/java/dev/wander/android/opentagviewer/FetchFromICloudActivity.java - ZIP import
app/src/main/java/dev/wander/android/opentagviewer/util/parse - UI settings
app/src/main/java/dev/wander/android/opentagviewer/SettingsActivity.java
Account and storage
- Python auth bridge
app/src/main/java/dev/wander/android/opentagviewer/python/PythonAuthService.java - Anisette identity
app/src/main/java/dev/wander/android/opentagviewer/anisette/LocalAnisette.java - iCloud bridge
app/src/main/java/dev/wander/android/opentagviewer/python/icloud/PythonICloudService.java - Beacon repository
app/src/main/java/dev/wander/android/opentagviewer/db/repo/BeaconRepository.java - App database
app/src/main/java/dev/wander/android/opentagviewer/db/room/OpenTagViewerDatabase.java
Tracking and history
- Location map
app/src/main/java/dev/wander/android/opentagviewer/MapsActivity.java - Location history
app/src/main/java/dev/wander/android/opentagviewer/HistoryViewActivity.java - Nearby monitoring
app/src/main/java/dev/wander/android/opentagviewer/service/NearbyScanService.java - Sighting persistence
app/src/main/java/dev/wander/android/opentagviewer/AccessorySightingPersister.java - Bluetooth scanning
app/src/main/java/dev/wander/android/opentagviewer/ble/NearbyTagWatcher.java
Desktop exporter
- Exporter CLI
python/exporter/cli.py - Export wizard
python/exporter/wizard.py - Exporter iCloud access
python/exporter/icloud.py - Exporter identity
python/exporter/identity.py - Local source
python/exporter/localsource.py - Bundle writer
python/opentagviewer_export/bundle.py
Other components
- User
- Apple iCloud
Connections 24
- User → App navigation: opens
README.md - App navigation → Apple sign-in: starts sign-in
- Apple sign-in → Python auth bridge: authenticates through
- Python auth bridge → Anisette identity: uses identity
app/src/main/java/dev/wander/android/opentagviewer/python/PythonAuthService.java - User → iCloud fetch flow: chooses iCloud
README.md - iCloud fetch flow → iCloud bridge: requests fetch
app/src/main/java/dev/wander/android/opentagviewer/python/icloud/PythonICloudService.java - iCloud bridge → Apple iCloud: fetches accessories
README.md - User → Exporter CLI: starts export
README.md - User → Export wizard: starts export
README.md - Exporter CLI → Exporter iCloud access: uses account source
python/exporter/cli.py - Export wizard → Exporter iCloud access: uses account source
python/exporter/wizard.py - Exporter iCloud access → Exporter identity: uses identity
python/exporter/icloud.py - Exporter CLI → Bundle writer: writes bundle
- Export wizard → Bundle writer: writes bundle
python/exporter/wizard.py - User → ZIP import: imports ZIP
README.md - ZIP import → Beacon repository: stores imported tags
- iCloud fetch flow → Beacon repository: stores fetched tags
- Beacon repository → App database: reads and writes
- User → Location map: views locations
README.md - User → Location history: views history
README.md - Nearby monitoring → Bluetooth scanning: watches tags
app/src/main/java/dev/wander/android/opentagviewer/service/NearbyScanService.java - Nearby monitoring → Sighting persistence: persists sightings
app/src/main/java/dev/wander/android/opentagviewer/service/NearbyScanService.java - Sighting persistence → Beacon repository: records sightings
- User → UI settings: customizes UI
README.md