How cyberhandyman/wloc-spoofer-en works
WLOC provides two ways to set a virtual network location: an online map picker or iOS Shortcuts. Coordinates are stored by the proxy module, then used to modify Apple’s later WLOC response. The Worker also serves the picker, searches places, manages browser-side favorites, and parses map links with coordinate conversion. Proxy-platform adapters and script behavior are documented in the README; their source was not sampled, so those relationships rely on that documentation.
Main entry points: page.js Map picker UI · modules Proxy platform modules · index.js HTTP routes · parse.js Map link parser
Components 15
Location picker
- Map picker UI
worker/src/page.js - Saved favorites
worker/src/page.js - Place search
worker/src/page.js
Worker services
- HTTP routes
worker/src/index.js - Pages adapter
worker/functions/[[route]].js - Map link parser
worker/src/parse.js
Proxy integration
- Proxy platform modules
modules - Settings handler
dist/wloc-settings.js - WLOC response patch
dist/wloc.js - Proxy persistent store
Apple location
- Apple WLOC service
Other components
- User
- iOS Shortcuts
- Map link hosts
- Nominatim
Connections 17
- User → Map picker UI: chooses location
README.md - User → iOS Shortcuts: shares map link
README.md - iOS Shortcuts → HTTP routes: requests parsing
README.md - HTTP routes → Map picker UI: serves page
worker/src/index.js - HTTP routes → Map link parser: parses coordinates
worker/src/index.js - Pages adapter → HTTP routes: dispatches requests
worker/functions/[[route]].js - Map picker UI → Saved favorites: reads and writes
worker/src/page.js - Map picker UI → Place search: searches places
worker/src/page.js - Place search → Nominatim: queries
worker/src/page.js - Map link parser → Map link hosts: follows redirects
worker/src/parse.js - Map picker UI → Proxy platform modules: sends coordinates
README.md - Proxy platform modules → Settings handler: routes save request
README.md - Proxy platform modules → WLOC response patch: routes WLOC response
README.md - Settings handler → Proxy persistent store: writes coordinates
README.md - WLOC response patch → Proxy persistent store: reads coordinates
README.md - Apple WLOC service → Proxy platform modules: sends location response
README.md - Proxy platform modules → Apple WLOC service: returns patched response
README.md