From fbf7bcf61b1f158d0f8f4dbac666e674b88ac49e Mon Sep 17 00:00:00 2001 From: Zezik <1+zezik@noreply.localhost> Date: Sat, 12 Sep 2026 08:13:36 +0000 Subject: [PATCH] Aktualizovat zezidock.py --- zezidock.py | 35 ++++++++++++----------------------- 1 file changed, 12 insertions(+), 23 deletions(-) diff --git a/zezidock.py b/zezidock.py index 09d4ec1..c19bfab 100644 --- a/zezidock.py +++ b/zezidock.py @@ -63,30 +63,19 @@ def main(): uinput = input("Do you want to install some containers? [Y/N]: ") if uinput.lower() == "y": - print("Caddy is an open-source web server that automatically manages HTTPS with Let's Encrypt and makes it easy to configure sites using simple, human-friendly syntax.") - uinput = input("Do you want to install Caddy? [Y/N]: ") - if uinput.lower() == "y": - service_install('caddy') + services = { + 'caddy': "Caddy is an open-source web server that automatically manages HTTPS with Let's Encrypt and makes it easy to configure sites using simple, human-friendly syntax.", + 'dockhand': "Dockhand is a self-hosted web app to manage local and remote Docker containers and stacks, featuring real-time logs, terminal access, and automation.", + 'gitea': "Gitea is an open-source self-hosted Git service for hosting repositories, managing issues and pull requests, and providing web-based collaboration.", + 'nextcloud': "Nextcloud is an open-source self-hosted platform for syncing and sharing files with collaboration tools like calendars, contacts, and document editing.", + 'ytzero': "YT Zero - own rules, own algorithm, no login required. Every video from every channel you follow, and nothing else." + } - print("Dockhand is a self-hosted Docker management web app that lets you control containers and Compose stacks across local and remote hosts with features like real-time logs, terminal access, and automation.") - uinput = input("Do you want to install Dockhand? [Y/N]: ") - if uinput.lower() == "y": - service_install('dockhand') - - print("Gitea is an open-source self-hosted Git service for hosting repositories, managing issues and pull requests, and providing web-based collaboration.") - uinput = input("Do you want to install Gitea? [Y/N]: ") - if uinput.lower() == "y": - service_install('gitea') - - print("Nextcloud is an open-source self-hosted platform for syncing and sharing files with collaboration tools like calendars, contacts, and document editing.") - uinput = input("Do you want to install Nextcloud? [Y/N]: ") - if uinput.lower() == "y": - service_install('nextcloud') - - print("YT Zero - own rules, own algorithm, no login required. Every video from every channel you follow, and nothing else.") - uinput = input("Do you want to install YT Zero? [Y/N]: ") - if uinput.lower() == "y": - service_install('ytzero') + for service, description in services.items(): + print(description) + uinput = input(f"Do you want to install {service}? [Y/N]: ") + if uinput.lower() == "y": + service_install(service) else: sys.exit()