{"id":29258377,"url":"https://github.com/stackroost/stackroost-cli","last_synced_at":"2025-07-04T06:02:38.314Z","repository":{"id":297817136,"uuid":"997931958","full_name":"stackroost/stackroost-cli","owner":"stackroost","description":"A simple and powerful terminal-based tool to manage Linux web servers. Built in Go, it supports popular stacks like Apache, Nginx, and Caddy, with domain and user management features.","archived":false,"fork":false,"pushed_at":"2025-06-27T17:25:18.000Z","size":41,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-06-27T17:45:08.987Z","etag":null,"topics":["apache","caddy","cli","golang","linux","nginx"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/stackroost.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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}},"created_at":"2025-06-07T14:03:45.000Z","updated_at":"2025-06-27T17:25:22.000Z","dependencies_parsed_at":null,"dependency_job_id":"b5c3afed-7bf7-479d-800e-7ece50613c87","html_url":"https://github.com/stackroost/stackroost-cli","commit_stats":null,"previous_names":["stackroost/stackroost-cli"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/stackroost/stackroost-cli","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stackroost%2Fstackroost-cli","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stackroost%2Fstackroost-cli/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stackroost%2Fstackroost-cli/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stackroost%2Fstackroost-cli/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/stackroost","download_url":"https://codeload.github.com/stackroost/stackroost-cli/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stackroost%2Fstackroost-cli/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":263457166,"owners_count":23469285,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":["apache","caddy","cli","golang","linux","nginx"],"created_at":"2025-07-04T06:00:55.206Z","updated_at":"2025-07-04T06:02:38.305Z","avatar_url":"https://github.com/stackroost.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# StackRoost CLI\n\nStackRoost is a powerful command-line tool to manage Linux servers with ease. It supports domain configuration, user management, SSL setup, logs, monitoring, and more.\n\n## Version\n\nv1.0.0\n\n## Features\n\n### Domain Management\n- `create-domain` – Create a new domain config with Apache/Nginx/Caddy.\n- `backup-domain` – Backup public_html and MySQL DB.\n- `clone-domain` – Clone full domain configuration and data.\n- `list-domains` – List all active domains and statuses.\n- `monitor` – Interactive TUI to monitor all domains.\n- `remove-domain` – Remove domain, user, database, and config.\n- `restore-domain` – Restore from domain backup archive.\n- `status-domain` – Inspect domain config, SSL, and user.\n- `toggle-site` – Enable or disable a site's config.\n- `update-domain-port` – Update the domain port and reload the web server.\n\n### Email\n- `test-email` – Check if the server can send mail (mail/sendmail/msmtp).\n\n### Firewall\n- `enable-firewall` – Enable UFW and allow common/custom ports.\n- `disable-firewall` – Safely disable UFW.\n\n### Logs\n- `analyze-log-traffic` – Analyze access log traffic (IP, URL, requests).\n- `logs-domain` – View domain logs (access and error).\n- `purge-domain-logs` – Delete domain logs safely.\n\n### Security\n- `run-security-check` – Run a server hardening security check.\n- `secure-server` – Enable UFW, SSH restrictions, and config hardening.\n\n### Server Tools\n- `check-port` – Check if a domain's port is open.\n- `server-health` – View CPU, RAM, disk usage, uptime, web server status.\n- `inspect-config` – View web server config file.\n- `restart-server` – Restart Apache/Nginx/Caddy.\n- `schedule-restart` – Schedule a restart after delay.\n- `sync-time` – Sync time using systemd-timesyncd.\n\n### SSL Certificates\n- `enable` – Enable Let's Encrypt SSL for a domain.\n- `disable` – Remove SSL config and certs.\n- `renew` – Renew SSL certificates.\n- `expiry` – Check SSL expiry date.\n- `test` – Test domain SSL cert status.\n\n### User Management\n- `list-users` – List shell users (UID ≥ 1000).\n- `delete-user` – Delete a system user and their home directory.\n\n## Install\n\nClone and build manually:\n```bash\ngit clone https://github.com/stackroost/stackroost-cli.git\ncd stackroost-cli\ngo build -o stackroost main.go\n```\n\n## Usage\n\n```bash\n./stackroost --help\n./stackroost create-domain --name example.com --server nginx --shelluser --pass mypass --useridr --ssl\n./stackroost monitor\n```\n\n## License\n\nApache-2.0 license\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstackroost%2Fstackroost-cli","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fstackroost%2Fstackroost-cli","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstackroost%2Fstackroost-cli/lists"}