$npx skillfedfor your agent

textual-serve

Turn your Textual TUIs in to web applications

With conditionsPyPI WWW/HTTPReleased Nov 20251.4M downloads / moMITPure Python

Decision gist · record as of 2026-08-14

pure-Python wheel — textual_serve-1.1.3-py3-none-any.whl
v1.1.3 · released 2025-11-01 · Python >=3.9 · 5 runtime deps: aiohttp, aiohttp-jinja2, jinja2, rich, textual

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.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Requires Textual to be installed and a valid shell command that launches a Textual app; server runs on localhost:8000 by default.
  • Low friction—pure Python wheel with five runtime dependencies (aiohttp, aiohttp-jinja2, jinja2, rich, textual).
  • Maintenance status is aging; last commit was 2025-11-01 and the package is 286 days past its latest release, so expect slower response to issues.

License · maintenance · safety

MIT (permissive) — MIT license (permissive) means you can use, modify, and distribute this package freely in commercial and private projects with minimal restrictions.

last release 2025-11-01 (286 days) · last repo commit 2025-11-01 · 401 stars

0 known vulnerabilities (OSV.dev, 2026-08-14) · 1,362,501 downloads/mo, #4,001 on PyPI

Verify before relying

pip install textual-serve

from textual_serve.server import Server

server = Server("python -m textual")
server.serve()
  • Whether the WebSocket protocol overhead is acceptable for latency-sensitive terminal interactions.
  • Whether subprocess isolation scales well under concurrent browser connections.
  • Production deployment guidance and recommended proxy/load-balancing setup.
Same gist for agents: .md · .json

What it is and 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—users can only interact with the app as its author intended.

The 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.

Use it for

  • 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—three 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.

Worth the install?

AI-flagged interpretation of the facts on this page. Verify before relying on it.

With conditions

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.

Install

textual-serve on PyPI

Before you install

Low friction—pure Python wheel with five runtime dependencies (aiohttp, aiohttp-jinja2, jinja2, rich, textual). Maintenance status is aging; last commit was 2025-11-01 and the package is 286 days past its latest release, so expect slower response to issues.

Requires Textual to be installed and a valid shell command that launches a Textual app; server runs on localhost:8000 by default.

License in practice

MIT license (permissive) means you can use, modify, and distribute this package freely in commercial and private projects with minimal restrictions.

Quickstart

pip install textual-serve

from textual_serve.server import Server

server = Server("python -m textual")
server.serve()

Verify before relying

  • Whether the WebSocket protocol overhead is acceptable for latency-sensitive terminal interactions.
  • Whether subprocess isolation scales well under concurrent browser connections.
  • Production deployment guidance and recommended proxy/load-balancing setup.

Package facts

LicenseMIT permissive
Python supportSupports the current Python release >=3.9
Install frictionLow. Pure-Python wheel
Runtime dependencies
5 packages
aiohttpaiohttp-jinja2jinja2richtextual
MaintenanceAging 286 days since the last release
Last repo commit
First released
Downloads1,362,501 / month, #4,001 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14
Classifiers
License :: OSI Approved :: MIT LicenseProgramming Language :: Python :: 3Programming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.9

Evidence: textual_serve-1.1.3-py3-none-any.whl

Tags

Capabilities
textual app to web browserterminal ui in browsertui web servertextual web applicationrun terminal app online
Topics
tui-to-webtextual-ecosystembrowser-terminal

Let your AI agent find packages like this

Example. Real query, live index.

You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.

wish › “textual app to web browser”

Give your agent the search over MCP, or paste the wish link into any chat.

More WWW/HTTP packages

urllib3 Worth it
PyPI · Libraries · released May 2026

urllib3 is an HTTP client library that provides thread-safe connection pooling, SSL/TLS verification, multipart file uploads, request retries, compression support, and proxy handling for Python applications.

MITpure Python · 3.10+
1.8Bdownloads / mo
requests Worth it
PyPI · Libraries · released May 2026

Requests is a Python HTTP library that simplifies sending HTTP/1.1 requests with automatic handling of headers, authentication, cookies, and response parsing.

Apache-2.0pure Python · 3.10+
1.8Bdownloads / mo
h11 With conditions
PyPI · WWW/HTTP · released Apr 2025

h11 is a pure-Python HTTP/1.1 protocol implementation that handles parsing and serializing HTTP messages without any built-in I/O, letting you integrate it with any network layer you choose.

MITpure Python · 3.8+aging
894.9Mdownloads / mo
httpx Worth it
PyPI · WWW/HTTP · released Dec 2024

HTTPX is a fully featured HTTP client library for Python that provides both sync and async APIs, with support for HTTP/1.1 and HTTP/2, plus an integrated command-line client.

Install it if you are building new projects or modernizing existing ones that rely on HTTP.

BSD-3-Clausepure Python · 3.8+
797.0Mdownloads / mo
httpcore With conditions
PyPI · WWW/HTTP · released Apr 2025

A minimal low-level HTTP client library that sends HTTP requests with thread-safe and task-safe connection pooling, supporting HTTP/1.1, HTTP/2, proxies, and both sync and async interfaces.

BSD-3-Clausepure Python · 3.8+aging
783.6Mdownloads / mo
aiohttp Worth it
PyPI · WWW/HTTP · released Jul 2026

aiohttp is an async HTTP client and server framework built on asyncio, supporting both WebSockets and middleware-based routing for building concurrent web applications.

Install it if you need async HTTP client or server capabilities in asyncio-based applications.

permissive licensecompiled wheel · 3.10+
643.6Mdownloads / mo

See also textual · textual-dev · trogon · textual-image · textual-plotext · textual-autocomplete · rich · pytest-textual-snapshot · terminado · status