From dac508d06e25529e115e3769c66199aa5308a5b0 Mon Sep 17 00:00:00 2001 From: Micah Lee Date: Sun, 25 Apr 2021 19:23:10 -0400 Subject: Prettier ASCII art --- cli/onionshare_cli/__init__.py | 78 ++++++++++++++++-------------------------- cli/onionshare_cli/common.py | 3 ++ 2 files changed, 33 insertions(+), 48 deletions(-) diff --git a/cli/onionshare_cli/__init__.py b/cli/onionshare_cli/__init__.py index 42ec9673..79c149f9 100644 --- a/cli/onionshare_cli/__init__.py +++ b/cli/onionshare_cli/__init__.py @@ -46,54 +46,36 @@ def main(cwd=None): # Display OnionShare banner print(f"OnionShare {common.version} | https://onionshare.org/") - reset = "\033[0m" - purple = "\33[95m" - print(purple) - print(" @@@@@@@@@ ") - print(" @@@@@@@@@@@@@@@@@@@ ") - print(" @@@@@@@@@@@@@@@@@@@@@@@@@ ") - print(" @@@@@@@@@@@@@@@@@@@@@@@@@@@@@ ") - print( - " @@@@@@@@@@@@@@@@@@@@@@@@@@@@@ ___ _ " - ) - print( - " @@@@@@ @@@@@@@@@@@@@ / _ \\ (_) " - ) - print( - " @@@@ @ @@@@@@@@@@@ | | | |_ __ _ ___ _ __ " - ) - print( - " @@@@@@@@ @@@@@@@@@@ | | | | '_ \\| |/ _ \\| '_ \\ " - ) - print( - " @@@@@@@@@@@@ @@@@@@@@@@ \\ \\_/ / | | | | (_) | | | | " - ) - print( - " @@@@@@@@@@@@@@@@ @@@@@@@@@ \\___/|_| |_|_|\\___/|_| |_| " - ) - print( - " @@@@@@@@@ @@@@@@@@@@@@@@@@ _____ _ " - ) - print( - " @@@@@@@@@@ @@@@@@@@@@@@ / ___| | " - ) - print( - " @@@@@@@@@@ @@@@@@@@ \\ `--.| |__ __ _ _ __ ___ " - ) - print( - " @@@@@@@@@@@ @ @@@@ `--. \\ '_ \\ / _` | '__/ _ \\" - ) - print( - " @@@@@@@@@@@@@ @@@@@@ /\\__/ / | | | (_| | | | __/" - ) - print( - " @@@@@@@@@@@@@@@@@@@@@@@@@@@@@ \\____/|_| |_|\\__,_|_| \\___|" - ) - print(" @@@@@@@@@@@@@@@@@@@@@@@@@@@@@ ") - print(" @@@@@@@@@@@@@@@@@@@@@@@@@ ") - print(" @@@@@@@@@@@@@@@@@@@ ") - print(" @@@@@@@@@ ") - print(reset) + print(common.C_DARKPURPLE) + print(" ▄▄█████████▄▄ ") + print(" ▄███████████████████▄ ") + print(" ▄█████████████████████████▄ ") + print(" █████████████████████████████ ") + print(" ▀████████████████████████████▄ ") + print(" ▄▄ ▀██████▀▀▀ ▀▀▀█████████████ ") + print(" ▄████▄ ▀█▀ ▀███████████ ") + print(" ▄████████▄ ██████████ ") + print(" ▄████████████▄ ██████████ ") + print(" ▄████████████████▄ █████████ ") + print(" █████████ ▀████████████████▀ ") + print(" ██████████ ▀████████████▀ ") + print(" ██████████ ▀████████▀ ") + print(" ███████████▄ ▄█▄ ▀████▀ ") + print(" █████████████▄▄▄ ▄▄▄██████▄ ▀▀ ") + print(" █████████████████████████████▄ ") + print(" ▀█████████████████████████████ ") + print(" ▀█████████████████████████ ") + print(" ▀███████████████████ ") + print(" ▀▀█████████▀▀ ") + print("") + print(common.C_LIGHTPURPLE) + print(" ▄██▄ ███ █ ") + print(" █ █ █▀ █ ") + print(" █ █ ▀ █▄▄ █ ") + print(" █ █ █▄█▄ █ ▄██▄ █▄█▄ ▀▀█ █▄█▄ ▄██▄ █▄█▄ ▄██▄ ") + print(" █ █ █▀ █ █ █ █ █▀ █ ▄█ █▀ █ █ █ █▀ █▄▄▀ ") + print(" ▀██▀ █ █ █ ▀██▀ █ █ ███ █ █ ▀█▀█ █ ▀▄▄▄ ") + print(common.C_RESET) # OnionShare CLI in OSX needs to change current working directory (#132) if common.platform == "Darwin": diff --git a/cli/onionshare_cli/common.py b/cli/onionshare_cli/common.py index e812aa98..b317b33f 100644 --- a/cli/onionshare_cli/common.py +++ b/cli/onionshare_cli/common.py @@ -44,8 +44,11 @@ class Common: """ C_RESET = "\033[0m" + C_BOLD = "\033[01m" C_LIGHTGRAY = "\033[37m" C_DARKGRAY = "\033[90m" + C_LIGHTPURPLE = "\033[95m" + C_DARKPURPLE = "\033[35m" def __init__(self, verbose=False): self.verbose = verbose -- cgit v1.2.3-54-g00ecf