|
| 1 | +# Why WebUI X? |
| 2 | + |
| 3 | +WebUI X is the next-generation framework for building modular, secure, and high-performance WebUI applications. It offers significant improvements over Legacy KernelSU WebUI, making it the ideal choice for developers. Below are the key reasons to switch: |
| 4 | + |
| 5 | +## 🚀 **Key Advantages** |
| 6 | + |
| 7 | +### 1. **Enhanced Security** |
| 8 | + - **Content Security Policy (CSP):** Restricts unsafe scripts and resources, preventing XSS attacks. |
| 9 | + - **Kill Shell:** Automatically terminates background processes to block unauthorized code execution. |
| 10 | + - **Strict Isolation:** Plugins and modules run in controlled environments, reducing vulnerabilities. |
| 11 | + |
| 12 | +### 2. **Superior Performance** |
| 13 | + - **Smart Caching:** Configurable `Cache Max Age` and resource caching improve load times. |
| 14 | + - **Optimized Rendering:** Features like `Window Resize` and `Auto Style StatusBars` ensure smooth UI adaptation. |
| 15 | + |
| 16 | +### 3. **Powerful Debugging Tools** |
| 17 | + - **Built-in Eruda Console:** Auto-injected for real-time debugging. |
| 18 | + - **Remote URL Debugging:** Test locally via `http://localhost` for faster iterations. |
| 19 | + - **Developer Mode:** Reveals module IDs and advanced metrics for troubleshooting. |
| 20 | + |
| 21 | +### 4. **Extensibility & Customization** |
| 22 | + - **Plugin Ecosystem:** Supports APK and DEX plugins (e.g., [WXU](https://github.com/MMRLApp/WXU)) for limitless functionality. |
| 23 | + - **SPA-Friendly:** `History Fallback` ensures seamless navigation in single-page apps. |
| 24 | + - **UI Control:** Customize back-button behavior, refresh interceptors, and exit confirmations. |
| 25 | + |
| 26 | +### 5. **Modern UX Features** |
| 27 | + - **Pull-to-Refresh:** User-friendly reloading (beta). |
| 28 | + - **Dynamic Theming:** Match status bars to app themes for visual consistency. |
| 29 | + |
| 30 | +### 6. **Cross-Platform Compatibility** |
| 31 | + - Works with **KernelSU (Next), SukiSU Ultra, Magisk, APatch**, and even **non-rooted devices**. |
| 32 | + |
| 33 | +## 🔍 **Comparison with Legacy KernelSU WebUI** |
| 34 | + |
| 35 | +| Feature | WebUI X | Legacy KernelSU WebUI | |
| 36 | +|------------------------|---------------------------------|-----------------------------| |
| 37 | +| **Security** | CSP, Kill Shell, Isolation | Basic sandboxing | |
| 38 | +| **Debugging** | Eruda, Remote URL | Limited dev tools | |
| 39 | +| **Plugins** | APK/DEX support | N/A | |
| 40 | +| **Performance** | Smart caching, UI optimizations | N/A | |
| 41 | +| **SPA Support** | History fallback | Manual routing | |
| 42 | + |
| 43 | +## 🛠️ **Getting Started** |
| 44 | +1. **Install WebUI X** via GitHub or Google Play Store. |
| 45 | +2. Explore your installed modules like `App Nuker` and `bindhosts`. |
| 46 | +3. Tweak settings in `Developer Mode` for advanced control. |
| 47 | + |
| 48 | +> 💡 **Tip:** Enable `Auto Open Eruda` in the settings to debug WebUIs instantly! |
| 49 | +
|
| 50 | +**Ready to upgrade?** WebUI X delivers **security, speed, and flexibility** — making it the future of Android WebUI frameworks. |
0 commit comments