How tranht17/wintune works
Project type and purpose
• This is a single‑process, desktop “full‑stack” tool written in AutoHotkey (WinTune.ahk) that provides a GUI for Windows system optimization, privacy tweaks, host file editing, startup management, theming, and multilingual support.
File structure
• Top‑level files:
• WinTune.ahk (entry point, command‑line parsing)
• README.md, LICENCE, .gitignore, .gitattributes
• Gui/ directory: one .ahk file per GUI module (Base, HostsEdit, Optimizer, StartupManager, Theme, etc.)
• Inc/ directory: core business logic modules (Data, CustomFn, OptimizeConfig, Optimizer, LangData)
• Lib/ directory: third‑party libraries (JSON, Gdip_All, PackageManager, SC, etc.)
• Lang/ directory: localization JSON files (de.json, en.json, …)
• Tools/ directory: developer‑and‑debug utilities (batch runner, debug script, language converter)
README for additional insights
• Confirms GUI features (system tweaks, host edit, startup manager, save/load config)
• Multilingual and theming capabilities (reads JSON files for languages and themes)
• Command‑line flags for headless operations (/SaveConfig, /LoadConfig, /User)
Elements
• WinTune.ahk → GUI modules
• GUI modules → Inc modules
• Inc modules → Lib modules
• Inc modules → Windows OS (registry, hosts file)
• Inc modules ↔ JSON files (read/write)
Detail without overthinking
• Break each major subsystem into its constituent scripts/modules
• Configuration and asset directories as first‑class components
• Both the GUI‑driven flow and the headless, CLI‑driven flow