English | 中文
The Ultimate Power Automation Tool for Windows.
A modern, lightweight Windows power management utility. Schedule shutdowns, reboots, sleep modes, and more with a beautiful Vue+Rust interface.
- 🚀 High Performance: Low resource usage powered by Rust backend.
- 🎨 Modern UI: Built with Vue 3, supports Dark Mode and elegant animations.
- 🛡️ Secure & Transparent: Native Windows API integration with safety checks.
- ⚡ Power Management: Automate Shutdown, Reboot, Sleep, Hibernate, and Lock.
- 🔄 Smart Scheduling: Flexible timer and task management system.
- Frontend: Vue 3, TypeScript, Vite
- Backend: Rust, Tauri, Windows API
- State Management: Pinia
- Testing: Vitest (Frontend), Cargo Test (Backend)
- Node.js (v18+)
- pnpm
- Rust (Latest Stable)
- Visual Studio C++ Build Tools (Windows)
# Install dependencies
pnpm install
# Start dev server (Frontend + Backend)
pnpm tauri dev# Build Windows installer (.msi, .exe)
pnpm tauri buildThis project follows TDD (Test-Driven Development) principles.
# Run frontend tests
pnpm test
# Run backend tests
cd src-tauri && cargo testwinAutoShutdown/
├── src/ # Vue Frontend Source
│ ├── components/ # UI Components
│ ├── composables/ # Composable Logic (Hooks)
│ ├── stores/ # Pinia Stores
│ └── ...
├── src-tauri/ # Rust Backend Source
│ ├── src/
│ │ ├── core/ # Core Business Logic (Timer, SystemControl)
│ │ └── ...
│ └── ...
├── docs/ # Documentation
└── ...
Issues and Pull Requests are welcome! Please follow these guidelines:
- Commit Message: Use Conventional Commits (e.g.,
feat: add timer,fix: dark mode). - Branching: Do not commit directly to
master. Usedevorfeature/*branches. - Code Style: Keep code clean, run
cargo fmtand ESLint.
MIT License