How creativestar-studio/qupeiyinbrowser works
XTC Browser is a Python HTTPS proxy/server that lets an XTC watch reach a browser-like page through the English dubbing app’s child-privacy-policy entry. The runtime sets hotspot DNS and hosts redirection, starts a TLS-wrapped server on port 443, and serves the local privacy page; shutdown restores network settings. The README also documents port-occupancy handling and automatic SSL setup, but the sampled source does not show a separate port check or certificate-generation subsystem. Relationships below are limited to the entry-point excerpt and README; frontend behavior is not sampled.
Main entry points: main.py HTTPS server · child.html Privacy page
Components 12
Network redirection
- Hotspot DNS
src/main.py - Hosts mapping
src/main.py - Local IP lookup
src/main.py - Network cleanup
src/main.py
HTTPS serving
- Runtime startup
src/main.py - HTTPS server
src/main.py - No-cache handler
src/main.py - TLS certificate
Browser content
- Privacy page
src/app/xtc/privacy/child.html
Other components
- XTC watch
- English dubbing app
- Windows networking
Connections 16
- English dubbing app → XTC watch: opens policy
README.md - Runtime startup → Hotspot DNS: configures
src/main.py - Runtime startup → Hosts mapping: configures
src/main.py - Hotspot DNS → Local IP lookup: gets address
src/main.py - Hosts mapping → Local IP lookup: gets address
src/main.py - Hotspot DNS → Windows networking: sets DNS
src/main.py - Hosts mapping → Windows networking: writes mapping
src/main.py - Runtime startup → HTTPS server: starts
src/main.py - HTTPS server → No-cache handler: uses
src/main.py - HTTPS server → TLS certificate: wraps with TLS
src/main.py - XTC watch → HTTPS server: requests page
README.md - HTTPS server → Privacy page: serves content
README.md - Runtime startup → Network cleanup: registers shutdown
src/main.py - Network cleanup → Hosts mapping: restores mapping
src/main.py - Network cleanup → Hotspot DNS: restores DNS
src/main.py - Network cleanup → HTTPS server: stops server
src/main.py