{"categories":[{"label":"WWW/HTTP","url":"https://skillfed.io/packages/category/internet-www-http/3"}],"enrichment":{"capability":"Runs any Textual terminal application in a web browser by wrapping it in a lightweight HTTP server that communicates with the app via WebSocket.","skillfed_tags":["tui-to-web","textual-ecosystem","browser-terminal"],"use_cases":["Share a terminal-based tool (e.g., a log viewer or system monitor) with team members via a web link without requiring terminal access.","Add a web UI to an existing Textual application with minimal code changes\u2014three lines to wrap and serve.","Run a Textual app in an environment where SSH or terminal access is blocked or impractical.","Prototype or demo a TUI to users who are unfamiliar with terminal interfaces.","Serve multiple instances of the same Textual app across CPU cores for concurrent users."],"what_it_does":"textual-serve bridges terminal user interfaces (TUIs) built with Textual into web browsers. Instead of running a Textual app only in a terminal, you wrap it in a Server instance and call serve() to launch an HTTP server that spawns the app in a subprocess and streams its UI to the browser via WebSocket. The communication uses a custom protocol designed to prevent arbitrary shell access\u2014users can only interact with the app as its author intended.\n\nThe package is built on aiohttp for the web server, jinja2 for HTML templating, and rich for terminal rendering. It supports configuration of host, port, title, and paths to static assets and templates. Multiple instances can run across available CPUs. This is useful for sharing terminal tools with non-terminal users, adding a web interface to existing CLI applications, or running TUIs in restricted environments where terminal access is unavailable.","worth_installing":"Yes, if you have a Textual application and want to expose it to web users with minimal code. The low install friction, permissive license, and straightforward API make it a practical choice. However, be aware the project is aging (286 days since last release) and maintenance may be slower; evaluate whether the WebSocket latency and subprocess overhead are acceptable for your use case before deploying to production."},"id":"textual-serve","links":{"html":"https://skillfed.io/packages/textual-serve","md":"https://skillfed.io/packages/textual-serve.md","pypi":"https://pypi.org/project/textual-serve/"},"maintenance":{"status":"aging"},"meta":{"latest_release":"2025-11-01","license_spdx":null,"license_treatment":"permissive","name":"textual-serve","python_support":"supports_current","summary":"Turn your Textual TUIs in to web applications"},"popularity":{"monthly_downloads":1362501,"position":4001,"tier":"top_5000"},"security":{"n_vulnerabilities":0},"version":"1.1.3"}
