{"id":18734370,"url":"https://github.com/uixss/autoweb","last_synced_at":"2025-11-15T01:30:15.011Z","repository":{"id":258823743,"uuid":"875752513","full_name":"uixss/AutoWEB","owner":"uixss","description":"automates the setup and configuration of a VPS for web services.","archived":false,"fork":false,"pushed_at":"2024-11-01T20:44:29.000Z","size":9,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-12-28T16:19:43.597Z","etag":null,"topics":["apache","certbot","hosting","python","ssl","vps","web","website"],"latest_commit_sha":null,"homepage":"","language":"Python","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/uixss.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}},"created_at":"2024-10-20T18:48:55.000Z","updated_at":"2024-11-03T09:32:07.000Z","dependencies_parsed_at":"2024-12-31T15:34:28.531Z","dependency_job_id":null,"html_url":"https://github.com/uixss/AutoWEB","commit_stats":null,"previous_names":["uixss/autoweb"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/uixss%2FAutoWEB","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/uixss%2FAutoWEB/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/uixss%2FAutoWEB/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/uixss%2FAutoWEB/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/uixss","download_url":"https://codeload.github.com/uixss/AutoWEB/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239605754,"owners_count":19667112,"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","certbot","hosting","python","ssl","vps","web","website"],"created_at":"2024-11-07T15:13:08.098Z","updated_at":"2025-11-15T01:30:14.957Z","avatar_url":"https://github.com/uixss.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# 🎫 Coding Services SEND DM 🎫\n\n# VPS Setup Automation Script 🚀\n\nThis Python script automates the setup and configuration of a VPS for web services. It uses `paramiko` for SSH connection, `colorama` for terminal customization, and `pyfiglet` for text banner rendering. It enables the installation of Apache, PHP, Certbot, and the option to upload a `.zip` file to configure a website.\n\n## Features ✨\n\n- Connect to a VPS via SSH 🔒\n- Automatically detect the operating system of the VPS (Debian/Ubuntu or RedHat/CentOS) 🖥️\n- Automatically install Apache, PHP, and Certbot ⚙️\n- Option to upload and extract a `.zip` file on the server 📁\n- Configure SSL certificates with Certbot and Apache 🔐\n- Customizable terminal banners for aesthetics 🎨\n\n## Requirements 📋\n\n- Python 3.x 🐍\n- Python libraries:\n  - `paramiko` 🔑\n  - `colorama` 🎨\n  - `pyfiglet` 🖼️\n\nInstall them using `pip`:\n\n```bash\npip install paramiko colorama pyfiglet\n```\n\n## Usage 🛠️\n\n```python\nvps_ip = \"109.x.218\"  # VPS IP address\nvps_user = \"\"         # VPS username\nvps_pass = \"\"         # VPS password\n\nemailmain = \"\"        # Email for Certbot 📧\ndomain = \".ru\"        # Domain for SSL certificate 🌐\n\ninstall_apache = True          # Install Apache (True or False) 🏗️\ninstall_php = True             # Install PHP (True or False) 💻\ninstall_certbot = True         # Install Certbot (True or False) 🔐\nconfigure_certbot = False      # Auto configure Certbot (True or False) 🤖\nupload_zip = False             # Upload a ZIP file (True or False) 📦\nzip_file = \"C:/a.zip\"          # Local path of the ZIP file to upload 🗂️\n```\n\n### Execution ▶️\n\nTo run the script, execute the following command in the terminal:\n\n```bash\npython script_name.py\n```\n\nThe script will automatically perform the following steps:\n1. Connect to the VPS via SSH 🔌\n2. Detect the VPS operating system 🖥️\n3. Install Apache, PHP, and Certbot based on the configuration ⚙️\n4. Upload a `.zip` file and extract it into the `/var/www/html/main` directory (if enabled) 📂\n5. Configure Apache to use Certbot and enable SSL 🔐\n\n### Installation Options ⚙️\n\n- `install_apache`: Installs Apache on the VPS 🏗️\n- `install_php`: Installs PHP and configures it with Apache 💻\n- `install_certbot`: Installs Certbot for SSL certificate management 🔐\n- `configure_certbot`: Automatically configures Certbot with the specified domain 🌐\n- `upload_zip`: Upload and extract a `.zip` file on the server 📦\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fuixss%2Fautoweb","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fuixss%2Fautoweb","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fuixss%2Fautoweb/lists"}