A beautiful terminal-based Nginx manager built with Go and Bubble Tea.
- ✅ Check Nginx status
- 🚀 Start/Stop/Restart Nginx
- 🔄 Reload configuration
- ✅ Test configuration
- 📄 View configuration file
- 📊 View error logs
- 📈 View access logs
- 🎨 Beautiful terminal UI
- Go 1.21 or later
- Nginx installed on your system
git clone <repository-url>
cd lazynginx
go mod download
go build -o lazynginx./lazynginxOr on Windows:
lazynginx.exe↑/↓ork/j: Navigate menuEnter: Select optionqorCtrl+C: Quit application
- Check Status - Check if Nginx is running
- Start Nginx - Start the Nginx service
- Stop Nginx - Stop the Nginx service
- Restart Nginx - Restart the Nginx service
- Reload Configuration - Reload Nginx configuration without downtime
- Test Configuration - Test Nginx configuration for syntax errors
- View Configuration - Display Nginx configuration file
- View Error Logs - Show last 50 lines of error log
- View Access Logs - Show last 50 lines of access log
- Quit - Exit the application
The application automatically detects your platform and uses the appropriate commands:
- Linux: Uses
systemctlwhen available, falls back to directnginxcommands - Windows: Uses
net start/stopcommands - macOS/Unix: Uses direct
nginxcommands
Some operations (start, stop, restart, reload) may require administrator/sudo privileges depending on your system configuration.
sudo ./lazynginxRun as Administrator
The application automatically searches for Nginx in common locations:
/etc/nginx/nginx.conf(Linux)C:\nginx\conf\nginx.conf(Windows)/usr/local/nginx/conf/nginx.conf(macOS/Unix)
The application looks for logs in:
/var/log/nginx/(Linux)C:\nginx\logs\(Windows)/usr/local/nginx/logs/(macOS/Unix)
MIT
Contributions are welcome! Please feel free to submit a Pull Request.

