How xepes0/wloc works
WLOC is a community-maintained iOS network-location override tool: proxy-client modules intercept Apple’s location response and use coordinates persisted by the client. Its companion Cloudflare Worker serves a map picker, accepts shared map links for coordinate parsing, and documents client modules. The graph focuses on the web/Worker runtime and the documented interception workflow; module files are represented as a subsystem because their contents were not sampled. Relationships to those modules and external clients follow the README, not inspected module source.
Main entry points: page.js Map Picker · index.js HTTP Routes · modules Client Modules · [[route]].js Pages Adapter
Components 18
Picker Website
- Map Picker
worker/src/page.js - Browser Coordinates
worker/src/gcj-browser.js - Saved Favorites
worker/src/page.js - Place Search
worker/src/page.js - Map Link Input
worker/src/page.js
Worker API
- HTTP Routes
worker/src/index.js - Pages Adapter
worker/functions/[[route]].js - Link Parse API
worker/src/index.js - Coordinate Parser
worker/src/parse.js - Coordinate Conversion
worker/src/parse.js - Project Links
worker/src/project.js
Proxy Integration
- Client Modules
modules - HTTPS Interception
modules - Persisted Coordinates
modules
Other components
- Device User
- Proxy Client
- Apple Location Service
- Nominatim Search
Connections 22
- Device User → Map Picker: selects location
README.md - Map Picker → Browser Coordinates: converts map coordinates
worker/src/page.js - Map Picker → Saved Favorites: saves favorites
worker/src/page.js - Map Picker → Place Search: searches places
worker/src/page.js - Device User → Map Link Input: pastes map link
README.md - Map Link Input → HTTP Routes: requests parse API
worker/src/page.js - Pages Adapter → HTTP Routes: dispatches requests
worker/functions/[[route]].js - HTTP Routes → Map Picker: serves picker
worker/src/index.js - HTTP Routes → Link Parse API: routes parsing
worker/src/index.js - Link Parse API → Coordinate Parser: parses link
worker/src/index.js - Link Parse API → Coordinate Conversion: converts coordinates
worker/src/index.js - Map Picker → Project Links: uses project links
worker/src/page.js - Map Picker → Apple Location Service: requests coordinate save
worker/src/page.js - Map Picker → Nominatim Search: searches places
worker/src/page.js - Device User → Proxy Client: configures client
README.md - Proxy Client → Client Modules: loads module
README.md - Client Modules → HTTPS Interception: enables interception
README.md - Apple Location Service → HTTPS Interception: location response
README.md - HTTPS Interception → Client Modules: intercepts request
README.md - Client Modules → Persisted Coordinates: persists coordinates
README.md - Map Picker → Persisted Coordinates: reads or clears data
README.md - Proxy Client → Apple Location Service: forwards location request
README.md