{"id":41427578,"url":"https://github.com/giacomomasseron/lazynginx","last_synced_at":"2026-01-23T14:19:12.621Z","repository":{"id":331593412,"uuid":"1127609391","full_name":"giacomomasseron/lazynginx","owner":"giacomomasseron","description":"Simple terminal UI for nginx management","archived":false,"fork":false,"pushed_at":"2026-01-10T08:42:09.000Z","size":45,"stargazers_count":1,"open_issues_count":1,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-01-11T02:31:32.123Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/giacomomasseron.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2026-01-04T08:32:48.000Z","updated_at":"2026-01-10T08:40:27.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/giacomomasseron/lazynginx","commit_stats":null,"previous_names":["giacomomasseron/lazynginx"],"tags_count":null,"template":false,"template_full_name":null,"purl":"pkg:github/giacomomasseron/lazynginx","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/giacomomasseron%2Flazynginx","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/giacomomasseron%2Flazynginx/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/giacomomasseron%2Flazynginx/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/giacomomasseron%2Flazynginx/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/giacomomasseron","download_url":"https://codeload.github.com/giacomomasseron/lazynginx/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/giacomomasseron%2Flazynginx/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28693843,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-23T14:15:13.573Z","status":"ssl_error","status_checked_at":"2026-01-23T14:09:05.534Z","response_time":59,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2026-01-23T14:19:12.117Z","updated_at":"2026-01-23T14:19:12.606Z","avatar_url":"https://github.com/giacomomasseron.png","language":"Go","funding_links":[],"categories":["Table of Contents"],"sub_categories":[],"readme":"# LazyNginx 🚀\r\n\r\nA beautiful terminal-based Nginx manager built with Go and [Bubble Tea](https://github.com/charmbracelet/bubbletea).\r\n\r\n## Features\r\n\r\n- ✅ Check Nginx status\r\n- 🚀 Start/Stop/Restart Nginx\r\n- 🔄 Reload configuration\r\n- ✅ Test configuration\r\n- 📄 View configuration file\r\n- 📊 View error logs\r\n- 📈 View access logs\r\n- 🎨 Beautiful terminal UI\r\n\r\n## Installation\r\n\r\n### Prerequisites\r\n\r\n- Go 1.21 or later\r\n- Nginx installed on your system\r\n\r\n### Build from Source\r\n\r\n```bash\r\ngit clone \u003crepository-url\u003e\r\ncd lazynginx\r\ngo mod download\r\ngo build -o lazynginx\r\n```\r\n\r\n### Run\r\n\r\n```bash\r\n./lazynginx\r\n```\r\n\r\nOr on Windows:\r\n```bash\r\nlazynginx.exe\r\n```\r\n\r\n## Usage\r\n\r\n### Navigation\r\n\r\n- `↑` / `↓` or `k` / `j`: Navigate menu\r\n- `Enter`: Select option\r\n- `q` or `Ctrl+C`: Quit application\r\n\r\n### Available Commands\r\n\r\n1. **Check Status** - Check if Nginx is running\r\n2. **Start Nginx** - Start the Nginx service\r\n3. **Stop Nginx** - Stop the Nginx service\r\n4. **Restart Nginx** - Restart the Nginx service\r\n5. **Reload Configuration** - Reload Nginx configuration without downtime\r\n6. **Test Configuration** - Test Nginx configuration for syntax errors\r\n7. **View Configuration** - Display Nginx configuration file\r\n8. **View Error Logs** - Show last 50 lines of error log\r\n9. **View Access Logs** - Show last 50 lines of access log\r\n10. **Quit** - Exit the application\r\n\r\n## Platform Support\r\n\r\nThe application automatically detects your platform and uses the appropriate commands:\r\n\r\n- **Linux**: Uses `systemctl` when available, falls back to direct `nginx` commands\r\n- **Windows**: Uses `net start/stop` commands\r\n- **macOS/Unix**: Uses direct `nginx` commands\r\n\r\n## Permissions\r\n\r\nSome operations (start, stop, restart, reload) may require administrator/sudo privileges depending on your system configuration.\r\n\r\n### Linux/macOS\r\n```bash\r\nsudo ./lazynginx\r\n```\r\n\r\n### Windows\r\nRun as Administrator\r\n\r\n## Configuration\r\n\r\nThe application automatically searches for Nginx in common locations:\r\n\r\n- `/etc/nginx/nginx.conf` (Linux)\r\n- `C:\\nginx\\conf\\nginx.conf` (Windows)\r\n- `/usr/local/nginx/conf/nginx.conf` (macOS/Unix)\r\n\r\n## Logs\r\n\r\nThe application looks for logs in:\r\n\r\n- `/var/log/nginx/` (Linux)\r\n- `C:\\nginx\\logs\\` (Windows)\r\n- `/usr/local/nginx/logs/` (macOS/Unix)\r\n\r\n## License\r\n\r\nMIT\r\n\r\n## Contributing\r\n\r\nContributions are welcome! Please feel free to submit a Pull Request.\r\n\r\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgiacomomasseron%2Flazynginx","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgiacomomasseron%2Flazynginx","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgiacomomasseron%2Flazynginx/lists"}