How er-ragul/anywhere works
Anywhere is a React Native Android VPN client with WireGuard tunnel control and a hub-management interface. Users can authenticate to a hub, create or select a WireGuard configuration, connect or disconnect, and monitor traffic; hub profiles also support peer administration. The excerpts show navigation, selected persistence and native-module calls, but not all screen implementations or the native module source, so some internal relationships and capabilities are represented only where documented or directly evidenced.
Main entry points: App.js App navigation · VPN.js VPN dashboard · Connections.js Connection profiles · Authentication.js Hub authentication
Components 13
App navigation
- App navigation
App.js
VPN configuration
- VPN dashboard
src/components/VPN.js - Connection profiles
src/components/Connections.js - Configuration editor
src/components/Configuration.js - QR scanner
src/components/Qrscanner.js - WireGuard bridge
src/wireguard/WireGuardModule.js
Hub management
- Hub authentication
src/components/Authentication.js - Hub peer management
src/components/Profiles.js
Runtime state
- Redux store
src/redux/store.js - VPN metrics state
src/redux/variableSlice.js
Other components
- VPN user
- Hub service
- Device storage
Connections 17
- VPN user → App navigation: launches
- App navigation → VPN dashboard: routes to
App.js - App navigation → Connection profiles: routes to
App.js - App navigation → Configuration editor: routes to
App.js - App navigation → Hub authentication: routes to
App.js - App navigation → Hub peer management: routes to
App.js - App navigation → Redux store: provides
App.js - Redux store → VPN metrics state: uses reducer
src/redux/store.js - VPN dashboard → WireGuard bridge: calls
src/components/VPN.js - Connection profiles → WireGuard bridge: calls
src/components/Connections.js - VPN dashboard → VPN metrics state: updates metrics
src/components/VPN.js - Hub authentication → Hub service: registers with
src/components/Authentication.js - Hub peer management → Hub service: manages peers
src/components/Profiles.js - Hub authentication → Device storage: reads and writes
src/components/Authentication.js - Hub peer management → Device storage: removes credentials
src/components/Profiles.js - Connection profiles → Device storage: loads profiles
src/components/Connections.js - Configuration editor → Device storage: saves profiles
src/components/Configuration.js