How joestataka/frptunnel works
FrpTunnel is an Android client for launching an embedded frp-panel binary. The main workflow is: paste a command, normalize and validate its arguments, start the foreground service, and view live process output and tunnel status. The README documents the embedded arm64 binary and its connection to the remote frp service; implementation details beyond the sampled files are not inferred.
Main entry points: MainActivity.kt Tunnel screen · TunnelService.kt Foreground service · TunnelState.kt Tunnel state · Color.kt Compose theme
Components 8
App interface
- Tunnel screen
app/src/main/java/io/github/joestataka/frptunnel/MainActivity.kt - Compose theme
app/src/main/java/io/github/joestataka/frptunnel/ui/theme/Color.kt
Tunnel control
- Command parser
app/src/main/java/io/github/joestataka/frptunnel/CommandParser.kt - Tunnel state
app/src/main/java/io/github/joestataka/frptunnel/TunnelState.kt
Tunnel runtime
- Foreground service
app/src/main/java/io/github/joestataka/frptunnel/TunnelService.kt - frp-panel binary
Other components
- User
- frp server
Connections 8
- User → Tunnel screen: enters command
app/src/main/java/io/github/joestataka/frptunnel/MainActivity.kt - Tunnel screen → Compose theme: applies
app/src/main/java/io/github/joestataka/frptunnel/MainActivity.kt - Tunnel screen → Command parser: parses input
app/src/main/java/io/github/joestataka/frptunnel/MainActivity.kt - Tunnel screen → Foreground service: starts or stops
app/src/main/java/io/github/joestataka/frptunnel/MainActivity.kt - Tunnel screen → Tunnel state: observes and clears
app/src/main/java/io/github/joestataka/frptunnel/MainActivity.kt - Foreground service → frp-panel binary: launches process
app/src/main/java/io/github/joestataka/frptunnel/TunnelService.kt - Foreground service → Tunnel state: writes status and logs
app/src/main/java/io/github/joestataka/frptunnel/TunnelService.kt - frp-panel binary → frp server: connects for tunneling
README.md