### Run Textual Web Welcome Application Source: https://github.com/textualize/textual-web/blob/main/README.md Execute this command to start the default Textual Web welcome application. It will display links to example Textual apps and generate public URLs for them, accessible from a web browser. ```bash textual-web ``` -------------------------------- ### Install Textual Web using pipx Source: https://github.com/textualize/textual-web/blob/main/README.md This command installs the Textual Web application globally using pipx, making the `textual-web` command available on your system path. Pipx ensures the application is installed in an isolated environment. ```python pipx install textual-web ``` -------------------------------- ### Load Textual Web Configuration File Source: https://github.com/textualize/textual-web/blob/main/README.md This command starts Textual Web and loads the specified TOML configuration file (e.g., `serve.toml`). It enables serving multiple Textual applications or terminals as defined within the configuration. ```bash textual-web --config serve.toml ``` -------------------------------- ### Run Textual Web with Configuration File Source: https://github.com/textualize/textual-web/blob/main/README.md Demonstrates how to launch 'textual-web' using a specified configuration file, such as 'ganglion.toml'. This ensures that the URLs generated for your applications will be consistent and contain your account slug. ```bash textual-web --config ganglion.toml ``` -------------------------------- ### Create Textual Web Account Source: https://github.com/textualize/textual-web/blob/main/README.md Initiate the account creation process for Textual Web, which brings up a dialog in the terminal to gather user information and generates a 'ganglion.toml' file containing an API key for permanent URLs. ```bash textual-web --signup ``` -------------------------------- ### Configure Multiple Textual Apps via TOML Source: https://github.com/textualize/textual-web/blob/main/README.md This TOML snippet defines a configuration file to serve multiple Textual applications. Each `[app.]` section specifies an application, with `command` indicating the script to run for that app. ```toml [app.Calculator] command = "python calculator.py" [app.Dictionary] command = "python dictionary.py" ``` -------------------------------- ### Serve a Terminal with Textual Web Source: https://github.com/textualize/textual-web/blob/main/README.md Use this command to launch Textual Web and serve your current terminal session. It generates a random public URL, allowing you to access your terminal in a web browser. ```bash textual-web -t ``` -------------------------------- ### Configure Specific Command as Terminal in TOML Source: https://github.com/textualize/textual-web/blob/main/README.md This TOML snippet configures Textual Web to serve a specific command, such as `htop`, as a terminal. The `command` parameter within a `[terminal.]` section specifies the executable to run. ```toml [terminal.HTOP] command = "htop" ``` -------------------------------- ### Enable Debugging for Textual Web Applications Source: https://github.com/textualize/textual-web/blob/main/README.md Provides the command to enable verbose debug output for Textual Web applications by setting the 'DEBUG' environment variable. This can offer more visibility into the application's internal workings but may generate a large amount of output and potentially slow down performance. ```bash DEBUG=1 textual-web --config ganglion.toml ``` -------------------------------- ### Textual Web Account API Key Configuration Source: https://github.com/textualize/textual-web/blob/main/README.md Illustrates the structure of the 'ganglion.toml' configuration file, specifically highlighting the '[account]' section where the 'api_key' is stored. This key is essential for generating consistent, permanent URLs for your Textual Web applications. ```toml [account] api_key = "JSKK234LLNWEDSSD" ``` -------------------------------- ### Configure Default Terminal in TOML Source: https://github.com/textualize/textual-web/blob/main/README.md This TOML snippet adds a default terminal entry to the Textual Web configuration. When served, this entry will launch a terminal using your current shell. ```toml [terminal.Terminal] ``` -------------------------------- ### Configure Textual App Slug in TOML Source: https://github.com/textualize/textual-web/blob/main/README.md This TOML snippet demonstrates how to explicitly set a custom URL slug for a Textual application. The `slug` parameter within an `[app.]` section overrides the default slug derived from the app's name. ```toml [app.Calculator] command = "python calculator.py" slug = "calc" ``` === COMPLETE CONTENT === This response contains all available snippets from this library. No additional content exists. Do not make further requests.