- Download the latest release here
- Extract it to your preferred location
- Create a TOML configuration file for your application (see examples below)
- Install your service:
WinLet.exe install --config your-app.toml - Start your service:
WinLet.exe start --name your-service-name
Note: WinLet automatically handles UAC elevation when needed for service operations.
# Check status
WinLet.exe status --name my-web-app
# View logs
WinLet.exe logs --name my-web-app
# Stop service
WinLet.exe stop --name my-web-app
# Uninstall service
WinLet.exe uninstall --name my-web-appNode.js Web Server:
[service]
name = "my-web-app"
display_name = "My Web Application"
[process]
executable = "node"
arguments = "server.js"
working_directory = "C:\\Apps\\MyWebApp"
[process.environment]
NODE_ENV = "production"
PORT = "3000"
[logging]
log_path = "C:\\Logs\\MyWebApp"
[restart]
policy = "OnFailure"
max_attempts = 3Python Script:
[service]
name = "data-processor"
display_name = "Data Processing Service"
[process]
executable = "python"
arguments = "processor.py"
working_directory = "C:\\Scripts\\DataProcessor"
[logging]
log_path = "C:\\Logs\\DataProcessor"Complete Configuration Guide - Docs covering all configuration options including log rotation, service accounts, health checks, and other logging features.
WinLet creates logs in your configured log_path:
service-name.out.log- Application stdout with timestampsservice-name.err.log- Application stderr with timestampswinlet.log- Service management events
WinLet can automatically generate crash dumps when applications fail:
- Mini dumps with stack traces and module information
- Full memory dumps for comprehensive debugging
- Automatic cleanup based on age and count limits
- Compression support to save disk space ´
Configuration example:
[crash_dump]
enabled = true
dump_path = "C:\\Logs\\CrashDumps"
type = "Custom" # MiniDump, MiniDumpWithData, FullDump, Custom
max_dump_files = 5 # Keep recent dumps
compress_dumps = true # Save space✅ Any executable as Windows Service
✅ Auto-restart policies
✅ Logging Management
✅ Crash dump generation
✅ Handle Env Variables
✅ UAC elevation handling
✅ TOML configuration
- Windows 10/Server 2016+
- .NET 8.0 SDK
- Administrator privileges (for service operations)
git clone https://github.com/ptfpinho23/WinLet.git
cd WinLet
.\build.ps1
# Clean build artifacts
.\clean.ps1- Windows 10/Server 2016+
- Administrator privileges (for service operations)
🚧 Planned Features:
- Prometheus scrapable metrics (CPU, memory, restarts, uptime)
- Windows Performance Counters integration
- Structured logging with JSON output
- Health check endpoints
- Plugin system for custom rules and hooks
- Auto-discovery of common application types
- Template-based configuration generation
- Hot-reload configuration changes
- Bulk service operations (start/stop multiple services)
- Service dependency management
- Rolling updates and blue-green deployments
- Backup and restore service configurations
- Web dashboard for service management
- PowerShell module with cmdlets
- VS Code extension for config editing
- Automatic log rotation and cleanup
- Add support for gMSA ACs
- Crash dump gen
- Registry Configs
MIT License