How chamroosh98/daypass works
DayPass is an OpenWrt router-management toolkit. Its documented user workflow is to install it on a router, then manage connectivity and proxy behavior: configure multiple WAN links, use Passwall and routing profiles, and manage clean Cloudflare IPs. The tree suggests distinct installer, UI, network, proxy, and system layers. No source excerpts were provided, so implementation-level calls and dispatches cannot be verified; edges below reflect only relationships stated in the README.
Main entry points: main.sh Management Menus · install_core.sh Installer · routing.sh Traffic Routing · profile_manager.sh Routing Profiles
Components 19
Installation
- Installer
installer/init/install_core.sh - Package Handling
installer/pkg/manager.sh - Architecture Support
installer/init/arch_detector.sh
Network Management
- Network Configuration
modules/network/host - Multi-WAN
modules/network/host/load_balancer.sh - USB WAN
modules/network/host/usb_wan.sh - Wi-Fi Management
modules/network/host/wifi_ap.sh - Guest Network
modules/network/guest/network.sh
Proxy and Routing
- Passwall Configuration
modules/proxy/config - Routing Profiles
modules/proxy/profile_manager.sh - Traffic Routing
modules/proxy/routing.sh - Proxy Node Selection
modules/proxy/node_balancer.sh - Clean IP Tools
modules/proxy/cloudflare - DNS Management
modules/proxy/config/config_manager.sh
Router Operations
- Service Management
modules/service/service_manager.sh - Backup and Restore
modules/system/backup_restore.sh - System Maintenance
modules/system/maintenance.sh
User Interface
- Management Menus
ui/menu/main.sh
Other components
- Router User
Connections 10
- Router User → Installer: installs
- Installer → Package Handling: installs packages
- Management Menus → Multi-WAN: manages links
- Management Menus → USB WAN: configures links
- Management Menus → Wi-Fi Management: manages Wi-Fi
- Management Menus → Guest Network: configures guest
- Management Menus → Passwall Configuration: manages Passwall
- Routing Profiles → Traffic Routing: applies profiles
- Proxy Node Selection → Traffic Routing: selects nodes
- Clean IP Tools → Router User: offers IP swapping