{"id":26293557,"url":"https://github.com/xixu-me/x-webui","last_synced_at":"2025-09-14T23:25:13.153Z","repository":{"id":271767872,"uuid":"914416371","full_name":"xixu-me/X-WebUI","owner":"xixu-me","description":"A comprehensive setup script for deploying a secure server environment with Nginx, Docker, X, and Open WebUI","archived":false,"fork":false,"pushed_at":"2025-03-09T10:45:52.000Z","size":33,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-15T02:19:44.011Z","etag":null,"topics":["automation","deployment","oneclick","openwebui","script","server"],"latest_commit_sha":null,"homepage":"","language":"Shell","has_issues":false,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/xixu-me.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}},"created_at":"2025-01-09T14:57:10.000Z","updated_at":"2025-03-13T02:23:16.000Z","dependencies_parsed_at":"2025-01-09T19:34:19.771Z","dependency_job_id":"3e29f5d3-d2b1-49d7-bb3e-513344d47efa","html_url":"https://github.com/xixu-me/X-WebUI","commit_stats":null,"previous_names":["xixu-me/awsds","xixu-me/x-webui"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/xixu-me/X-WebUI","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xixu-me%2FX-WebUI","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xixu-me%2FX-WebUI/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xixu-me%2FX-WebUI/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xixu-me%2FX-WebUI/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/xixu-me","download_url":"https://codeload.github.com/xixu-me/X-WebUI/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xixu-me%2FX-WebUI/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":259470938,"owners_count":22862995,"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":["automation","deployment","oneclick","openwebui","script","server"],"created_at":"2025-03-15T02:19:45.969Z","updated_at":"2025-06-12T13:06:19.106Z","avatar_url":"https://github.com/xixu-me.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# X-WebUI\n\nA comprehensive setup script for deploying a secure server environment with Nginx, Docker, X, and Open WebUI.\n\n## Overview\n\nThis repository contains a bash script that automates the setup of a complete server environment on a Debian system. The script sets up:\n\n- Nginx web server\n- SSL/TLS certificates via acme.sh\n- Docker and Docker Compose\n- Open WebUI (running in Docker)\n- X proxy server with secure configuration\n- Automatic certificate renewal\n\n## Requirements\n\n- Debian 10+ 64-bit system\n- Sudo privileges\n- Domain name pointing to your server\n- Inbound traffic on TCP ports 80 and 443 from 0.0.0.0/0 allowed\n\n## Usage\n\nLog in as a non-root user and update your system:\n\n```bash\nsudo apt update \u0026\u0026 sudo apt upgrade -y\n```\n\nRun the script:\n\n```bash\ncurl -L https://github.com/xixu-me/X-WebUI/raw/main/setup.sh | bash -s \u003cusername\u003e \u003cdomain\u003e \u003cid\u003e\n```\n\nReplace the following:\n\n- `\u003cusername\u003e`: Your login username\n- `\u003cdomain\u003e`: Your domain name (must be pointed to this server)\n- `\u003cid\u003e`: A unique ID for the X configuration\n\nIf you encounter the following error:\n\n```bash\nbash: curl: command not found\n```\n\nPlease install `curl` and `bash` first:\n\n```bash\nsudo apt update \u0026\u0026 sudo apt install -y curl bash\n```\n\n## Features\n\n### Web Server\n\n- Configures Nginx\n- Sets up automatic HTTPS redirection\n- Implements proper security headers\n\n### SSL/TLS Certificates\n\n- Automatically obtains and configures Let's Encrypt certificates\n- Sets up automatic renewal via cron job\n\n### Docker Environment\n\n- Installs Docker and Docker Compose\n- Configures Open WebUI in a Docker container\n- Sets up proper restart policies\n\n### Proxy Configuration\n\n- Installs and configures X\n- Implements secure TLS settings\n- Configures proper routing rules\n\n## Security Considerations\n\nThis script implements several security best practices:\n\n- Uses TLS 1.2+ for all connections\n- Implements proper certificate handling\n- Configures firewall rules to block unwanted traffic\n- Sets up proper user permissions\n\n## Disclaimer\n\n1. This repository is strictly for educational and research purposes.\n2. Use at your own risk. The repository assumes no responsibility for potential issues.\n3. No guarantee of accuracy, completeness, or reliability.\n4. Not liable for data loss or damages.\n5. Ensure compliance with relevant licenses and legal regulations.\n6. No endorsement of third-party hardware/software.\n7. User modifications are their own responsibility.\n8. Terms may change at any time. By using this repository, you agree to these terms.\n\n## License\n\nCopyright \u0026copy; [Xi Xu](https://xi-xu.me). All rights reserved.\n\nLicensed under the [GPL-3.0](LICENSE) license.  \n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fxixu-me%2Fx-webui","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fxixu-me%2Fx-webui","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fxixu-me%2Fx-webui/lists"}